Discord4J / connect

Distributed bot tools for Discord4J
https://discord4j.com
GNU Lesser General Public License v3.0
14 stars 4 forks source link

Improve RabbitMQ Implementation #8

Open ByteAlex opened 4 years ago

ByteAlex commented 4 years ago

The current RabbitMQ implementation has a few flaws.

  1. Add channel pooling: Currently for each call to RabbitMQ#send* methods a new channel is created
  2. Connection Pooling (?) - What's the behaviour for the underlying connections of the channels?
  3. Push messages to exchanges and not directly to the queues and let RabbitMQ do it's work
  4. Add incremental backoff on error in the pipeline for send/receive