Open mikestaub opened 5 years ago
Throttling is worse than an immediate and loud error in almost all cases beside automated flows (eg. data imports, auto-follow, data sync). For critical paths like reading users' feeds (or anything transactional), throttling does not help. Apps on Stream can request rate limit to be increased by reaching out to support@getstream.io
What's your use-case for using Stream?
My use case is a standard social networking app. I am hitting throttling errors during my integration tests.
The rate limits are described here. Why not create an option that will automatically throttle the internal calls to those functions instead of having all consumers of this library wrap them manually?
https://getstream.io/docs/js/#rate-limiting