Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Throttle / Buffer Messages #24

Open
symentis-info opened this issue May 20, 2020 · 0 comments
Open

Throttle / Buffer Messages #24

symentis-info opened this issue May 20, 2020 · 0 comments

Comments

@symentis-info
Copy link

symentis-info commented May 20, 2020

Slack allows only 1 msg. per second per channel (Rate-Limits).

The Appender should buffer messages and send them by a max rate of 1 per second.
If the buffer grows over a defined limit, it may discard messages until the buffer size is below the threshold.

Slack sends HTTP status 429 when rate-limiting occurs. This includes a time when the next call can be made. This should also been taken into account.

There is a risk to get permanently banned. "Continuing to send messages after exceeding a rate limit runs the risk of your app being permanently disabled."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant