项目作者: awaisraad

项目描述 :
Contains code used to load test publish rate for different messaging systems
高级语言: JavaScript
项目地址: git://github.com/awaisraad/pubsub-benchmark.git
创建时间: 2019-03-10T19:33:05Z
项目社区:https://github.com/awaisraad/pubsub-benchmark

开源协议:

下载


Publish rate load test on messaging systems

This repo contains code used to test publish rate on different messaging systems, as of now on RabbitMQ, Nats, and Redis (well it supports pubsub)

Roughly estimated, I had 10x times better publishing rate on Nats (250MB/s) than as compared to Redis (25MB/s) and RabbitMQ (22MB/s). Nats was better in all terms i.e IO, memory usage and CPU.

I only observed publish rate, no subscribers were used for any of them.

RabbitMQ:

1: docker-compose up rabbit
2: node rabbit/publisher.js (run multiple sessions)

Nats:

1: docker-compose up nats
2: node nats/publisher.js (run multiple sessions)

Redis:

1: docker-compose up redis
2: node redis/publisher.js (run multiple sessions)

Run docker stats for observing CPU, Memory and IO rate for servers.