cancel
Showing results for 
Search instead for 
Did you mean: 

Gateway timeout issue and high CPU utilization issue

Gateway timeout issue and high CPU utilization issue

I am running my web application in Magento 2.4.3-p1

The daily customer visitor count is 5K

The daily order count is 6k

Cron running for place recurring orders on every 5 minutes

More than 200 admin users for daily activity in admin panel

Server architecture is Single RDS connected with 5 server instances

I am configuring a third-party shipping module also and it will interact with the Magento application via rest API to update shipping status and it will hit 400 hits per minute.

 

Nowadays I am facing continuously timeout issues and High CPU utilization issue

 

Please suggest any useful ideas to improve performance on the Magento admin panel.

Also, suggest system and hardware requirements for instance and RDS

1 REPLY 1

Re: Gateway timeout issue and high CPU utilization issue

Are you using Redis? It should help reduce database calls and alleviate the load at the backend.

 

Here's the guide to enable it for Magento 2:

https://devdocs.magento.com/guides/v2.4/config-guide/redis/redis-pg-cache.html

 

You can either install Redis in your web server, a separate instance or use Amazon ElastiCache for Redis.