Stopping year-end crashes on a CPE platform for accountants
A continuing education platform kept going down at the busiest time of the year. Profiling found the cause in an unexpected place, and one engineer’s focused fixes made the platform stable under peak load.
The challenge
CPAs must earn a set number of continuing education credits each year, and many complete them in the final weeks of December. That rush drove traffic far above normal, and the platform crashed under the load. Outages hit exactly when users needed the site most, right before their reporting deadline.
What we found
The problem was assigned to Mahmoud to investigate and fix. Instead of adding servers and hoping, he profiled the application under load. The profiler pointed to the home page: a small widget that users didn’t need was consuming a large amount of memory on every visit. Multiplied by thousands of requests, it exhausted server resources. Profiling also showed database queries that were slow because they lacked the right indexes.
The fix
Removed the unneeded widget and rebuilt the home page to load only what visitors use.
Cached the site menu, search and other frequently requested content, so repeat requests no longer hit the application and database every time.
Added indexes for the slowest queries, cutting the work the database did on each request.
Tuned the AWS infrastructure so the leaner application could scale with demand during peak periods.
The result
Together, the refactoring, caching, database fixes and AWS scaling took the platform from struggling with fewer than 50 concurrent users to supporting more than 1,000, and it handled the year-end rush without crashing. Because the work started with the real cause, the infrastructure changes built on a leaner application instead of just paying for more servers.
What this means for you
Performance problems often come down to one or two specific causes. We measure first, fix what the data shows, and only then talk about more hardware. If your site slows down or fails under load, we can profile it and give you a clear, prioritized plan.
This work was done by MK Crew’s founder, Mahmoud Kasdi, as a senior engineer at the firm, before MK Crew Solutions was founded. The organization is not named for confidentiality.
Is your site slow or crashing under load?
Tell us what’s happening and we’ll suggest where to start.
Talk to us
