Closed amatissart closed 1 week ago
Configure the cache table in Postgres as UNLOGGED could help to reduce the load on the db, as the API throttles are currently responsible for a lot of queries in the cache.
UNLOGGED
Find more details about using unlogged table as a cache in PostgreSQL: https://martinheinz.dev/blog/105
An alternative would be to use Redis as a cache instead of PostgreSQL. Possibly more performant, but requires more changes in infra and dev-env.
Description
Configure the cache table in Postgres as
UNLOGGED
could help to reduce the load on the db, as the API throttles are currently responsible for a lot of queries in the cache.Find more details about using unlogged table as a cache in PostgreSQL: https://martinheinz.dev/blog/105
An alternative would be to use Redis as a cache instead of PostgreSQL. Possibly more performant, but requires more changes in infra and dev-env.
Checklist