hn.today

Fractal Cluster

hasen.dev13 points5 comments
Screenshot of Fractal Cluster

Fractal Cluster proposes scaling a web application by replicating one self-contained server binary across multiple machines. Each instance includes HTTP handling, frontend assets, application logic, authentication, caching, file storage, an embedded database, and background jobs, rather than depending on separate services for each function. In a cluster, the same binaries coordinate to distribute data across shards, mirror writes, route reads, and share job processing. Data ownership is rebalanced as servers join or leave, while any node can receive incoming requests.

The central argument is that conventional scalable systems can burden teams with operating and connecting databases, caches, queues, object storage, containers, orchestration, and related infrastructure. Fractal Cluster aims to make coordination part of the application itself: deploy the binary on another server, connect it to a peer, and let the cluster manage replication and resizing. Its described resizing process brings a new node in as a learner, copies data while mirroring live writes, then transfers shard ownership; planned drains hand off shards, while the system is also intended to tolerate abrupt failures. An interactive simulator demonstrates a cluster with 60 virtual shards and replication factor two, allowing users to add or remove nodes and test reads and writes. The approach promises simpler operations and built-in media, queues, and upgrades, while keeping every node a complete application server.

Read on hasen.dev5 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Laravel Rust

Laravel Rust

Laravel for Rust is a full-stack web framework with routing, validation, database tools, background jobs, and real-time features. It also supports Inertia for frontend integration and is released under the MIT license. (github.com)

The Uberization of Software

The Uberization of Software

Ride-hailing apps greatly expanded demand for trips but undercut the value of taxi medallions and squeezed driver earnings by removing the supply limits that had protected them. The essay argues that software engineering faces a similar paradox: rising demand can lower workers’ pay when technology rapidly expands the supply of labor. (lsrx.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.