Tembo, founded in December 2022, originally aimed to create a top-notch Postgres service to deploy extensions but evolved to offer optimized Postgres instances for workloads. Decoupling the control-plane and data-plane components allowed for quicker innovation without risking the infrastructure. A Rust-based finite state machine manages instance lifecycles, ensuring smooth transitions and error handling. Implementing a queue system buffers tasks between the planes, preventing system failures during outages. PGMQ, an open-source project, optimizes task processing in Postgres environments. Overall, Tembo’s approach to managing Postgres services using Rust showcases innovation and efficiency in the cloud space.
https://tembo.io/blog/managed-postgres-rust