Expand description
Checkpointers for shared databases.
Each backend sits behind the feature of the same name and passes the
conformance suite (the conformance feature). They store the whole
Checkpoint as JSON text next to the columns or keys they
query, so a loaded checkpoint equals the saved one and new checkpoint fields need no
schema change.
| Backend | Feature | Version rule enforced by |
|---|---|---|
PostgresCheckpointer | postgres | A guarded INSERT and a unique index on (thread_id, version) |
RedisCheckpointer | redis | One Lua script per save, reading the thread’s highest version |
MongoCheckpointer | mongodb | A compare-and-set on the thread’s head document and a unique index on (thread_id, version) |
Neo4jCheckpointer | neo4j | A write lock on the thread’s node, taken before the head is read |
FirestoreCheckpointer | firestore | A read-write transaction over the thread’s head document |
Modules§
- firestore
- Firestore
Checkpointer. - mongodb
- MongoDB
Checkpointer. - neo4j
- Neo4j
Checkpointer. - postgres
- PostgreSQL
Checkpointer. - redis
- Redis
Checkpointer.