Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply snappy compression to all message bus traffic #874

Closed
kevsmith opened this issue Jul 25, 2016 · 0 comments
Closed

Apply snappy compression to all message bus traffic #874

kevsmith opened this issue Jul 25, 2016 · 0 comments
Assignees

Comments

@kevsmith
Copy link
Member

Use Elixir and Go snappy implementations to transparently compress and decompress all message bus traffic.

Cog

  • lib/carrier/messaging/connection.ex is where we should add compression since all messages are published by calls into this code.
  • Implementing decompression is a bit trickier as Cog components rely on receiving MQTT messages as Erlang messages. As a start we can fix up the few places where we're matching on {:publish, ...} to handle compressed payloads.

Relay

  • We can handle transparent compression and decompression in relay/bus/mqtt.go.
@kevsmith kevsmith added this to the Q3 2016 Roadmap milestone Jul 25, 2016
@kevsmith kevsmith mentioned this issue Jul 25, 2016
2 tasks
@kevsmith kevsmith modified the milestones: 2H 2016 Roadmap, 1H 2017 Roadmap Nov 9, 2016
@kevsmith kevsmith modified the milestones: 1H 2017 Roadmap, Cog 0.18 Dec 9, 2016
@vanstee vanstee self-assigned this Jan 6, 2017
@vanstee vanstee added the review label Jan 9, 2017
@vanstee vanstee removed the review label Jan 9, 2017
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

No branches or pull requests

2 participants