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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

71c8b1e · Jul 25, 2024

History

30 Commits
Jul 25, 2024
Jul 25, 2024
Jul 24, 2024
Jul 23, 2024
Jul 24, 2024
Jul 25, 2024
Jul 25, 2024
Jul 24, 2024
Jul 24, 2024
Jul 24, 2024
Jul 25, 2024
Jul 25, 2024
Jul 25, 2024
Jul 25, 2024

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