Replies: 1 comment
|
Is there someone who can shed some light, we are building high-throughput streaming system and outliers with 1,2 seconds can be critical for the business :/ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Introduction
Hi,
we were experiencing some intermittent latencies when it comes to publishing in pulsar. I've made simple console applications to produce and consume simple messages on our dev pulsar cluster and I managed to reproduce it fairly easily.
Setup
Observations
As you can see from the picture from time to time there are some strange outliers with such a small rate (1 msg/s), these outliers scale with the rate of messages as well while ping remains stable.

what we did to improve persistent topic latency is reduce ack quorum size - this made outliers appear less often and less spiky but nevertheless still appear.
when we switched from persistent to non-persistent results were the following:

as you can see, outliers were not found anymore, however, I was told that non-persistent topics should not be used in a production environment, and after some time of investigating there offer a very limited set of features that does not satisfy even the simples scenarios (like maintaining backlog).
Conclusion
Well, that's it, thanks for your patience and your help in advance,
should you need more information about our setup don't hesitate to ask I will try to provide it in a timely manner.
All reactions