Tembo Cloud is a managed Postgres service that allows users to create instances, install extensions, and connect over the internet. The platform consists of a control-plane and data-plane, with the control-plane handling CRUD requests and the data-plane managing the lifecycle of Postgres instances. A finite state machine is used to manage state transitions, and tasks between the planes are buffered using a queue implemented in Postgres. Conductor handles execution of orders from the control-plane to the data-plane.
Table of contents
The Control PlaneA Finite State MachineFSM in RustBuffer tasks between the planesConducting events in the data-planeClosing the loopMoving forwardSort: