3,548 karma · joined Sep 18, 2015 (11y ago) · 608 submissions
comment 1mo ago · link · parent
comment 2mo ago · link · parent
https://github.com/clockworklabs/SpacetimeDB/blob/master/LIC...
comment 4mo ago · link · parent
comment 5mo ago · link · parent
comment 8mo ago · link · parent
comment 10mo ago · link · parent
But yeah, snowmelt plays a huge role in supplying water into the summer, so just looking at precipitation totals isn't the full picture.
comment 1y ago · link · parent
This isn't GCP's fault, but the outage ended up taking down Cloudflare too, so in total impact I think that takes the cake.
comment 1y ago · link · parent
I've heard that before but was never able to make sense of it. Overflowing into the cloud seems like a nightmare to manage, wouldn't overbuilding on-prem be cheaper than paying your infra team to straddle two environments?
comment 1y ago · link · parent
> While Git makes an interesting database alternative for specific use cases, your production applications deserve better. Upsun provides managed PostgreSQL, MySQL, and other database services
comment 1y ago · link · parent
[1] https://support.google.com/interconnect/answer/9058809?hl=en
comment 1y ago · link · parent
comment 1y ago · link · parent
I did a double take at this. At the onset of the article, the fact they're using a distributed database and the mention of a "mid 6 figure" DB bill made me assume they have some obscenely large database that's far beyond what a single node could do. They don't detail the Postgres setup that replaced it, so I assume it's a pretty standard single primary and a 100 million row table is well within the abilities of that—I have a 150 million row table happily plugging along on a 2vCPU+16GB instance. Apples and oranges, perhaps, but people shouldn't underestimate what a single modern server can do.
comment 1y ago · link · parent
Two replicas in a “semi synchronous” configuration, as AWS calls it, is to my knowledge not available in base Postgres. AWS must be using some bespoke replication strategy, which would have different bugs than synchronous replication and is less battle-tested.
But as nobody except AWS knows the implementation details of RDS, this is all idle speculation that doesn’t mean much.
comment 1y ago · link · parent
Multi-AZ instances is a long-standing feature of RDS where the primary DB is synchronously replicated to a secondary DB in another AZ. On failure of the primary, RDS fails over to the secondary.
Multi-AZ clusters has two secondaries, and transactions are synchronously replicated to at least one of them. This is more robust than multi-AZ instances if a secondary fails or is degraded. It also allows read-only access to the secondaries.
Multi-AZ clusters no doubt have more "magic" under the hood, as its not a vanilla Postgres feature as far as I'm aware. I imagine this is why it's failing the Jepsen test.