Skip to content

feat: Add PACELC When-To-Use Guide For Six Backends - #19

Merged
ThomasHartDev merged 2 commits into
mainfrom
thomas/feat/comparison-docs
Sep 6, 2026
Merged

feat: Add PACELC When-To-Use Guide For Six Backends#19
ThomasHartDev merged 2 commits into
mainfrom
thomas/feat/comparison-docs

Conversation

@ThomasHartDev

Copy link
Copy Markdown
Owner

We have six backends and a latency bench, but picking a store was still a README ramble. This adds a typed catalog for PACELC consistency, native query shape, write scale, and ops cost, plus chooseStore which eliminates on hard constraints then ranks what is left.

Postgres stays the default for this feed (integrity plus a join). Hops go to Neo4j, TTL to Redis, SQL plus linear writes to Cockroach, and a write-heavy timeline to Cassandra. Conflicting constraints (hops and TTL) return an empty ranking instead of a fake compromise. renderGuide() is generated from the same catalog so the tables cannot drift.

Closes #18

Typed catalog plus a constraint-then-score chooser so consistency,
query shape, write scale, and ops cost stay comparable.
preferConsistency now orders by isolation class, with durable
cross-key stores ahead of per-key Redis. README includes the
exact renderGuide() tables so the written guide cannot drift.
@ThomasHartDev
ThomasHartDev merged commit 2f1b47d into main Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write a when-to-use-which guide for the six backends

1 participant