icebob / microservices-benchmark

Benchmark of microservices frameworks for NodeJS
40 stars 12 forks source link

Test Running Mac Pro i7 #1

Closed expelledboy closed 7 years ago

expelledboy commented 7 years ago

For your interest:

$ npm start

> microservices-benchmark@1.2.0 start /private/tmp/microservices-benchmark
> node index.js

===========================
  Microservices benchmark
===========================

Platform info:
==============
   Darwin 14.5.0 x64
   Node.JS: 6.3.0
   V8: 5.0.71.52
   Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz × 8

(node:98602) DeprecationWarning: 'root' is deprecated, use 'global'
{"kind":"notice","notice":"hello seneca 0z6rz72e4sad/1494423322958/98602/3.3.0/-","level":"info","when":1494423323752}
Suite: Call local actions
✔ Seneca*                  7,173 rps
✔ Hemera*                  2,421 rps
✔ Nanoservices*           23,606 rps
✔ Moleculer*             492,190 rps

   Seneca* (#)             0%          (7,173 rps)   (avg: 139μs)
   Hemera*            -66.25%          (2,421 rps)   (avg: 413μs)
   Nanoservices*      +229.1%         (23,606 rps)   (avg: 42μs)
   Moleculer*        +6,761.76%        (492,190 rps)   (avg: 2μs)
-----------------------------------------------------------------------
icebob commented 7 years ago

Thanks!

expelledboy commented 7 years ago

Would it be possible to give a short breakdown of the feature differences between these libraries?

icebob commented 7 years ago

Currently I can't. But I plan to add a comparison matrix in the future if I have more time.

expelledboy commented 7 years ago

How much focus did you put on the network failures for moleculer? What are your development principles I guess?

icebob commented 7 years ago

Moleculer has a built-in circuit breaker solution with request timeout, retries and fallback response features.

expelledboy commented 7 years ago

Started using Moleculer 🏆