HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
yaledb
calvin
C++2014–2020
yaledb / calvin

calvin

Calvin is a scalable transactional database system that leverages determinism to guarantee active replication and full ACID-compliance of distributed transactions without two-phase commit. Most of the code is for VLDB 2014 paper: 《An Evaluation of the Advantages and Disadvantages of Deterministic Database Systems》.

4Distinct people
4Mentions
0Explicit recommenders
332GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Calvin is a scalable transactional database system that leverages determinism to guarantee active replication and full ACID-compliance of distributed transactions without two-phase commit. Most of the code is for VLDB 2014 paper: 《An Evaluation of the Advantages and Disadvantages of Deterministic Database Systems》.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year4 dated mentions

Observed mentions: 2014-06-01 18:26:19 UTC to 2020-09-17 02:32:28 UTC.

012014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2020

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC110
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC101
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC110

What Hacker News says

4 sources

Ask HN: Deterministic Transactions KV/DBs in RAM

Non-deterministic transaction ordering is well reviewed in [2]. Summary: DBs may reorder transactions because getting read/write sets, locks, or I/O timeouts will block some transactions, but others can proceed. This way average throughput is higher. Calvin [4], reviewed in the Morning Paper [3], builds on [1] & argues for a deterministic ordering of transactions. It's advantages are: - no two phase protocol, which is I/O heavy - no logging of physical layout of CRUD changes made to disk by disk. Need only log transaction inputs - Calvin's sequencing and scheduling layer can be bolted onto any CRUD API over storage I would draw reader's attention to [4, pg4]: "Calvin divides time into 10-millisecond epochs during which every machine’s sequencer component collects transaction requests from clients. At the end of each epoch, all requests t
Read the rest
hat have arrived at a sequencer node are compiled into a batch. This is the point at which replication of transactional inputs (discussed below) occurs." So whereas it avoids other problems, the implication is that no transaction can complete in than the less epoch time. That'd be too bad, because an all in memory DB or KV can't be stalled by disk ... I rather hoped Calvin could be considered for low-latency KV store given I could bolt storage underneath it. Did I miss something? Note that unless one falls back to OCC, or goes VoltDb and support transactions on single partitions only, there is no way to avoid locking in deterministic transaction scheduling because that's single core work. [1] https://github.com/yaledb/calvin [2] http://www.cs.umd.edu/~abadi/papers/determinism-vldb10.pdf [3] https://blog.acolyer.org/2019/03/29/calvin-fast-distributed-transactions-for-parti… [4] http://cs.yale.edu/homes/thomson/publications/calvin-sigmod12.pdf
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.