-
Notifications
You must be signed in to change notification settings - Fork 132
Heavy CPU load on graphql calls #968
-
First of all, sorry if this is not suited here (on this section or even on this repo) but I guess I'm having a hard time figuring what the heck is happening with my project and it could be that it's happening with others ( here and here) too.
So basically everyt ime I build my nextjs project it takes a lot of time and by going to the server and running top
I've found that php-fpm
is using a lot of CPU.
Not only that but just a simple Postman call to graphql will have the same effect.
I've already tried different "backends"/stacks (trellis on Digital Ocean, trellis on AWS Lightsail and a simple app container with Wordpress on Lightsail as well) and I get the same issue all the time.
Adding a Cache won't help here and in fact I'm already using Redis with wp-graphql-cache.
Is this something that happens/have happened to you already?
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 1
Replies: 1 comment 1 reply
-
We have noticed high usage on builds as well.
Beta Was this translation helpful? Give feedback.
All reactions
-
Interesting.
Do you also noticed when doing a request to a page that wasn't generated during the build or even when doing a request through postman or any other API testing platform?
Beta Was this translation helpful? Give feedback.