We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using long polling I discovered there is a significant delay when message is written to client's IO
message_bus/lib/message_bus/connection_manager.rb
Lines 34 to 36 in 12dd450
and when the message is sent through the network. It varies but usually within the range 300-1000ms.
ActionController::Live in comparison sends data as soon as it is written (0ms delay)
ActionController::Live
Do you have any clues where that delay might come from?
I tried locally with Rails development and production mode on MacOS.
The text was updated successfully, but these errors were encountered:
Tested on heroku, seems like it's not the case there. At least the range is much smaller.
When compared to ActionCable implementation, MessageBus has additional 50ms delay
Sorry, something went wrong.
No branches or pull requests
When using long polling I discovered there is a significant delay when message is written to client's IO
message_bus/lib/message_bus/connection_manager.rb
Lines 34 to 36 in 12dd450
and when the message is sent through the network. It varies but usually within the range 300-1000ms.
ActionController::Live
in comparison sends data as soon as it is written (0ms delay)Do you have any clues where that delay might come from?
I tried locally with Rails development and production mode on MacOS.
The text was updated successfully, but these errors were encountered: