I am once again begging you to put your database servers and application servers in the same region.
@BenjDicken51 B takipçi
1.422.580 görüntüleme
61 Yorum
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

@evanpalsson
I can do it even better:
475 beğeni

@BenjDicken
Incredible.
47 beğeni

@zo0r
whoever did the us-east-1 ↔ ap-east-1 combo must already have the open to work picture
234 beğeni

@BenjDicken
😂
8 beğeni

@DimitrsGR900
People put them in different regions? For reals?
52 beğeni

@BenjDicken
@Dimitris_Efsta Sometimes, yes.
15 beğeni

@hunvreus
Better yet: use SQLite and have the DB on the same server.
45 beğeni

@BenjDicken
What happens when your one server goes down or has a failing disk?
21 beğeni

@hunvreus
Litestream + R2 or S3
22 beğeni

@BenjDicken
That's cool. My two big questions are: (1) How can to commit writes with acceptable latency? (2) If a node goes down, how fast is a restore? Is one having to take downtime?
1 beğeni

@hunvreus
> How can to commit writes with acceptable latency? I use Litestream for backups. If you really want a more complex setup, Turso or D1 is your friend. > If a node goes down, how fast is a restore? Is one having to take downtime? It's a file, pretty fast. Faster than getting a new node set up and the code running. I wasn't taking a dig on Planetscale BTW, I only just realized you work there.
10 beğeni

@BenjDicken
No need to apologize! I want to learn more about cool tech.
10 beğeni

@hunvreus
In that case, I'd check Limbo from the Turso folks: Sounds like a pretty cool attempt to rewrite SQLite.
12 beğeni

@RadicDavydov
They should be in the same data center with < 1ms latency.
19 beğeni

@BenjDicken
Radic gets it.
2 beğeni

@namletech
Is there any reason to put them in different regions though? Naturally people just start out on a single region for a long time until they need to scale up multi regions, in that case they still keep db separated in each region
13 beğeni

@BenjDicken
@oscarle_x There are cases where multi-region databases are needed for ultra-high durability cases, like financial transactions. I would not recommend having a multi-master setup though. Have one region replicate from the other.
21 beğeni

@bhollis
What kind of criminal would NOT have their DB in the same region as the app servers!?
9 beğeni

@s_soroosh
what's the difference between the first and the second one?
9 beğeni

@BenjDicken
Intra-AZ vs inter-AZ. For further reading check this out:
8 beğeni








![PRIZ ;] profil fotoğrafı](https://image.24vids.com/tw/profile_images/2069536582202535936/OdzhxsC4_x96.jpg)

















