QLDB deep dive
summary
A production double-entry ledger built on AWS QLDB that stores accounts, lines and balanced entries, updates per-account balances transactionally, and enforces idempotency keys. QLDB exposes an append-only journal with a global sequence number and per-document history hashes, streams revisions to Kinesis for downstream aggregation (used to feed Dynamo), and auto-retries conflicting transactions. Measured operation: supporting 2–3k transactions/sec on one ledger, running a few million dollars of payments per month, and latency around the quoted operational range.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:13Double entry ledgers basics
- 15:10Modern ledger challenges
- 21:25Space company use case
- 24:55QLDB overview
- 32:00Implementing ledger in QLDB
- 38:02Code walkthrough
- 51:31Querying history
- 1:00:03Event streaming
- 1:03:35Trade-offs and summary
related talks
44mAre Accounting Databases Interesting or Just Part of the Blockchain Hype?
30mLedger Databases and Managed Blockchain in the Cloud
40mBeyond Relational: Data storage for modern applications
01h 07mQuestDB: Fast Open Source Time Series Database
52mData storage for modern applications - Mike Lehan
49mQ The language of God!
48mKeep the Integrity of your Database with Azure SQL Ledger
40mKalDB: A cloud native log search platform
