3 ms·
All of Reddit was Postgres on raided EBS up till I left in 2011 and I think still is today but I kinda hope not. It’s totally safe to use local storage if you
by jedberg 9y ago
All of Reddit was Postgres on raided EBS up till I left in 2011 and I think still is today but I kinda hope not.
It’s totally safe to use local storage if you build it right. But those raided EBSs caused a lot of problems. In short, when one gets slow the whole volume gets slow because software raid isn’t hardware raid.
The main advantage of RDS is that they take care of the mundane redundancy for you.
- monksy 9y agoI thought reddit went to cassandra.
- jedberg 9y agoCassandra is used for some things, Postgres for the rest. Unless they went full Cassandra recently, which is possible. But for many years we ran both.
- gooeyblob 9y agoWe use instance store for Postgres and Cassandra now on i3 and i2 respectively.
- tbrock 9y agoHey Jeremy, I’m saying they should take care of it for me. As a database operator I treat safety on i3 similarly where I have multiple hot replicas of my data so that if any fails I’m good to go. Additionally, there isn’t any reason you couldn’t have a EBS replica of an ephemeral node. What we typically do with i3 is mirror the data locally, replicate it, have an EBS replica, and take backups. This is probably overkill but the data needs to be both accessed quickly and secure so that’s where we are at.
- kakwa_ 9y agoI'm wondering, how do you handle failovers? Is it automatic or manual? On infrastructure I handled from top to bottom, I used VIPs with keepalived (only the vrrp part, with a weight linked to success/failure of a check script). But in AWS, I'm wondering how to do it properly, maybe DNS records with low TTL (like 1 second).