senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.96k stars 313 forks source link

Seneca benchmarks #560

Open SkeLLLa opened 8 years ago

SkeLLLa commented 8 years ago

Hello. I wonder if there are some benchmarks for seneca and it's transport plugins? I've made some tests for myself (with mesh and amqp transports) and they show that it's performance is quiet bad.

PS: whitout any transports it's quiet good. Also results of tcp transport are quet good (on localhost).

rjrodger commented 8 years ago

it really depends on the transport implementation, and underlying mechanism so plain http is always going to be slower than tcp, for example

SkeLLLa commented 8 years ago

@rjrodger I know that http is slow. But it would be great if seneca will have some benchmarks to help developers consider which pros/cons do they have with different kinds of transport.

rjrodger commented 7 years ago

Yes you're right :)

We need benchmarking script of some kind.

rjrodger commented 7 years ago

3.4.0 nextgen transport (use option legacy.transport=false) uses keepalive, and is nearly 2X faster.