Add NOTES

main
mat ess 2023-04-28 03:15:15 -04:00
parent a91044c0a9
commit f2fce4b5e9
1 changed files with 13 additions and 0 deletions

13
NOTES.md Normal file
View File

@ -0,0 +1,13 @@
# working notes
- constructing artist catalogs from musiscbrainz api calls may be prohibitive
- musicbrainz requests that a single source IP not make more than 1 QPS
- going from artist name -> artist ID -> artist catalog requires making a linearly scaling number of requests with catalog size (some 20 requests for Taylor Swift, potentially) due to pagination
- alternatives to musicbrainz api
- another api, like apple music
- expensive
- aggressive local caching with redis
- still incurs startup cost to warm up cache
- use a local copy of the musicbrainz database
- manage postgres instance? copy data into sqlite?