sysulq / httpmq

A simple HTTP message queue written in Go with goleveldb, just like httpsqs written in C with Tokyo Cabinet.
http://hnlq715.github.io/httpmq/
MIT License
314 stars 86 forks source link

Horizontal scale #31

Open dimasanwaraziz opened 1 month ago

dimasanwaraziz commented 1 month ago

Very interesting, how to make this horizontal scaling?

Any persistent volume should I define that can I share with every node (server)?

sysulq commented 1 month ago

That's an interesting question. To support horizontal scaling, you could consider implementing a multi-node cluster based on the Raft consensus algorithm. This would allow for fault tolerance and improved read capacity across multiple nodes. However, write operations might still be limited by the performance of a single node.