展示HN:Octopii – 将任何Rust结构体转变为一个可复制的、容错的集群
我已经在Octopii上工作了大约一年,这是一款“开箱即用”的库,旨在让在Rust中构建分布式系统变得像编写标准结构体一样简单。
Octopii就像一个“分布式系统内核”。它处理集群的物理层面(存储、网络、领导者选举),让你可以完全专注于应用逻辑。
它实际上是类似于Cloudflare Durable Objects的基础设施,但以一个你可以在自己硬件上运行的crate的形式打包。
查看原文
I've been working on Octopii for around a year now, a "batteries-included" library that aims to make building distributed systems in Rust as easy as writing a standard struct<p>Octopii acts like a "Distributed Systems Kernel." It handles the physics of the cluster (storage, networking, leader election) so you can focus entirely on your application logic.<p>It's effectively the infrastructure behind something like Cloudflare Durable Objects, but packaged as a crate you can run on your own hardware.