Felix Geisendörfer personal blog
Implementing State Machines in PostgreSQL
Finite-state machine (FSM) is a wonderful model of computation that has many practical applications. One of my favorites is turning business logic into simple FSMs. For example consider the following requirements for an order management system:
- Points
- 199
- HN comments
- 86
- Submissions
- 1
- Cited by
- 0 commenters
Databases & DataSoftware Engineering2017
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 31, 2017 | Implementing State Machines in PostgreSQL by nreece | 199 | 86 |