Spreader library enables JVM process clustering without external dependencies
Spreader is a new Java library that transforms standard JVM processes into a distributed cluster. The system uses a gossip protocol for node discovery and a pre-emptive leader election mechanism based on port acquisition. A leader is automatically elected when one node binds to a designated cluster port, and leadership automatically transfers if that node fails. The library requires Java 17 or later and works with existing Netty, MINA, or Grizzly transports. Unlike consensus-based systems like Raft, Spreader's leader carries no data authority and requires external fencing mechanisms for state consistency.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in