You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While digging around the Spring Petclinic I found this issue running digma.ai on the project. The n+1 situation arises in two situations:
Making a parameterless GET request on /owners
Using the webpage and searching for an empty string
We can see that in the traces, side panel, and even the query behind the issue. This issue can be replicated using a simple shell script to concurrently load the /owners endpoint or even just running an empty string search a few times from the webpage.
My proposed fix resolves the n+1 issue and reduces the amount of un-necessary queries. We can see that in the new traces and the updated side panel view when testing in the same manner. Here's the new query I used to resolve this issue.
The text was updated successfully, but these errors were encountered:
While digging around the Spring Petclinic I found this issue running digma.ai on the project. The n+1 situation arises in two situations:
We can see that in the traces, side panel, and even the query behind the issue. This issue can be replicated using a simple shell script to concurrently load the /owners endpoint or even just running an empty string search a few times from the webpage.
My proposed fix resolves the n+1 issue and reduces the amount of un-necessary queries. We can see that in the new traces and the updated side panel view when testing in the same manner. Here's the new query I used to resolve this issue.
The text was updated successfully, but these errors were encountered: