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

Performance degrades when sending 100s of websocket messages #112

Open
vmakwana opened this issue Jul 21, 2015 · 0 comments
Open

Performance degrades when sending 100s of websocket messages #112

vmakwana opened this issue Jul 21, 2015 · 0 comments

Comments

@vmakwana
Copy link

I have a driver that collects data from a field device using ModbusTCP protocol every 5 seconds and as the responses arrive from driver, the connected websocket clients are sent messages. There are 16 field devices and driver collects 8 data points from each device. There are 16 threads , one for each device and driver will sequentially fetch data from and send message to websocket clients.

So, every 5 seconds there are 128 messages sent via websocket, I found that Alchemy websocket has a message queue.
Is this message queue operations give rise to a 30 to 45 seconds latency in HTML5 client updates?

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

1 participant