ChatThrottleLib is a small, embeddable library that keeps outbound chat and addon communication from exceeding the output rate limit in WoW that otherwise causes players to disconnect from the server.
Short feature list:
You can easily prioritize your traffic in three priorities
Communication to different peers is handled as individual flows. A long data stream to "Alice" doesn't interrupt short bursts of traffic to "Bob".
All AddOns using ChatThrottleLib use the same queues, so multiple addons can't cause an overload. Priorities ensure that real-time traffic is still real-time.
I really do recommend this for anyone that needs to limit their addon's output. While limiting on your own "works", there's the inevitable problem of multiple addons still ending up generating enough traffic to kick the player off. This library avoids the problem entirely, while giving you plenty of benefits on top.
It's small enough that it won't really impact your addon's size, and doesn't complicate matters for your end users since it's embedded inside your addon.
ChatThrottleLib will also STAY small. If you need more than rate management and prioritization, get a full comms library. Some of them even use ChatThrottleLib at the bottom!