Hi folks, more of a general question, how do you benchmark your Application in terms of database performance? Our team has a GraphQL application, and is undergoing severe performance issues. We want to have better observability in this, such as logging number of queries, finding inefficient queries, and the like. Any best practices or suggestion?
The event-based one has already been a great help, the logging middleware is promising and definitely something to try out. Do you know if there are any higher-level construct on top of this (like libraries / tools on github) that dive deeper in this?
n
Nurul
03/29/2022, 9:48 AM
Hey 👋
You could use Database monitoring tools to view query metrics and explain plans to figure out slow queries. This one provided by Datadog looks good.
We also do have a related GitHub Issue that discusses native Request Tracing Integration.
j
Jonathan
03/29/2022, 9:53 AM
Hey Nurul, thanks for the linkup! This sounds great!