Conversation
|
This is really a good piece of work, thank you. I agree that comparing Maiko's performance with Ractor/Actix is - as you said - comparing apples to oranges: different philosophy, no direct messaging etc. Maiko can't be competitive here due to two-step delivery via broker.. But it's good to have that comparison anyway. In practical scenarios I hope the multi-broker solution (0.4.0) will make some noticeable improvements (especially for Regarding your tests - interesting idea with playing with various payload sizes. But in reality we mostly test here allocations on Please resolve the conflicts after the previous PR merge and it will be good to go. |
I agree with you, however, it still seems useful to me to showcase some performance degradation given the message size, which is apparently the case for actix and ractor, too. Thus I propose to keep that. Let me know if you disagree, it's trivial to drop that. I will aslo add the local performance ractor/actix benchmarks to make these numbers reproducable. |
I re-based, added all benches and a comparison note. |
|
I completely agree - let's keep them. And adding the the ractor/actix tests, makes sense. Thanks |
ddrcode
left a comment
There was a problem hiding this comment.
All good, thank you for another contribution @vnermolaev
Add a Maiko actor-broker-actor throughput benchmark.
Partially addresses #101.
To run Maiko throughput bench analysis
Remark.
I also added similar benchmarks comparing the triple maiko-actix-ractor. Maiko performs significantly worse. These benches are currently local but I can push them too, if required.
Why
(IMO) Main reasons:
Producer -> Broker -> Consumerwith topic routing and envelope handling, not direct actor-to-actor.So we are comparing different semantics:
This is an oranges-to-apples situation. Please share your thoughts @ddrcode