# Exercises

1. Persist events, payment and checkpoint atomically with PostgreSQL unique constraints.
2. Write a regression test for a rejected input or repeated event.
3. Explain how to replace the in-memory model with a transactional implementation.
