Constraints when scaling

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the web-development category.

Last Updated: 2024-11-23

I did some performance testing of a site using locust plus Django and ran into various constraint-related issues: (these are general to many web systems)

Be aware that when you run out of resources, you will start getting various strange exceptions in other parts of the software -- things that normally work fine. Try to identify which exception came first -- and is related to resources. Usually solving this problem will make all the other exceptions go away.