mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-22 12:01:52 -07:00
Add bulk import optimization: track_lookup cache, batch inserts, BulkSubmitter
This commit is contained in:
parent
0ec7b458cc
commit
ae373a7090
21 changed files with 1296 additions and 125 deletions
|
|
@ -160,3 +160,22 @@ type GetInterestOpts struct {
|
|||
ArtistID int32
|
||||
TrackID int32
|
||||
}
|
||||
|
||||
type TrackLookupResult struct {
|
||||
ArtistID int32
|
||||
AlbumID int32
|
||||
TrackID int32
|
||||
}
|
||||
|
||||
type SaveTrackLookupOpts struct {
|
||||
Key string
|
||||
ArtistID int32
|
||||
AlbumID int32
|
||||
TrackID int32
|
||||
}
|
||||
|
||||
type InvalidateTrackLookupOpts struct {
|
||||
ArtistID int32
|
||||
AlbumID int32
|
||||
TrackID int32
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue