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

GenMqtt adds latency to pipeline execution #1311

Open
kevsmith opened this issue Jan 18, 2017 · 0 comments
Open

GenMqtt adds latency to pipeline execution #1311

kevsmith opened this issue Jan 18, 2017 · 0 comments
Assignees
Labels

Comments

@kevsmith
Copy link
Member

Carrier.Messaging.GenMqtt was first introduced when we reworked the chat provider API in summer 2016. The goal was to provide a GenServer style API on top of basic MQTT queue usage. Cog.Chat.Adapter was ported to use GenMqtt to prove the design.

Since then GenMqtt hasn't been used in any other places. Furthermore, using the message bus for RPC messages is much slower compared to Erlang messaging. The slowness shows up as latency in the command execution path since Cog.Chat.Adapter provides a key service.

Based on some exploratory prototyping moving Adapter back to a traditional GenServer should perceptibly reduce pipeline execution times without impacting any existing functionality.

@kevsmith kevsmith added the bug label Jan 18, 2017
@kevsmith kevsmith added this to the Cog 1.0 milestone Jan 18, 2017
@kevsmith kevsmith self-assigned this Jan 18, 2017
@kevsmith kevsmith removed this from the Cog 1.0 milestone Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant