News for hackers. Stuff that matters.
Re:Migrating from AWS to Fly.io by garganzol on Wednesday January 04, 2023 @08:50AM (#34245461)
Even at the minimal scale, one is going to have quite a few app instances all over the world sooner or later. In such setting, a notion of regional proximity of any kind quickly becomes irrelevant.

Higher database round-trip times are fixed by using database stored procedures instead of making multitudes of tiny compound SQL queries.

Re:Migrating from AWS to Fly.io by ec109685 on Wednesday January 04, 2023 @05:21PM (#34252735)
Not everything can be represented by a single database query. Often there is mixing involved using multiple sources, which break down the one query for all results pattern, and thus encourage co-locating the database near the tier making the db requests.