Re:Scaling PostgresML to 1M Requests per Second
by derefr on Wednesday November 09, 2022 @12:36AM
(#33527859)
Yup. In both cases, I was presuming a worst-case workload — e.g. an OLAP workload where you have to read all the data in the DB to answer a query, and "all the data" is far larger than RAM; or 10k concurrent queries from different tenants who all care about different things. That's really where bottlenecks will hit you. "More RAM" helps when your problems aren't worst-case problems. :)
Shared RAM across all cores can be a reason to use fewer larger machines rather than more smaller ones in such a case. Postgres does give you options either way though.