Hacker News new | ask | show | jobs
by PeledYuval 1042 days ago
What's your recommended way of implementing this in a simple App Server <> Postgres architecture? Is there a good Postgres plugin or do you utilize something on the App side?
2 comments

I've used pganalyze which is a non-free SaaS tool. Gives you a very good overview of where the DB time is spent with index suggestions etc. There are free alternatives, but require more work from you.
We use Datadog, which centralizes logs and application traces, allowing us to better pinpoint the exact request/code path making the slow query.