22 ms·
Once you start having multiple data sources, business logic implemented in application code might be easier to reuse than business logic implemented in one of t
by peferron 5y ago
Once you start having multiple data sources, business logic implemented in application code might be easier to reuse than business logic implemented in one of the data sources. For example: start with Postgres, then add ClickHouse to the mix. It might be easier to let the application handle access to both DBs, rather than write RLS policies in Postgres and then try to apply them to ClickHouse.