News for hackers. Stuff that matters.
Re:Use one big server by goodoldneon on Tuesday August 02, 2022 @02:15PM (#32322346)
OP mentioned joining, so they were definitely talking about a single database
Re:Use one big server by riquito on Tuesday August 02, 2022 @03:55PM (#32323490)
Not suggesting it, but for the sake of knowledge you can join tables living in different databases, as long as they are on the same server (e.g. mysql, postgresql, SQL server supports it - doesn't necessarily come for free)
Re:Use one big server by yellowapple on Tuesday August 02, 2022 @04:26PM (#32323855)
In PostgreSQL's case, it doesn't even need to be the same server: https://www.postgresql.org/docs/current/postgres-fdw.html
Re:Use one big server by danpalmer on Tuesday August 02, 2022 @02:22PM (#32322429)
You can still do a ton of joining.

I’d start with a monolith, that’s a single app, single database, single point of ownership of the data model, and a ton of joins.

Then as services are added after the monolith they can still use the main database for ease of infra development, simpler backups and replication, etc. but those wouldn’t be able to be joined because they’re cross-service.