Skip to content

Proof of concept for using NATS as distributed pub/sub message queue

Notifications You must be signed in to change notification settings

boecklim/nats-js-poc

Repository files navigation

NATS JetStream proof of concept

How to run

make run

In order to build the app before running

make run-rmi

Add a 4th nats server

docker-compose up --remove-orphans nats-d

Run benchmark test with JetStream, 50k messages of size 200 bytes, in memory storage, 5 publishers, 5 subscribers

nats bench foo --pub 5 --sub 5 --size 200 --js --pull --msgs=50000 --storage=memory

Todos

  • Server configuration
    • Clustering
    • Accounts
  • Connection configuration
    • Reconnection
    • Ping
  • App
    • Subscriber
    • Publisher
    • Stream
    • Consumer

About

Proof of concept for using NATS as distributed pub/sub message queue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published