ResDiary
Moving from RackSpace to Azure meant dealing with different hardware and infrastructure components like load-balancers, databases, and caches. The team needed to accurately plan capacity to avoid costly over-provisioning while ensuring the complex application with many integration points would function correctly under load.
"When the time came to flip the switch, we had confidence that we wouldn't encounter any major catastrophes as we had caught them in our load tests. We were confident enough to run GoReplay totally unsupervised for days on end during the UK migration."
ResDiary faced the challenge of migrating their infrastructure from RackSpace to Azure, dealing with entirely new hardware and infrastructure components. Traditional approaches of over-provisioning and scaling down later would incur unnecessary costs and uncertainty.
- Need for accurate capacity planning without over-provisioning
- Complex application requiring comprehensive testing of all components
- Integration with external services requiring careful handling during testing
While scripted tests could provide high throughput, they couldn't accurately represent the diversity of real-world traffic patterns. The team needed a solution that could handle their complex application with many branches and integration points. GoReplay provided the ability to use actual production traffic for testing.
With GoReplay, we didn't need to think about emulating all possible cases since we could use our actual production traffic. The main challenge was handling application state and session management while preventing any unintended interactions with external services.
The team developed custom GoReplay middleware to handle ASPX session cookies, which would otherwise cause errors when replaying requests. This middleware could map session IDs between live and test environments, maintaining application state while enabling accurate load testing.
The UK migration was particularly challenging with its larger scale and 24-hour database recovery periods between tests. However, our custom middleware and comprehensive testing approach with GoReplay gave us the confidence to run tests unsupervised for days at a time.
Read original article here.
The Solution
Instead of relying on scripted tests that couldn't represent real traffic patterns, the team used GoReplay to capture and replay actual production traffic. They developed custom middleware to handle session management for ASPX cookies, enabling accurate testing without triggering external services like payment providers.
Key Results
Ready to achieve similar results?
Start improving your testing and deployment processes today with GoReplay