Guys,
I am really struggling at my prisma server. I have migrated lately from 1.34 to 3.1 and my queries extremly slowed down compared to the previous version.
I have tested at local development for a dataset of 1000 records. And debugged the resolver, and the resolver provides the dataset under 1 second, and returns it from the function. But then at the client side its pending ( at the network tab) for about 27 sec more.
I have tested at the playground also with a similar query as the client has, but there is the same amount of 27 sec waiting until the data provided.
It should not network related since the resolver provide the dataset quite fast, under 1 sec.
And it has also not client related since playground also suffer from this long wait time to display the result, after the data resolved.
I am using apollo-server-express “^3.5.0” and “nexus”: “^1.1.0”, “@prisma/client”: “^3.10.0”,
I really does not have any idea where to go from here. Advices appreciated.
Many thanks
UPDATE
Probably It caused by the nested queries, since i just tested the main query return time!
But still it is a significant performance loss compared to v1.34, which resulted the final result approx 8-10x faster for the same query.
Is it possible to debug the nested calls?