
8/20/2020
What this post added
This post details the rewrite of Shopify's storefront rendering system to improve performance and resilience. It describes the architectural shift from a monolithic Rails application to a dedicated storefront renderer, the implementation of an active-active replication setup for read replicas, and the creation of a verifier mechanism using Ruby and Lua on OpenResty. This mechanism compares responses from the legacy and new implementations and dynamically routes traffic to the new system based on verification results, ensuring feature parity and minimizing downtime during the transition.