Skip to main content
Back to blog
performance 3 April 2020 2 min read

Supermarket Overload

Examining performance challenges faced by grocery retailers during the COVID-19 pandemic and strategies for handling unexpected traffic surges.

M

Mark

Performance Testing Expert

This piece examines performance challenges faced by grocery retailers during the COVID-19 pandemic, when website traffic surged unexpectedly.

The Problem

One major supermarket chain encountered significant checkout difficulties, particularly with processing bank authorization responses. Customers experienced repeated errors requiring multiple authorization attempts, suggesting potential timeout or data handling issues in the payment processing system.

Performance Improvement Strategies

Here are twelve actionable approaches to handle traffic surges:

Infrastructure Solutions

  1. Scale infrastructure behind load balancers - Distribute traffic across additional nodes
  2. Add dedicated hardware - For resource-intensive tasks
  3. Increase connection pool sizes - Between servers and databases

Software Optimization

  1. Implement message queues - Manage authorization requests with acknowledgment verification
  2. Implement web caching - For static product images
  3. Throttle network traffic - During peak loads
  4. Extend timeout thresholds - For slow components
  5. Reduce logging verbosity - During high-stress periods

Content Simplification

  1. Remove excessive product images - Limit images per page
  2. Eliminate non-essential pages - Such as product recommendation flows
  3. Implement pagination - Limit products displayed per page
  4. Compress assets - Reduce bandwidth requirements

Conclusion

While specific issues vary, these systematic approaches address common bottlenecks in e-commerce infrastructure during traffic spikes. The key is identifying your particular constraints and applying the appropriate solutions.

Tags:

#performance-testing #scalability #e-commerce #case-study

Need help with performance testing?

Let's discuss how I can help improve your application's performance.

Get in Touch