Benchmark of microservices frameworks for NodeJS.
Package | Version |
---|---|
MicroWizard | 1.1.1 |
Seneca | 3.37.0 |
Hemera | 5.8.6 |
Nanoservices | 0.0.11 |
Moleculer | 0.13.0 |
See https://github.com/WizardTales/MicroWizard?tab=readme-ov-file#benchmarks
Install dependencies
$ npm install
or
$ yarn
For remote test need to install a NATS server too. You may also use Docker container version of this benchmark.
Start nats server (gnatsd
) and
$ npm run bench local
$ npm run bench remote
If you don't want to have unneeded dependencies and software on your local computer, you may use Docker to set-up "virtual containers" with this benchmark.
You need to have Docker and docker-compose installed.
Simply run docker-compose up
command, so:
- NATS server will be set-up
- All dependencies will be installed
- Benchmark results will be visible in your terminal