Fractal Cluster: one self-contained server binary that scales across peer servers
Fractal Cluster is a design for scaling a web server. Each server runs one self-contained binary that includes HTTP handling, frontend assets, caching, a database, file serving and job queues. The binaries are peer-aware: they coordinate sharded data[1] and distributed job queues among themselves, and data is rebalanced whenever instances join or leave the cluster.
The project argues that most scalable architectures spend more effort running databases, caches, queues and orchestrators than running application code. In this design, orchestration is compiled into the program with no separate control plane[2]. To add a server, you copy the binary to another VPS and point it at a peer.
New nodes join as non-serving learners[3] that receive live mirrored writes before ownership flips to them. Draining a server hands off its shards, and the cluster also survives sudden crashes. Media uploads and rolling binary upgrades are built in, so the project says it needs no S3, Redis or Kubernetes. The interactive simulator on the page runs 60 virtual shards with R=2.
Read the original hasen.devDiscussion
Sources
-
hasen.dev
Fractal Cluster



