by AppliedQuantum · 2y ago · 0 comments
Once there are no errors in the new system, you start switching over the systems in a controlled manner where the new system increasingly takes on the production role, and the old one still processes cloned requests for a while as a sanity check…
This way you don’t need an unrealistic staging environment, and you are not introducing any errors into production.
It worked more than 20 years ago when I architected this for a system that had to process 50M transactions every hour.
But no, you don’t send two requests. You compare the calls as they are generated, but you only send one - from the production system. And then you clone the response for the tested system.