News for hackers. Stuff that matters.
Re:Keeping Instagram up with over a million new users in twe... by nupark2 on Friday April 06, 2012 @10:25AM (#3807245)
Are EBS snapshots not block-level atomic? In theory you should get a PITR image without stopping anything, assuming that:

1) The file system correctly orders or journals operations (I'm not familiar with XFS, but this is the case with FFS2/FreeBSD, ZFS, ext3/4 journaling, etc).

2) The database system correctly orders or journals operations, and properly fsync(s) to disk (which postgreSQL does)

Of course, there's no harm to an abundance of caution with something like this.

Re:Keeping Instagram up with over a million new users in twe... by mikeyk on Friday April 06, 2012 @11:25AM (#3807470)
They are, but we software-RAID our EBS drives to get better write throughput, and we put the Write-Ahead Logs (WALs) on a different RAID from the main database, so when you have both of those going on, you need something else to atomically snapshot our PG databases.