From f2fce4b5e999771e164189ee4270684ee22dd50a Mon Sep 17 00:00:00 2001 From: mat ess Date: Fri, 28 Apr 2023 03:15:15 -0400 Subject: [PATCH] Add NOTES --- NOTES.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 NOTES.md diff --git a/NOTES.md b/NOTES.md new file mode 100644 index 0000000..b7dc5c1 --- /dev/null +++ b/NOTES.md @@ -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?