You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to request a feature that allows setting a limit on the number of concurrent HTTP requests in Dio. This would be useful for managing server load and complying with API rate limits.
Proposed Solution: Implement a configurable setting in the Dio package to control the number of simultaneous requests that can be made, possibly through a queue mechanism that holds excess requests until previous ones have completed.
Rationale: This feature would help prevent overloading servers and improve app performance by avoiding hitting rate limits set by external APIs.
Looking forward to your thoughts on this.
Best regards,
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered:
You can implementing this by a counter lock (or a mutex) + the interceptor. Every request requires a lock and each lock will be released when the request is done or error.
Request Statement
Hi Dio Team,
I'd like to request a feature that allows setting a limit on the number of concurrent HTTP requests in Dio. This would be useful for managing server load and complying with API rate limits.
Proposed Solution: Implement a configurable setting in the Dio package to control the number of simultaneous requests that can be made, possibly through a queue mechanism that holds excess requests until previous ones have completed.
Rationale: This feature would help prevent overloading servers and improve app performance by avoiding hitting rate limits set by external APIs.
Looking forward to your thoughts on this.
Best regards,
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: