Hi everyone,
I wanted to share my recent experience with a sudden slowdown in Frappe, particularly in the desk/admin view. I found similar issues mentioned in this forum. Initially, I increased the backend instances and later decreased them. After this adjustment, I noticed a significant slowdown when loading the desk.
During debugging, I discovered the issue was related to the frontend instance, which uses Nginx. It seems that when we added more backend instances, Nginx cached the IP addresses. As a result, when clients accessed the desk, Nginx was performing round-robin to the backend servers, some of which were no longer active after reducing the instance size. However, these inactive IPs were still in Nginx’s cache.
To resolve this, I restarted the frontend instance, and everything returned to normal performance.
I hope this helps!