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

Support PackedForward mode to improve performance #75

Closed
okkez opened this issue Jul 27, 2017 · 0 comments
Closed

Support PackedForward mode to improve performance #75

okkez opened this issue Jul 27, 2017 · 0 comments

Comments

@okkez
Copy link
Contributor

okkez commented Jul 27, 2017

Move from #73

@slang800 said:

It depends a lot on how you're doing packed forward mode. If you're trying to send messages as soon as possible then you're not going to be building up a backlog until you get well over 250 msg/sec (even if you limit to 1 outstanding ack at any given time), so messages will be sent individually up until that point. You could wait until you have a backlog of n messages before you pack them all together, but then if the process crashes up to n - 1 messages would be lost... And those messages would be from right before the crash, so they're probably important. You could pack and send a backlog of messages on an interval, but that creates the same type of problem n seconds of data could be lost in a crash.

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