Open prystupa opened 12 years ago
Would love more action on this problem. Has performance been an issue for others? Any app or OS level tweaks to improve response time?
@prystupa did you ever solve this problem? I think it might be related to #57. Did you watch the memory usage in both the javascript and python publisher? I did and found that the javascript version went up from ~40 mb to ~400 mb while the python version stayed at ~15 mb throughout.
I second this issue....I have python version and node version. I can only do about 400 publishes per second with this lib while python version is faster. The avg size of my json string is about around 200 bytes. Do we ever have any performance benchmark anywhere ?
We have severe performance problems with node-amqp when under load in production. To reproduce I created this little publisher program:
On the other end of RabbitMQ this little program reads messages as they are published and display some timing statistics:
As you can see the test run results show that performance is significantly deteriorated as more and more messages are published:
I re-wrote the publisher program in Python using pika, for comparison:
As you can see the test run with pika shows much better performance that stays constant for the whole run:
Would you be able to look into why the difference in performance between two technologies is so significant and if this can be addressed? Thanks!