Qu

Quorum-free replicated state machine built atop S3

Hacker News

Quorum-free replicated state machine built atop S3

Hi HN, I’m sharing the alpha release of S2C, a state machine replication system built atop S3. The goal is to enable a distributed application to maintain consistent state without needing a quorum of nodes for availability or consistency. The idea came from a side project that was using S3 and where I needed strongly consistent distributed state but wanted to avoid adding a separate consensus dependency. I initially tried to use S3 directly for coordination, but it became messy. Eventually, I realized I need a replicated state machine with a deterministic log, and then it ended up as a standalone project. To mitigate S3's latency and API costs, it uses time- and size-based batching by default. S2C supports: - Linearizable reads and writes (with single node) - Exactly-once command semantics (for nodes with stable identities) - Dynamic node joins and cold-start recovery from zero nodes - Split-brain safety without clocks or leases - Snapshotting, log truncation, etc. Of course, it trades latency and S3 operation costs for operational simplicity - not meant to replace high-throughput Raft rings. And clearly, only usable in architectures that already use S3 (or compatible with similar guarantees). It has passed chaos/fault-injection tests so far (crashes, partitions, leader kills); formal verification planned. It’s still alpha, but I’d love for people to try it, experiment, and provide feedback. If you’re curious, the code, and an extensive deep dive guide are here: [ https://github.com/io-s2c/s2c ]

Share card

Actual performance

6points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: supports, para, compatible · Missing: reddit linkedin, podcasting, created
73%73% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, single, using · Missing: agents, macos, agent
61%61% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
58%58% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
44%44% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
33%33% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Fi
Finite State Machine for Go56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Finite State Machine for Go

Hacker News6
I
I built an online state machine editor56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built an online state machine editor

Hacker News11
Ju
Just state machine in ruby46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Just state machine in ruby

Hacker News2
As
Asyncmachine-go, declarative workflows with relations (state machine)40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Asyncmachine-go, declarative workflows with relations (state machine)

Hacker News2
St
State Trooper – Tiny, no frills state machine for Go57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

State Trooper – Tiny, no frills state machine for Go

Hacker News97
As
AsyncMachine – Relational State Machine (JS)57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AsyncMachine – Relational State Machine (JS)

Hacker News4
Ke
Kev – S3 and Redis as Datastores (with Redis Indexing)60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kev – S3 and Redis as Datastores (with Redis Indexing)

Hacker News8
Ca
Cache for S354%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cache for S3

Hacker News8
Ti
Tiny C++ State Machine Abstraction60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tiny C++ State Machine Abstraction

Hacker News3
Poli Systems S3
Poli Systems S352%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A S3 service built for backing up your data in Switzerland.

Indie Hackers1analytics