The ideal web server is a single self-contained binary that embeds the full stack — HTTP handling, frontend assets, caching, database, file serving, and job queues.
1. One Full-Stack Binary everything in-process
To scale horizontally, we make that binary peer-aware so instances coordinate sharded data and distributed job queues among themselves — while each instance remains a complete, self-contained application server.
2. Collaborating Peer Cluster same binary on every server
Data is dynamically rebalanced whenever instances join or leave the cluster.
Interactive Cluster Simulator
60 virtual shards (R=2). Add nodes, drain cleanly, kill a node mid-flight, or step through reads and writes.
Why build it this way?
Most "scalable" architectures spend more effort operating databases, caches, queues, and orchestrators than running application code. Making the app peer-aware collapses the stack back to one moving part.
Conventional "Scalable" Stack 12+ systems
Docker / Containers Kubernetes Istio / Service Mesh Ingress / Envoy Postgres Cluster Redis Kafka / RabbitMQ S3 / Object Store Terraform Helm / ArgoCD Cert-Manager YAML + Glue
Your application logic is small, yet most of your engineering time goes to keeping external infrastructure wired together, versioned, and alive.
Fractal Cluster 1 executable
Embedded Sharded DB Peer Replication Distributed Queues Live Pub/Sub Built-in Blobs
Orchestration isn't a separate control plane — it's compiled into the program. Copy one binary to another VPS, point it at a peer, and watch the cluster absorb it.