News for hackers. Stuff that matters.
Re:Google Cloud Is Having IO Issues in US-EAST1 by jrockway on Saturday December 07, 2019 @05:29PM (#21732995)
Looking at their job postings, they use Cassandra and Elasticsearch, so I am somewhat surprised that they didn't survive this outage. (I have not ever run Cassandra at scale, but their website says in the first paragraph that it's designed to handle regional failures.)

If I were on GCP and had paying customers, I would use Cloud Spanner. It's expensive, but it's a good piece of technology.

Re:Google Cloud Is Having IO Issues in US-EAST1 by seriesf on Saturday December 07, 2019 @05:54PM (#21733147)
The gift of Spanner is it’s always slow, so if you start there you will naturally gain experience in either hiding latency or relaxing consistency requirements, which are both good skills.
Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Sunday December 08, 2019 @01:56PM (#21737482)
Spanner is pretty fast, but as with any database you have to use it correctly to get the speed. Since it’s a non-standard database, it requires non-standard tricks and skills.
Re:Google Cloud Is Having IO Issues in US-EAST1 by jrockway on Monday December 09, 2019 @05:05AM (#21741505)
No, that's about right. You get one write per second per entity or something like that and that's as fast as it goes.

The key is to choose your entity wiseley. I wrote an app inside Google that did on the order of 10,000 writes per second and it was no problem; each entity group only showed up once every minute or so.

Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Monday December 09, 2019 @04:38PM (#21746897)
AFAIR, entity group is a Megastore concept. Megastore is ill-conceived predecessor of Spanner, are you confusing them? Spanner is much faster than 1 transaction per tablet.
Re:Google Cloud Is Having IO Issues in US-EAST1 by psanford on Sunday December 08, 2019 @06:17PM (#21739150)
I have run Cassandra in production. A replication factor 3 cluster over 3 AZs should be able to survive loss of a single AZ.

However, it has been my personal experience that Cassandra handles instances going down much better than it handles instances getting very slow but staying online. In that case Cassandra will work extra hard to just spin its wheels. If you know that is what is happening you can be better off manually bringing those nodes offline.

Re:Google Cloud Is Having IO Issues in US-EAST1 by sieabahlpark on Saturday December 07, 2019 @05:41PM (#21733071)
Most startup companies worry about building out features than building out reliable infrastructure. Almost always an after thought