Skip to content

Conversation

jdabtieu
Copy link

Problem statement

For some workflows using RabbitMQ, performance gains can be realized by first compressing messages, sending them, and then decompressing the messages. In testing, it was shown that the amount of time between a message being sent and the publisher ack being received can decrease by up to 40%, with the performance gain being greater the more compressible and larger the message is.

Proposed changes

Message transformers are added to allow for modifications to messages during the producer's send and consumer's handle functions. Compression (using zstd as the underlying compression algorithm) is added as one such transformer.

Remaining work

  • Unit Tests
  • Integration Tests
  • Documentation

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

Successfully merging this pull request may close these issues.

1 participant