Sometimes Postgres Isn't the Answer
pomerium.com·5h·
Discuss: Hacker News
Flag this post

Pomerium v0.31 introduces a new custom local file storage backend with a clustered mode implemented via Raft for automatic failover and recovery as an alternative to our existing Postgres backend. On the face of it, this would seem to fly in the face of much received wisdom regarding system design: that Postgres is sufficient for almost any task, and the panoply of services used in modern microservice system design is overengineering at its worst. And yet here we are, basically rolling our own custom database and moving away from Postgres. How did this happen?

But first: why does Pomerium need a storage backend at all?

![Request Flow Sequence Diagram of Pomerium](https://www.pomerium.com/glide/asset/YXNzZXRzL2NvcHktb2Ytc29tZXRpbWVzLXBvc3RncmVzLWlzbi10LXRoZS1hbnN3ZXItZGlhZ3JhbXMucG5n/…

Similar Posts

Loading similar posts...