4 ms·
I'd definitely cache+throttle that if possible. Cache the 404 response, and if using a shared dB make a custom user/resource group/workload queue and put this
by hughesjj 2y ago
I'd definitely cache+throttle that if possible. Cache the 404 response, and if using a shared dB make a custom user/resource group/workload queue and put this service at a lower priority
Not sure how to best do that in postgres though, closest I can find is reserved connections per user. Idk maybe there's an extension or it's easy to do it in the webserver
https://www.postgresql.org/docs/current/runtime-config-connection.html https://www.postgresql.org/docs/current/runtime-config-conne...