News for hackers. Stuff that matters.
Re:Why Has Figma Reinvented the Wheel with PostgreSQL? by jitl on Saturday March 30, 2024 @01:12PM (#39876624)
The difference between "pets" and "cattle" are that pets have state and need to be taken care of, you can't recreate them from scratch trivially. Cattle are stateless and can be created and destroyed easily.

The whole point of a database is to contain the state - as a pet - so the rest of your application can be stateless - as cattle.

To really get cattle database systems, you need a self-managing cluster architecture that puts things on autopilot like Neon where you've got >=2 copies of each row and can tolerate losing any single box without unavailability.

Re:Why Has Figma Reinvented the Wheel with PostgreSQL? by nine_k on Saturday March 30, 2024 @03:03PM (#39877619)
This is fair.

But restoring a small DB from a fresh backup, if things go really wrong, is faster, and does not affect other customers.

I completely agree wrt having a hot spare / cluster with transparent failover and management.