Engineering deeper

Event sourcing + CQRS, multi-region replication, sharding, WORM, column encryption. The architecture for ledgers at billions of rows.

5 hands-on lessons in this topic. Read each one free, then practice it on a real double-entry ledger in the lab.

  1. Lesson 81

    Event sourcing vs CQRS for the ledger

    Your journal IS an event log. Don't fight that fact.

  2. Lesson 82

    Multi-region replication for ledgers

    Eventual consistency is fine for blog posts. It's not fine for double-spend prevention.

  3. Lesson 83

    Sharding strategies for ledger tables

    100 million users, one Postgres won't hold them. Pick a shard key.

  4. Lesson 84

    WORM enforcement: write-once-read-many for the journal

    Auditors trust your ledger to the degree they trust nobody can edit history.

  5. Lesson 85

    Encryption at rest for sensitive ledger fields

    Encrypt at the column level, not just the disk. Your DBA shouldn't see PII.

Search lessons

Type to find any of the 85 lessons. Press Enter to open.