-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ultra-slow first request performance #936
Comments
How are you running the edgedb server? If you're using the |
We are running EdgeDB servers on bare metal Ubuntu instances. The EdgeDB server did not change between the Node 16 and above transitions we did. |
I also noticed that this happens on the EdgeDB UI app side of things enabled on the production server. Could this be linked to the complexity of the DB and therefore be more appropriate to talk about this in the EdgeDB repo? |
Describe the bug
We have been using EdgeDB in production for a while, and a few months ago updated our NodeJS version from v16 to v18 and more on multiple projects. We have been experiencing ultra-slow first request performances, every time our EdgeDB client is trying to execute a request after a while.
Reproduction
As this is a performance issue, I guess it might be kinda hard to replicate. We have a small DB with 56 types and 16380 objects, and this way of running requests.
Expected behavior
Initial request should not take up to 50x more time to run than following requests.
Versions
edgedb-js
version: 1.4.1We tried a lot of Node versions such as
v18.16.1
,v19.8.1
,v20.8.0
,v20.11.0
,v21.6.0
. We also tried Bunv.1.1.0
and got the same results.Thanks for your help!
The text was updated successfully, but these errors were encountered: