Hacker News new | ask | show | jobs
by abhibeckert 893 days ago
> However, would you really change your approach if PostgreSQL could be upgraded by a minor version without any downtime?

Dunno. I wasn't so much answering the "who wouldn't use Postgres" question, I was more answering "who could possibly care about 1 second of downtime" question.

I seriously considered Postgres, and I will reconsider that choice regularly.

There are things we have in SQLite right now that would absolutely be better in Postgres, but for the moment we've decided those benefits don't justify the overhead of two completely different database system.

> I really am not conviced that 1 second downtime to restart PostgreSQL out of 24/7/365 would make more of a dent on your companys profits

Our customers are not the people buying tickets. Our customers are the people selling tickets, and our profit is a percentage of their annual revenue. They're moderately sized companies with hundreds of staff.

Which means a single dissatisfied person, at the wrong level of management, can cost us hundreds of thousands of dollars. Downtime is inevitable and we don't claim to offer 100% uptime... but we try really really hard to be as close to that as possible. That includes encouraging people to print, on dead tree paper, a copy of their ticket sales database five minutes before they open the doors for a performance. But that copy is always out of date, since they sell tickets after opening the doors, so it's not a great backup.

1 comments

Right, the local internet can always be an issue too. I think you have a good example of something with high uptime requirements. I get that, but I was kind of wondering specifically why Postgres's downtime would have any significant impact, if it was 1 second. That's hard for me to imagine. I also work in some high resiliency environments but I handle it with queues. No system I ever worked with had a requirement on the DB to have such availability.