API rate limit

I’ve been using server slave with replication for a number of years. The reason for its use is to bypass API call rate limitation when using my homebrew scripts.

Scripts are relatively mature and I do sign them as advised on development pages.

My hardware for a slave server is getting insufficient and I find docker tech increasingly challenging, for example I was able to set custom cron replication, now I can’t, have issues with indexing, live indexing does not work for me etc. etc. Would like to get away from a slave server.

Since my only use case is the API rate limit, is there a way, a process, where I can ask to be exempted from that limitation? Beets is , so is Picard. My scripts are not in the same league, at the same time there is enough history to show that they do not harm.

Is there a way ?

Welcome to the club of devs waiting for the ratelimits…

I’m not sure where it is, but I had seen someone wanting to make a caching proxy for Musicbrainz. This may interest you?
Personally I’ve been developing a copy of MB’s DB in SQLite with rust bindings, but a lot is missing still.

Oh and BTW, 5 req per 5sec is also a valid rate limit. Maybe some burst requests can help?

Do you mean that sending 5 requests within a 5-second window is currently allowed (even if all the requests are sent within the first second), or just that it would be nice if bursting were allowed?

I don’t see any mention of bursting at MusicBrainz API / Rate Limiting - MusicBrainz, and MusicBrainz API - MusicBrainz Wiki seems to explicitly say that sending more than one call within a second isn’t allowed:

All users of the API must ensure that each of their client applications never make more than ONE call per second.

(I’m curious about this since being able to burst up to X requests within an X-second window would help with the responsiveness of seeding apps.)

I mean that it does work.

I did ask on IRC to confirm it, and I was given a green light. I even set it as default for musicbrainz_rs… And Kelnerd uses the same limit for Harmony

And the docs still confirm it. I still do 1req per sec on average : P

1 Like