Skip to content

Throttle bulk deletes to ~3000 keys per second - #619

Closed
ian-r-rose wants to merge 2 commits into
fsspec:mainfrom
ian-r-rose:throttle-bulk-delete
Closed

ian-r-rose wants to merge 2 commits into
fsspec:mainfrom
ian-r-rose:throttle-bulk-delete

Conversation

@ian-r-rose

Copy link
Copy Markdown
Contributor

Possible fix for #484

I wrote this up not knowing about asyn._run_coro_in_chunks(), but I'm not sure if that function can do exactly what I want here.
In particular, I want each chunk of coroutines to take at least a certain amount of time to satisfy rate limits. Unfortunately, it seems that the rate limits are per-key rather than per-request (at least, that's my current thinking).

@ian-r-rose

Copy link
Copy Markdown
Contributor Author

Closing in favor of #620

@ian-r-rose ian-r-rose closed this May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant