Home/Shopify Engineering
Source

Shopify Engineering

317 articles from Shopify Engineering.

Frontend — Migrating to React Native's New Architecture (2025) - Shopify

Migrating to React Native's New Architecture (2025) - Shopify

Shopify successfully migrated two of its largest apps, Shopify Mobile and Shopify Point of Sale (POS) to React Native's New Architecture while maintaining weekly releases and serving millions of merchants. This migration involved a complex codebase with hundreds of screens and native modules, extensive custom components, and deep integration with first-party libraries like FlashList.

SEShopify Engineering·September 5, 2025Frontend
AI & ML — MCP UI: Breaking the text wall with interactive components (2025) - Shopify

MCP UI: Breaking the text wall with interactive components (2025) - Shopify

MCP UI extends the Model Context Protocol to enable AI agents to return fully interactive UI components. It solves the critical challenge that commerce experiences require visual and interactive elements like product selectors, image galleries, and cart flows. This open-source protocol allows agents to embed commerce components while maintaining control through an intent-based messaging system, de

SEShopify Engineering·August 5, 2025AI & ML
Engineering — Leveraging multimodal LLMs for Shopify’s global catalogue: Recap of expo talk at ICLR 2025 - Shopify

Leveraging multimodal LLMs for Shopify’s global catalogue: Recap of expo talk at ICLR 2025 - Shopify

Shopify’s Global Catalogue demonstrates the impact of multimodal LLMs on one of commerce’s hardest problems: building a unified, structured, and continuously evolving understanding of billions of product listings created by millions of merchants. At the International Conference on Learning Representations (ICLR) 2025 Expo in Singapore, we presented the core engineering behind this initiative

SEShopify Engineering·July 16, 2025Engineering
AI & ML — Introducing Roast: Structured AI workflows made easy (2025) - Shopify

Introducing Roast: Structured AI workflows made easy (2025) - Shopify

Roast is a convention-oriented workflow orchestration framework designed specifically for creating structured AI workflows that interleave AI prompting with normal non-AI execution. It provides a declarative approach primarily using YAML configuration and markdown prompts, giving AI agents the guardrails they need to solve developer productivity problems at scale.

SEShopify Engineering·June 18, 2025AI & ML
Performance — Resilient Import Maps - Better Theme Development and Beyond (2025) - Shopify

Resilient Import Maps - Better Theme Development and Beyond (2025) - Shopify

Import maps are great for both performance and developer experience, but their original limitations made them hard to use, especially at Shopify’s scale. We stepped up and pushed changes across the HTML spec, Chromium and WebKit to fix these issues at the web platform level. Now, developers can interleave JavaScript modules and multiple import maps on their HTML pages without worrying about correc

SEShopify Engineering·May 28, 2025Performance
Frontend — Five years of React Native at Shopify (2025) - Shopify

Five years of React Native at Shopify (2025) - Shopify

Five years ago, we announced that React Native (RN) is the future of mobile at Shopify. Today, we are excited to share the progress we've made, lessons learned, and what the future holds. To recap, we decided to switch to RN for 3 main reasons: Write it once - Stop building the same features twice, once on iOS and once on Android Talent portability - Enable devs to work fluently across iOS, Androi

SEShopify Engineering·January 13, 2025Frontend
Performance — How We Built the BFCM 2023 Globe - Shopify

How We Built the BFCM 2023 Globe - Shopify

Every year for Black Friday Cyber Monday (BFCM), we put together a real-time visualization of purchases made through Shopify-powered merchants worldwide. This year we're cooking up something big, and in anticipation we wanted to show you how we built the globe last year. Video of BFCM 2023 Globe Besides going for better visuals, a big focus was performance. We've put together an interactive deep d

SEShopify Engineering·October 30, 2024Performance
AI & ML — How Shopify improved consumer search intent with real-time ML - Shopify

How Shopify improved consumer search intent with real-time ML - Shopify

In the dynamic landscape of commerce, Shopify merchants rely on our platform's ability to seamlessly and reliably deliver highly relevant products to potential customers. Therefore, a rich and intuitive search experience is an essential part of our offering. Over the past year, Shopify has been integrating AI-powered search capabilities into our merchants’ storefronts. Shopify Storefront Search ha

SEShopify Engineering·October 18, 2024AI & ML
Databases — Mitigating Deadlocks in high concurrency environments - Shopify

Mitigating Deadlocks in high concurrency environments - Shopify

The problem In order to guarantee data integrity, MySQL requires locks prior to updating existing records. If multiple processes update data in the same table in parallel, deadlocks can occur depending on how the data is stored in disk and managed by MySQL. That can happen even if the different processes target different records. This blog post explores the problem of deadlocks in MySQL while upda

SEShopify Engineering·August 14, 2024Databases
Performance — Improving Shopify App’s Performance - Shopify

Improving Shopify App’s Performance - Shopify

As an integral part of Shopify's ecosystem, our mobile app serves millions of merchants around the world every single day. It allows them to run their business from anywhere and offers vital insights about store performance, analytics, orders, and more. Given its high-engagement nature, users frequently return to it, underscoring the importance of speed and efficiency. At the beginning of 2023, we

SEShopify Engineering·March 5, 2024Performance
Distributed — A Packwerk Retrospective - Shopify

A Packwerk Retrospective - Shopify

This article was originally posted on the Rails at Scale blog. In September, 2020, our team at Shopify released a Ruby gem named Packwerk, a tool to enforce boundaries and modularize Rails applications. Since its release, Packwerk has taken on a life of its own, inspiring blog posts, conference talks, and even an entire gem ecosystem. Its popularity is an indication that Packwerk clearly filled a

SEShopify Engineering·February 7, 2024Distributed