---
title: "Shopify Engineering"
description: "Posts from Shopify Engineering on swe.quest."
url: "https://swe.quest/sources/shopify?per=96"
---

# Shopify Engineering

Posts from [Shopify Engineering](https://shopify.engineering), newest first.

Posts 1–96 of 192, page 1 of 2, newest first.

## 2026-11-18

- [Building secure mobile apps in the agentic era](https://swe.quest/articles/building-secure-mobile-apps-in-the-agentic-era-7500fbc38f176116.md): Shopify Engineering · 2026-11-18 · Medium · 6 min read · Application security, Mobile, AI agents, Security, LLMs
  Shopify keeps pace with an 11x jump in mobile code output (~434k lines changed per week during a 12-week agent-driven rewrite) by maintaining a per-app attack surface map covering deep links, WebViews, stored data, permissions and dependencies, where every item carries one of five verdicts and a code link.

## 2026-11-12

- [Cyber Chaos Monkey: Staying ahead of security threats with AI agents](https://swe.quest/articles/cyber-chaos-monkey-staying-ahead-of-security-threats-with-ai-agents-4152f3d289f09c90.md): Shopify Engineering · 2026-11-12 · Medium · 7 min read · AI agents, Vulnerability research, Sandboxing & isolation, Chaos engineering, Kubernetes
  Shopify's Cyber Chaos Monkey (CCM) is an agentic vulnerability hunter that attacks live production infrastructure using test shops, armed with source code, threat intel, past bug reports and deployment records.

## 2026-11-11

- [Shopify’s generative discovery model](https://swe.quest/articles/shopify-s-generative-discovery-model-99e5ac502d9a8c68.md): Shopify Engineering · 2026-11-11 · Hard · 12 min read · Recommendations & ranking, Search, LLMs, Inference & serving, Model training
  Shopify trained a single generative model, adapted from an open-weight LLM, that emits semantic-ID tokens to generate product candidates for both personalized search and recommendation across a catalog of billions.

## 2026-11-10

- [How we rebuilt the Shopify app in 12 weeks](https://swe.quest/articles/how-we-rebuilt-the-shopify-app-in-12-weeks-08ae147088c9e21e.md): Shopify Engineering · 2026-11-10 · Medium · 15 min read · AI for coding, Mobile, Refactoring & migrations, Developer productivity, Code review
  Thirty engineers rebuilt the 300+ screen Shopify mobile app from React Native to native Swift and Kotlin in 12 weeks, with agents writing most of the code.

## 2026-11-05

- [Reflex: an architecture for building mobile apps with agents](https://swe.quest/articles/reflex-an-architecture-for-building-mobile-apps-with-agents-9ce6b38f057be33a.md): Shopify Engineering · 2026-11-05 · Medium · 17 min read · Mobile, Testing, AI for coding, Swift, Java & JVM
  Reflex is Shopify's MVVM architecture for native Swift and Kotlin apps built largely by agents.

## 2026-10-22

- [We gave AI agents a mobile dev environment](https://swe.quest/articles/we-gave-ai-agents-a-mobile-dev-environment-e8b96ac4decaf1a3.md): Shopify Engineering · 2026-10-22 · Medium · 9 min read · AI agents, Mobile, Developer productivity, Virtualization, AI for coding
  Shopify built Remote Dev so its Slack-based coding agent River can build and test iOS and Android apps in parallel on a fleet of remote Macs instead of developers' laptops.

## 2026-10-21

- [How Shopify turns open models into task experts](https://swe.quest/articles/how-shopify-turns-open-models-into-task-experts-a2ba67e222beb92b.md): Shopify Engineering · 2026-10-21 · Hard · 5 min read · Model training, Inference & serving, Evaluation, AI agents, Cost optimization
  Shopify's Sidekick keeps a frontier model for merchant conversation and planning but offloads token-heavy subagent work, such as GraphQL query generation, to open models it post-trains and self-hosts.

## 2026-10-20

- [Cross-store product clustering across millions of stores](https://swe.quest/articles/cross-store-product-clustering-across-millions-of-stores-c9b1fdcfbed466c6.md): Shopify Engineering · 2026-10-20 · Hard · 13 min read · Machine learning, E-commerce, Vector search, Algorithms, LLMs
  Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.

## 2026-10-19

- [Building Overexposed: understanding application exposure](https://swe.quest/articles/building-overexposed-understanding-application-exposure-db7e9a3ccc65fc14.md): Shopify Engineering · 2026-10-19 · Medium · 9 min read · Security, Identity & auth, Cloud platforms, Kubernetes, Application security
  Overexposed is Shopify's scheduled scanner for finding GKE Ingresses and Cloud Run services reachable without authentication.

## 2026-10-01

- [ShopGym: Realistic, reproducible sandboxes for shopping agents](https://swe.quest/articles/shopgym-realistic-reproducible-sandboxes-for-shopping-agents-9debdd2215041431.md): Shopify Engineering · 2026-10-01 · Medium · 6 min read · AI agents, Evaluation, LLMs, E-commerce, Testing
  ShopGym turns live storefronts into self-contained, resettable sandbox shops and generates grounded shopping tasks so agents can be evaluated reproducibly.

## 2026-09-21

- [Helix: The internal tool powering our Shopify app's native migration](https://swe.quest/articles/helix-the-internal-tool-powering-our-shopify-app-s-native-migration-db9fcd596ae9b1fc.md): Shopify Engineering · 2026-09-21 · Medium · 8 min read · AI for coding, AI agents, Mobile, Refactoring & migrations, React
  Helix is Shopify's internal LLM tooling for rebuilding its 300+ screen React Native app in native Swift and Kotlin.

## 2026-09-10

- [Migrating Shop app from React Native to native](https://swe.quest/articles/migrating-shop-app-from-react-native-to-native-d251eff5b6600925.md): Shopify Engineering · 2026-09-10 · Medium · 6 min read · Mobile, React, AI for coding, Refactoring & migrations, Performance engineering
  Shopify rebuilt the Shop app from React Native into native Swift/SwiftUI and Kotlin/Jetpack Compose in 12 weeks, with coding agents porting features using the existing React Native app as a reference.
- [Native is now the future of mobile at Shopify](https://swe.quest/articles/native-is-now-the-future-of-mobile-at-shopify-4bc17172ea398962.md): Shopify Engineering · 2026-09-10 · Easy · 10 min read · Mobile, AI for coding, React, Refactoring & migrations, AI agents
  Shopify is moving its mobile apps from React Native back to native Swift and Kotlin because coding agents have cut the cost of building and keeping features in parity across two platforms, while native still gives closer access to platform capabilities and first-party tooling.

## 2026-09-02

- [How River takes security work from a fix to merge](https://swe.quest/articles/how-river-takes-security-work-from-a-fix-to-merge-8e7d762a71a196e6.md): Shopify Engineering · 2026-09-02 · Medium · 9 min read · AI agents, Supply chain security, Security, Developer productivity
  River, Shopify's Slack-based AI agent, drives dependency and application vulnerability fixes from patch to verified closure.

## 2026-08-19

- [Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost](https://swe.quest/articles/gisting-compressing-llm-agent-context-to-throughput-and-cost-77b1a192c9e3be28.md): Shopify Engineering · 2026-08-19 · Hard · 5 min read · Inference & serving, LLMs, Model training, Cost optimization, Performance engineering
  Shopify compressed the ~6,000-token system prompt of its Sidekick GraphQL agent into ~1,500 learned gist tokens (4:1) without losing prediction quality.

## 2026-08-12

- [How we raised mobile end-to-end test stability to 98%](https://swe.quest/articles/how-we-raised-mobile-end-to-end-test-stability-to-98-ca68fcd3c9f171ff.md): Shopify Engineering · 2026-08-12 · Medium · 6 min read · Testing, Mobile, CI/CD, Computer vision, React
  Shopify rebuilt its mobile end-to-end test framework as an opinionated wrapper over Appium, raising test stability from 50% to 98% and returning the suite to blocking PR checks.

## 2026-08-05

- [Sidekick's continual learning loop](https://swe.quest/articles/sidekick-s-continual-learning-loop-f72e46000910fa09.md): Shopify Engineering · 2026-08-05 · Hard · 9 min read · Model training, Evaluation, Inference & serving, LLMs, Cost optimization
  Shopify's Sidekick GraphQL agent improves daily through a continual learning loop that turns production failures into model weight updates, beating frontier-model quality while cutting estimated serving costs from about $27M to $1M per year (96%).

## 2026-07-29

- [Building an agentic harness that outlasts the model](https://swe.quest/articles/building-an-agentic-harness-that-outlasts-the-model-75504578038e6cc5.md): Shopify Engineering · 2026-07-29 · Medium · 8 min read · AI agents, Application security, Vulnerability research, LLMs, Ruby
  Shopify's AppSec team built Dispatch, a Ruby-orchestrated multi-agent harness that partitions codebases, runs parallel category-specific Hunter agents, verifies candidates with tests written by a different model inside each app's existing test suite, and opens draft fix PRs.

## 2026-07-16

- [Upgrading Checkout Blocks app to Polaris web components](https://swe.quest/articles/upgrading-checkout-blocks-app-to-polaris-web-components-6cf6ef4febe89e45.md): Shopify Engineering · 2026-07-16 · Medium · 10 min read · Frontend, Web performance, Refactoring & migrations, React, E-commerce
  Shopify's Checkout Blocks team migrated five high-traffic checkout UI extensions from React and the legacy Remote UI bridge to Preact, remote-dom and Polaris web components, rewriting them in TypeScript, and cut transferred bundle sizes by 40-85% and extension load time by about 8% at P50.

## 2026-07-14

- [Inside Shopify Hack Days: Building a prototype for music-playing pages](https://swe.quest/articles/inside-shopify-hack-days-building-a-prototype-for-music-playing-pages-365c925b09703aff.md): Shopify Engineering · 2026-07-14 · Medium · 9 min read · E-commerce, Frontend, Product engineering, Engineering culture
  A 13-person Shopify Hack Days team prototyped Shop Sounds, a toolkit for selling music on storefronts.

## 2026-06-17

- [Clustering billions of products for agentic commerce with Catalog API](https://swe.quest/articles/clustering-billions-of-products-for-agentic-commerce-with-catalog-api-20619778c8b2f613.md): Shopify Engineering · 2026-06-17 · Medium · 13 min read · LLMs, E-commerce, Vector search, Algorithms, Evaluation
  Shopify's Catalog groups billions of merchant product listings under Universal Product Identifiers (UPIs) using a precision-first pipeline.

## 2026-06-15

- [Teaching Sidekick to say no: automated data curation with LLM judge consensus](https://swe.quest/articles/teaching-sidekick-to-say-no-automated-data-curation-with-llm-judge-consensus-cbd8b5202d7ba316.md): Shopify Engineering · 2026-06-15 · Medium · 9 min read · Model training, LLMs, Evaluation, AI agents
  Production training data for Shopify's Sidekick segmentation skill contained only successful queries, so the fine-tuned model never learned to refuse impossible requests and instead generated queries returning zero results.

## 2026-06-10

- [Quick: An internal hosting platform for the AI era](https://swe.quest/articles/quick-an-internal-hosting-platform-for-the-ai-era-06fe756175b56679.md): Shopify Engineering · 2026-06-10 · Medium · 9 min read · Developer productivity, System design, Cloud platforms, AI for coding, Engineering culture
  Quick is Shopify's internal static hosting platform: each site is a folder in a Google Cloud Storage bucket, mounted via gcsfuse and served by a wildcard NGINX config behind Identity-Aware Proxy, with \`quick deploy\` wrapping gcloud rsync.

## 2026-05-28

- [Under the River](https://swe.quest/articles/under-the-river-4570734a0df8615c.md): Shopify Engineering · 2026-05-28 · Medium · 10 min read · AI agents, Developer productivity, System design, AI for coding, Build systems
  Shopify's Slack-native agent River co-authors one in eight merged PRs, and it rests on two 2024 bets: a single monorepo (World) and Nix-built reproducible environments across dev, CI and production.

## 2026-05-12

- [We replaced Redis with MySQL for inventory reservations—and it scaled](https://swe.quest/articles/we-replaced-redis-with-mysql-for-inventory-reservations-and-it-scaled-2f8fab4ab3565f02.md): Shopify Engineering · 2026-05-12 · Medium · 10 min read · MySQL, E-commerce, Concurrency, Scaling, Performance engineering
  Shopify moved checkout inventory reservations from Redis to MySQL by modeling one row per sellable unit and using SELECT ...

## 2026-04-22

- [Flow generation through natural language: An agentic modeling approach](https://swe.quest/articles/flow-generation-through-natural-language-an-agentic-modeling-approach-84b1ba2f65ecd1a0.md): Shopify Engineering · 2026-04-22 · Medium · 12 min read · Model training, AI agents, Evaluation, LLMs, ML platforms
  Shopify fine-tuned Qwen3-32B into a tool-calling agent that turns natural-language requests into Shopify Flow automations for Sidekick, reporting 2.2x lower latency and 68% lower cost than the closed frontier model it replaced.

## 2026-04-15

- [Autoresearch isn’t just for training models](https://swe.quest/articles/autoresearch-isn-t-just-for-training-models-00e59e41077ad95c.md): Shopify Engineering · 2026-04-15 · Easy · 8 min read · AI agents, Performance engineering, Build systems, CI/CD, Developer productivity
  Generalizing Karpathy's Autoresearch beyond model training, Shopify built pi-autoresearch, an extension for the Pi agent harness that runs an agent in an endless loop against a single measurable metric: establish a baseline, form a hypothesis, test it, keep improvements and discard crashes or regressions.

## 2026-03-19

- [Building a Magic Mirror: AI retail experiences with Remix](https://swe.quest/articles/building-a-magic-mirror-ai-retail-experiences-with-remix-ffcfc35324fc55fe.md): Shopify Engineering · 2026-03-19 · Medium · 9 min read · LLMs, React, Real-time systems, Computer vision, Product engineering
  An AI-powered "magic mirror" hides a webcam and display behind glass.

## 2026-03-12

- [Shopify’s journey to faster breadth-first GraphQL execution](https://swe.quest/articles/shopify-s-journey-to-faster-breadth-first-graphql-execution-83f0f58b8c4dabd1.md): Shopify Engineering · 2026-03-12 · Hard · 14 min read · GraphQL, Performance engineering, Ruby, Query engines
  Shopify built GraphQL Cardinal, a breadth-first GraphQL execution engine that calls each field resolver once with the full set of objects at that level instead of once per object.

## 2026-02-27

- [2,000 robots walk into a shop...](https://swe.quest/articles/2-000-robots-walk-into-a-shop-197e6155a91a1c15.md): Shopify Engineering · 2026-02-27 · Hard · 8 min read · Inference & serving, AI agents, LLMs, Performance engineering, Hardware
  SimGym runs simulated A/B tests on Shopify storefronts by sending up to 2,000 concurrent LLM-driven shopper agents through Browserbase cloud browsers.

## 2026-02-25

- [The generative recommender behind Shopify's commerce engine](https://swe.quest/articles/the-generative-recommender-behind-shopify-s-commerce-engine-f5ed1bac0cf956d4.md): Shopify Engineering · 2026-02-25 · Hard · 8 min read · Recommendations & ranking, Model training, Machine learning, E-commerce
  Shopify built a foundational generative recommender on HSTU that treats buyer journeys as raw event sequences and trains an autoregressive, causally masked model to predict the next product.

## 2026-01-26

- [SkyPilot at Shopify: Multi-cloud GPUs without the pain](https://swe.quest/articles/skypilot-at-shopify-multi-cloud-gpus-without-the-pain-4e974636618c8521.md): Shopify Engineering · 2026-01-26 · Medium · 6 min read · ML platforms, Kubernetes, Scheduling, Cloud platforms, Cost optimization
  Shopify runs all ML training through SkyPilot as a launcher onto persistent Kubernetes clusters on Nebius and GCP, with a custom policy plugin that intercepts every request to validate labels, route jobs and inject configuration.

## 2026-01-11

- [Building the Universal Commerce Protocol](https://swe.quest/articles/building-the-universal-commerce-protocol-1c31a0f463d3eeef.md): Shopify Engineering · 2026-01-11 · Medium · 6 min read · API design, E-commerce, AI agents, Payments & fintech
  Universal Commerce Protocol (UCP), co-developed by Shopify and Google, is an open standard for AI agents to discover merchant capabilities and complete transactions.

## 2025-12-05

- [Tangle: An open-source ML experimentation platform built at Shopify scale](https://swe.quest/articles/tangle-an-open-source-ml-experimentation-platform-built-at-shopify-scale-07b63a998f39f803.md): Shopify Engineering · 2025-12-05 · Medium · 11 min read · ML platforms, Caching, Data pipelines, Open source, Multi-tenancy
  Tangle is Shopify's newly open-sourced ML experimentation platform: users build pipelines visually as DAGs of containerized CLI components defined in YAML, so components can be written in any language and run on any cloud or locally.

## 2025-12-03

- [Behind the build: 2025's BFCM globe in a pinball machine 🌎🕹️](https://swe.quest/articles/behind-the-build-2025-s-bfcm-globe-in-a-pinball-machine-31ac98f2441d854c.md): Shopify Engineering · 2025-12-03 · Medium · 16 min read · Frontend, React, Performance engineering, Games, Real-time systems
  Shopify's 2025 BFCM live globe was embedded in a browser pinball game built with three.js and react-three-fiber, streaming real merchant orders via server-sent events and reacting to sales milestones and first sales.

## 2025-11-25

- [Run for your money: Engineering a treadmill that prints store credit](https://swe.quest/articles/run-for-your-money-engineering-a-treadmill-that-prints-store-credit-702ad79862116f35.md): Shopify Engineering · 2025-11-25 · Medium · 8 min read · E-commerce, Real-time systems, Hardware, Product engineering
  For NYC Marathon weekend, Shopify and Endorphins Running built a gamified curved manual treadmill that awards in-store credit for holding a chosen pace within a padded "zone" for 30 seconds, earning 1/30th of $75 per second in zone.

## 2025-11-20

- [How we prepare Shopify for BFCM](https://swe.quest/articles/how-we-prepare-shopify-for-bfcm-4b4a641105e86a3e.md): Shopify Engineering · 2025-11-20 · Medium · 8 min read · Chaos engineering, Capacity planning, Scaling, SRE, E-commerce
  Shopify readies for Black Friday Cyber Monday with a year-long program that runs from March to October.

## 2025-11-12

- [Building world-class product search at Shopify: Where C++ excellence meets ML innovation](https://swe.quest/articles/building-world-class-product-search-at-shopify-where-c-excellence-meets-ml-0dc65e1a92fe63ec.md): Shopify Engineering · 2025-11-12 · Easy · 5 min read · Search, Performance engineering, C & C++, Machine learning, Language design
  Shopify's product search runs ML ranking models (transformers, neural rankers, CatBoost/LightGBM) at native C++ speed through RankFlow, a Python-like ranking DSL, and TurboDSL, its execution engine.

## 2025-10-09

- [Beyond classification: How AI agents are evolving Shopify's product taxonomy at scale](https://swe.quest/articles/beyond-classification-how-ai-agents-are-evolving-shopify-s-product-taxonomy-at-4a4993e179b43e33.md): Shopify Engineering · 2025-10-09 · Easy · 10 min read · AI agents, LLMs, E-commerce, Evaluation
  Shopify maintains its 10,000+ category, 2,000+ attribute product taxonomy with a multi-agent LLM system.

## 2025-09-05

- [Migrating to React Native's New Architecture](https://swe.quest/articles/migrating-to-react-native-s-new-architecture-ea77244bbb28fd72.md): Shopify Engineering · 2025-09-05 · Medium · 12 min read · React, Mobile, Refactoring & migrations, Deployment
  Shopify moved Shopify Mobile and POS to React Native's New Architecture (Fabric) without pausing weekly releases.

## 2025-08-26

- [Building production-ready agentic systems: Lessons from Shopify Sidekick](https://swe.quest/articles/building-production-ready-agentic-systems-lessons-from-shopify-sidekick-338be221de1210c1.md): Shopify Engineering · 2025-08-26 · Medium · 6 min read · AI agents, Evaluation, Model training, LLMs
  Shopify's Sidekick merchant assistant outgrew a monolithic system prompt once its tool count passed ~50, so the team moved to just-in-time instructions returned alongside tool results, which kept prompt caches intact and improved maintainability and metrics.

## 2025-08-05

- [MCP UI: Breaking the text wall with interactive components](https://swe.quest/articles/mcp-ui-breaking-the-text-wall-with-interactive-components-5c6a56be154e7a75.md): Shopify Engineering · 2025-08-05 · Easy · 4 min read · AI agents, Frontend, E-commerce, API design
  MCP UI extends the Model Context Protocol so servers can return interactive UI components, such as product selectors, galleries and cart flows, as embedded ui:// resources alongside JSON data.

## 2025-07-31

- [FlashList v2: A ground-up rewrite for React Native's New Architecture](https://swe.quest/articles/flashlist-v2-a-ground-up-rewrite-for-react-native-s-new-architecture-2a2ccd1e1e6adfc9.md): Shopify Engineering · 2025-07-31 · Medium · 7 min read · React, Mobile, Performance engineering, Frontend
  FlashList v2 is a ground-up rewrite of Shopify's React Native list component that drops the need for item size estimates and all native code by relying on the New Architecture's synchronous layout measurement.

## 2025-07-16

- [Leveraging multimodal LLMs for Shopify’s global catalogue: Recap of expo talk at ICLR 2025](https://swe.quest/articles/leveraging-multimodal-llms-for-shopify-s-global-catalogue-recap-of-expo-talk-at-5a595806db6311fb.md): Shopify Engineering · 2025-07-16 · Medium · 11 min read · LLMs, E-commerce, Model training, Inference & serving, Evaluation
  Shopify's Global Catalogue uses fine-tuned open-source vision LLMs (LLaVA 1.5 7B, then LLaMA 3.2 11B, now Qwen2VL 7B) to classify, extract attributes from, standardize and match billions of merchant product listings.

## 2025-06-30

- [Remixing Shopify's Admin: How We Made It 30% Faster and AI-Ready](https://swe.quest/articles/remixing-shopify-s-admin-how-we-made-it-30-faster-and-ai-ready-996b243df73e0345.md): Shopify Engineering · 2025-06-30 · Medium · 7 min read · Web performance, React, Frontend, Refactoring & migrations, AI agents
  Shopify migrated its Admin (67 million daily page views, 101 teams, ~350 PRs merged daily, 3M+ lines of TypeScript) to Remix in SPA mode with Vite.

## 2025-06-20

- [The Future of React Native Graphics: WebGPU, Skia, and Beyond](https://swe.quest/articles/the-future-of-react-native-graphics-webgpu-skia-and-beyond-c599058475fc1e90.md): Shopify Engineering · 2025-06-20 · Easy · 7 min read · React, Mobile, Performance engineering
  React Native WebGPU, built on Google's Dawn, lets React Native apps run Three.js, React Three Fiber, TSL shaders, ComputeToys compute shaders and TensorFlow.js on Metal (iOS) and Vulkan (Android) with no changes, which collapses the separate OpenGL and Metal backends into one.

## 2025-06-18

- [Introducing Roast: Structured AI workflows made easy](https://swe.quest/articles/introducing-roast-structured-ai-workflows-made-easy-0fdb158278ceca92.md): Shopify Engineering · 2025-06-18 · Easy · 9 min read · AI agents, AI for coding, Developer tools, Ruby, Testing
  Roast is Shopify's open-source, Ruby-based CLI framework for orchestrating structured AI workflows.

## 2025-06-12

- [Introducing the commerce payments protocol](https://swe.quest/articles/introducing-the-commerce-payments-protocol-364920964bfb2054.md): Shopify Engineering · 2025-06-12 · Medium · 10 min read · Payments & fintech, System design, Security
  The Commerce Payments Protocol, built by Coinbase and Shopify on Base, brings card-style authorize-and-capture flows onchain using an immutable escrow smart contract between payer and receiver.

## 2025-05-28

- [Resilient Import Maps - Better Theme Development and Beyond](https://swe.quest/articles/resilient-import-maps-better-theme-development-and-beyond-6678d102dbdca2c3.md): Shopify Engineering · 2025-05-28 · Medium · 7 min read · Browsers, JavaScript, Web performance, Caching, Frontend
  Shopify worked with browser vendors to change the HTML spec, Chromium and WebKit so import maps no longer break when JavaScript modules load before them or when a page has more than one map.

## 2025-05-08

- [Evolution of Product Classification at Shopify: From Categories to Comprehensive Product Understanding](https://swe.quest/articles/evolution-of-product-classification-at-shopify-from-categories-to-comprehensive-f7af0d3e764e6a0d.md): Shopify Engineering · 2025-05-08 · Medium · 8 min read · Inference & serving, Machine learning, E-commerce, LLMs, ML platforms
  Shopify's product classification evolved from a 2018 TF-IDF logistic regression model through a 2020 multi-modal classifier to a Vision Language Model system built on the Shopify Product Taxonomy, which covers over 10,000 categories and 1,000+ attributes.

## 2025-04-25

- [Mobile Bridge: Making WebViews Feel Native](https://swe.quest/articles/mobile-bridge-making-webviews-feel-native-d05dd484de9d4898.md): Shopify Engineering · 2025-04-25 · Medium · 7 min read · Mobile, Frontend, Web performance, React
  Shopify's mobile app serves many of its ~600 screens as WebViews, made to feel native through Mobile Bridge, a framework built on @remote-ui/rpc for two-way web/native communication.

## 2025-01-13

- [Five years of React Native at Shopify](https://swe.quest/articles/five-years-of-react-native-at-shopify-84f013b1c431ce8f.md): Shopify Engineering · 2025-01-13 · Easy · 9 min read · React, Mobile, Developer productivity, Engineering management
  After five years, Shopify has migrated all its mobile apps to React Native, with each team choosing its own migration timing, and reports sub-500ms P75 screen loads, over 99.9% crash-free sessions, and an end to iOS/Android feature-parity work.

## 2024-10-30

- [How We Built the BFCM 2023 Globe](https://swe.quest/articles/how-we-built-the-bfcm-2023-globe-509c84faf6998eb6.md): Shopify Engineering · 2024-10-30 · Medium · 17 min read · Frontend, Performance engineering, React
  Shopify's BFCM 2023 live-orders globe was built with Three.js and React-three-fiber, and most of its effects are drawn in single instanced draw calls.

## 2024-10-18

- [How Shopify improved consumer search intent with real-time ML](https://swe.quest/articles/how-shopify-improved-consumer-search-intent-with-real-time-ml-15d46e89bc4248e9.md): Shopify Engineering · 2024-10-18 · Medium · 8 min read · Inference & serving, Stream processing, ML platforms, Search, Cost optimization
  Shopify generates about 2,500 text and image embeddings per second (216M/day) in near real time with Google Cloud Dataflow and Apache Beam's RunInference on T4 GPUs, feeding Storefront Semantic Search and a BigQuery warehouse.

## 2024-08-23

- [Tophat: Crafting a Delightful Mobile Developer Experience](https://swe.quest/articles/tophat-crafting-a-delightful-mobile-developer-experience-ce22d4499b0e4671.md): Shopify Engineering · 2024-08-23 · Medium · 13 min read · Mobile, Developer productivity, Developer tools, Code review, CI/CD
  Shopify built Tophat, a macOS menu bar app that installs CI-built iOS and Android artifacts from GitHub PRs onto simulators, emulators or real devices with one click, eliminating local branch switching and compilation during manual PR testing ("tophatting").

## 2024-08-14

- [Mitigating Deadlocks in high concurrency environments](https://swe.quest/articles/mitigating-deadlocks-in-high-concurrency-environments-f958e9ca77901412.md): Shopify Engineering · 2024-08-14 · Medium · 3 min read · MySQL, Concurrency, Storage engines, Databases
  Concurrent batch upserts into an InnoDB table keyed by a sequential id can deadlock even when processes touch different rows, because the gap locks taken on unique-key collisions span neighbouring index entries that other processes also need.

## 2024-08-02

- [Shipping support for module script integrity in Chrome & Safari](https://swe.quest/articles/shipping-support-for-module-script-integrity-in-chrome-safari-1f1be3d6d912771d.md): Shopify Engineering · 2024-08-02 · Easy · 3 min read · Browsers, Application security, JavaScript, Open source
  Subresource Integrity previously covered only top-level scripts, styles and preloads, not imported ES modules, which forced Shopify's PCI-compliant checkout to shim dynamic imports.

## 2024-03-05

- [Improving Shopify App’s Performance](https://swe.quest/articles/improving-shopify-app-s-performance-3211dcd650ae34c6.md): Shopify Engineering · 2024-03-05 · Medium · 8 min read · Mobile, React, Performance engineering, Caching
  Shopify cut its React Native mobile app's P75 launch time by 44% and screen load times by 59% over 2023, against targets of 2s launch and 500ms critical-screen loads.

## 2024-02-07

- [A Packwerk Retrospective](https://swe.quest/articles/a-packwerk-retrospective-b9d1167fd6021459.md): Shopify Engineering · 2024-02-07 · Medium · 14 min read · Ruby, Static analysis, Refactoring & migrations, System design
  Packwerk, Shopify's static analysis gem for enforcing package boundaries in Rails monoliths via constant references, works best as a dependency-graph tool rather than an API-privacy tool, which is why privacy checks were removed in 3.0.

## 2024-01-17

- [Horizontally scaling the Rails backend of Shop app with Vitess](https://swe.quest/articles/horizontally-scaling-the-rails-backend-of-shop-app-with-vitess-03c7b2da20f98ec3.md): Shopify Engineering · 2024-01-17 · Medium · 27 min read · MySQL, Distributed databases, Ruby, Scaling, Schema migrations
  Shop app outgrew a single MySQL database despite federating tables across databases, so the team moved its Rails backend to Vitess, sharding user-owned tables by user\_id into a "users" keyspace and keeping the rest in an unsharded "global" keyspace.

## 2023-12-04

- [Getting Started with React Native Skia](https://swe.quest/articles/getting-started-with-react-native-skia-faaa1b35d50977ac.md): Shopify Engineering · 2023-12-04 · Medium · 10 min read · React, Mobile, Frontend
  React Native Skia (@shopify/react-native-skia) exposes Google's Skia 2D graphics engine to React Native, giving a cartesian canvas with shapes, paths, shaders and image filters that go beyond what View and react-native-svg handle well.

## 2023-10-18

- [Introducing Ruvy](https://swe.quest/articles/introducing-ruvy-a780cb3b4891bef0.md): Shopify Engineering · 2023-10-18 · Medium · 5 min read · WebAssembly, Ruby, Performance engineering, Open source
  Ruvy is an open-source toolchain built on ruby.wasm that compiles Ruby scripts into WebAssembly modules, pre-initializing the Ruby VM and preloaded Ruby files at build time instead of at startup.

## 2023-09-11

- [Building a ShopifyQL Code Editor](https://swe.quest/articles/building-a-shopifyql-code-editor-ce9a095d961e0a80.md): Shopify Engineering · 2023-09-11 · Medium · 7 min read · Developer tools, Frontend, TypeScript, Compilers
  Shopify integrated ShopifyQL into the CodeMirror editor by writing an adapter that feeds its existing ANTLR-based, LSP-conforming TypeScript language server into CodeMirror's Lezer parse trees, avoiding a Lezer grammar rewrite.

## 2023-08-01

- [Sidekick’s Improved Streaming Experience](https://swe.quest/articles/sidekick-s-improved-streaming-experience-14ee0919ebe52814.md): Shopify Engineering · 2023-08-01 · Medium · 6 min read · LLMs, Real-time systems, Frontend, JavaScript, Product engineering
  Shopify's Sidekick fixes two LLM chat streaming problems: Markdown rendering jank, where partial syntax shows up as raw text, and the long wait while tool calls finish.

## 2023-07-26

- [Shopify’s platform is the Web platform](https://swe.quest/articles/shopify-s-platform-is-the-web-platform-7efe3322420f447d.md): Shopify Engineering · 2023-07-26 · Medium · 10 min read · Frontend, Browsers, React, Developer tools, E-commerce
  Remix is now Shopify's recommended framework for building Admin apps, backed by a rewritten, final version of App Bridge that makes cross-origin iframes behave like a normal web environment.

## 2023-07-18

- [Contributing support for a Wasm instruction to Winch](https://swe.quest/articles/contributing-support-for-a-wasm-instruction-to-winch-3a4d14391ef1d680.md): Shopify Engineering · 2023-07-18 · Hard · 9 min read · WebAssembly, Compilers, Rust, Testing, Open source
  Adding a WebAssembly instruction to Winch, Wasmtime's baseline non-optimizing compiler, touches several layers: the wasmparser VisitOperator visitor, the CodeGenContext that manages the value stack, register allocation and spilling, an ISA-independent MacroAssembler, and an x86\_64 assembler built on Cranelift's ISLE-generated instruction definitions.

## 2023-04-13

- [Creating a Flexible Order Routing System with Shopify Functions](https://swe.quest/articles/creating-a-flexible-order-routing-system-with-shopify-functions-913fde626973c1ef.md): Shopify Engineering · 2023-04-13 · Medium · 8 min read · E-commerce, System design, WebAssembly, Rust
  Shopify rebuilt its order routing, which picks the inventory location an order ships from, around composable "routing rules".

## 2023-04-06

- [Adventures in Garbage Collection: Improving GC Performance in our Massive Monolith](https://swe.quest/articles/adventures-in-garbage-collection-improving-gc-performance-in-our-massive-7c8cc3e83e915743.md): Shopify Engineering · 2023-04-06 · Hard · 13 min read · Memory management, Ruby, Performance engineering, Runtimes & VMs
  Shopify cut Ruby garbage-collection tail latency in its monolith by finding why major GCs were triggered, via GC.latest\_gc\_info(:major\_by), and removing each cause in turn.

## 2023-03-31

- [How Migrating from Vanilla Redux to Redux Toolkit Improved State Management in Shopify POS](https://swe.quest/articles/how-migrating-from-vanilla-redux-to-redux-toolkit-improved-state-management-in-bb79ef4f578fa9c6.md): Shopify Engineering · 2023-03-31 · Medium · 8 min read · React, Refactoring & migrations, Mobile, TypeScript, Frontend
  Shopify's Point of Sale React Native app moved from vanilla Redux to Redux Toolkit over about three months.

## 2023-03-24

- [Supporting Passkeys in Shop's Authentication Flows](https://swe.quest/articles/supporting-passkeys-in-shop-s-authentication-flows-83c5b8b12531ab5a.md): Shopify Engineering · 2023-03-24 · Medium · 6 min read · Identity & auth, Ruby, E-commerce
  Shop added passkeys (WebAuthn public-key credentials) to Shop Pay and the Shop app as a phishing-resistant alternative to email/SMS verification codes, using the webauthn-ruby gem in their Rails backend and serving the flow from an iframe so it works on merchant storefronts.

## 2023-03-16

- [Lessons From Linguistics: i18n Best Practices for Front-End Developers](https://swe.quest/articles/lessons-from-linguistics-i18n-best-practices-for-front-end-developers-4c8a95f11a65dadf.md): Shopify Engineering · 2023-03-16 · Medium · 14 min read · Frontend, Product engineering
  Interpolating nouns into shared UI strings breaks in translation because many languages have grammar English lacks.

## 2023-03-10

- [Unlocking Real-time Predictions with Shopify's Machine Learning Platform](https://swe.quest/articles/unlocking-real-time-predictions-with-shopify-s-machine-learning-platform-f4124fdd81e9cd3f.md): Shopify Engineering · 2023-03-10 · Medium · 13 min read · ML platforms, Inference & serving, Kubernetes, Deployment, Python
  Shopify extended its Ray-based Merlin ML platform with online inference, running each real-time model as a dedicated service in its own namespace on GKE that loads models from the Comet ML registry and can read features from the Feast-based Pano store.

## 2023-02-24

- [Improving the Developer Experience with the Ruby LSP](https://swe.quest/articles/improving-the-developer-experience-with-the-ruby-lsp-7b63921832eb2226.md): Shopify Engineering · 2023-02-24 · Medium · 16 min read · Ruby, Developer tools, Developer productivity
  Ruby LSP is a pure-Ruby language server from Shopify that provides editor features for Ruby without type checking or type annotations, aiming for performance and stability on large codebases like Shopify's Core monolith and leaning toward Rails-specific features.

## 2023-02-21

- [The Case Against Monkey Patching, From a Rails Core Team Member](https://swe.quest/articles/the-case-against-monkey-patching-from-a-rails-core-team-member-b0bd43ce3a761b2b.md): Shopify Engineering · 2023-02-21 · Medium · 14 min read · Ruby, Refactoring & migrations, Open source
  Monkey patching Rails and other gems is brittle and should be avoided.

## 2023-02-14

- [ShopifyQL Notebooks: Simplifying Querying with Commerce Data Models](https://swe.quest/articles/shopifyql-notebooks-simplifying-querying-with-commerce-data-models-518ab97f2ab79e6a.md): Shopify Engineering · 2023-02-14 · Medium · 11 min read · Analytics & OLAP, Data pipelines, E-commerce, Performance engineering
  Shopify built commerce data models behind ShopifyQL Notebooks so merchants can query metrics like sales and view-to-purchase conversion without SQL or joining across departmental datasets.

## 2023-02-09

- [Bringing Javascript to WebAssembly for Shopify Functions](https://swe.quest/articles/bringing-javascript-to-webassembly-for-shopify-functions-80a81868faf1489b.md): Shopify Engineering · 2023-02-09 · Medium · 16 min read · WebAssembly, JavaScript, Runtimes & VMs, Rust, Serverless
  Shopify runs JavaScript in Shopify Functions by compiling the QuickJS interpreter to WebAssembly/WASI via Javy.

## 2023-02-08

- [The Complex Data Models Behind Shopify's Tax Insights Feature](https://swe.quest/articles/the-complex-data-models-behind-shopify-s-tax-insights-feature-49623cc993d19aef.md): Shopify Engineering · 2023-02-08 · Medium · 11 min read · Data pipelines, Analytics & OLAP, SQL, Python
  Shopify's Tax Insights feature tells US merchants when they reach sales-tax economic nexus in each state.

## 2023-02-02

- [The Hardest Part of Writing Tests is Getting Started](https://swe.quest/articles/the-hardest-part-of-writing-tests-is-getting-started-1901209c01252103.md): Shopify Engineering · 2023-02-02 · Medium · 9 min read · Testing
  Getting a test suite started is the hardest part of testing, so begin with small, incremental steps.

## 2023-01-27

- [Performance Testing At Scale—for BFCM and Beyond](https://swe.quest/articles/performance-testing-at-scale-for-bfcm-and-beyond-2d2b72564f475785.md): Shopify Engineering · 2023-01-27 · Medium · 15 min read · Capacity planning, Performance engineering, Testing, Scaling, E-commerce
  Shopify prepares for Black Friday Cyber Monday by repeatedly running full-scale load tests against production: scaling Shopify Core and dependencies (nginx routing, ProxySQL, key/value store) to their BFCM profile, layering five Cronograma-driven traffic flows (browse/buy, admin, flash sale, Storefront API, Hydrogen/Oxygen) with an abort switch, then scaling down in reverse order and running blameless retrospectives.

## 2023-01-20

- [Making Your React Native Gestures Feel Natural](https://swe.quest/articles/making-your-react-native-gestures-feel-natural-2f601419df32539e.md): Shopify Engineering · 2023-01-20 · Medium · 5 min read · React, Mobile, Frontend
  Draggable UI in React Native feels more natural when gesture end-handling accounts for release velocity, not just finger position.

## 2023-01-17

- [Ruby 3.2’s YJIT is Production-Ready](https://swe.quest/articles/ruby-3-2-s-yjit-is-production-ready-05f17a68a56ea05c.md): Shopify Engineering · 2023-01-17 · Easy · 10 min read · Ruby, Compilers, Runtimes & VMs, Performance engineering, Rust
  YJIT, Shopify's JIT compiler for CRuby, became production-ready in Ruby 3.2 after a port from C99 to Rust and a cut in memory overhead to about a third of Ruby 3.1 levels.

## 2023-01-10

- [From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience](https://swe.quest/articles/from-ruby-to-node-overhauling-shopify-s-cli-for-a-better-developer-experience-c31f4bbd707f942e.md): Shopify Engineering · 2023-01-10 · Medium · 12 min read · Developer tools, TypeScript, JavaScript, Refactoring & migrations, Testing
  Shopify rewrote its CLI from Ruby to TypeScript on Node to reduce system requirements, unify the Theme, App and Hydrogen workflows, and stay easy for internal teams to contribute to.

## 2023-01-05

- [Reliving Your Happiest HTTP Interactions with Ruby’s VCR Gem](https://swe.quest/articles/reliving-your-happiest-http-interactions-with-ruby-s-vcr-gem-875b5fd62be42b02.md): Shopify Engineering · 2023-01-05 · Medium · 8 min read · Ruby, Testing
  VCR records live HTTP interactions into YAML "cassettes" and replays them in Ruby tests, giving accurate fixtures for complex, slow, or poorly understood APIs where hand-built Webmock stubs drift from real behavior.

## 2023-01-03

- [Monte Carlo Simulations: Separating Signal from Noise in Sampled Success Metrics](https://swe.quest/articles/monte-carlo-simulations-separating-signal-from-noise-in-sampled-success-metrics-7237ecec15008958.md): Shopify Engineering · 2023-01-03 · Medium · 11 min read · Analytics & OLAP, Python, Algorithms
  A Monte Carlo simulation can quantify how much sampling noise obscures real trends in a success metric that can only be measured by sampling, using Shopify App Store audits (a "shop issue rate" modeled as Poisson-distributed requirement violations) as the example.

## 2022-12-29

- [React Native Skia: A Year in Review and a Look Ahead](https://swe.quest/articles/react-native-skia-a-year-in-review-and-a-look-ahead-1566e23ad90d699d.md): Shopify Engineering · 2022-12-29 · Medium · 9 min read · Mobile, React, Performance engineering, Testing, Open source
  React Native Skia moved from an alpha with JS-thread bottlenecks to a declarative architecture called Skia DOM that executes Skia drawings entirely on the UI thread.

## 2022-12-27

- [Migrating our Largest Mobile App to React Native](https://swe.quest/articles/migrating-our-largest-mobile-app-to-react-native-da3490e74f9ce01b.md): Shopify Engineering · 2022-12-27 · Medium · 12 min read · Mobile, React, Refactoring & migrations
  Shopify is moving its largest native app, Shopify Mobile (300 screens per platform), to React Native through "Iterative Porting" rather than a rewrite.

## 2022-12-25

- [Optimizing Ruby’s Memory Layout: Variable Width Allocation](https://swe.quest/articles/optimizing-ruby-s-memory-layout-variable-width-allocation-7db49cee151f4d44.md): Shopify Engineering · 2022-12-25 · Hard · 13 min read · Memory management, Ruby, Runtimes & VMs, Performance engineering
  Ruby 3.2's Variable Width Allocation replaces CRuby's single 40-byte RVALUE slot with five size pools (40, 80, 160, 320 and 640 bytes) so classes, strings, arrays and objects can store their data adjacent to the object instead of in separate malloc'd memory.

## 2022-12-22

- [Year in Review 2022: Tenderlove's Ruby and Rails Reflections and Predictions](https://swe.quest/articles/year-in-review-2022-tenderlove-s-ruby-and-rails-reflections-and-predictions-d873d71ac3e91545.md): Shopify Engineering · 2022-12-22 · Easy · 8 min read · Ruby, Runtimes & VMs, Memory management, Developer tools, Compilers
  Ruby's 2022 highlights include YJIT's rewrite in Rust and its new ARM support, so \`ruby --yjit\` now runs on Apple Silicon development machines as well as production.

## 2022-12-20

- [Automatically Rotating GitHub Tokens (So You Don’t Have To)](https://swe.quest/articles/automatically-rotating-github-tokens-so-you-don-t-have-to-45a6ed60a4bb7896.md): Shopify Engineering · 2022-12-20 · Medium · 11 min read · Identity & auth, CI/CD, Security, Developer tools
  Shopify replaced long-lived GitHub personal access tokens with short-lived GitHub App installation tokens that are rotated automatically by scheduled GitHub Actions workflows and written into repository secrets.

## 2022-12-13

- [3 (More) Tips for Optimizing Apache Flink Applications](https://swe.quest/articles/3-more-tips-for-optimizing-apache-flink-applications-9c796b6721a565fb.md): Shopify Engineering · 2022-12-13 · Medium · 7 min read · Stream processing, Performance engineering, Queues & messaging
  Three practices for tuning large stateful Apache Flink jobs, drawn from Shopify's streaming platform.

## 2022-11-30

- [Using Server Sent Events to Simplify Real-time Streaming at Scale](https://swe.quest/articles/using-server-sent-events-to-simplify-real-time-streaming-at-scale-27a5424d07541ac7.md): Shopify Engineering · 2022-11-30 · Medium · 9 min read · Real-time systems, Stream processing, Go, Scaling, Load balancing
  Shopify replaced its 2021 BFCM Live Map delivery path, in which WebSocket fed a presentation layer that clients polled through a mailbox system every 10+ seconds, with a Go Server Sent Events server.

## 2022-11-29

- [How to Export Datadog Metrics for Exploration in Jupyter Notebooks](https://swe.quest/articles/how-to-export-datadog-metrics-for-exploration-in-jupyter-notebooks-c6d7f453ea6de7b5.md): Shopify Engineering · 2022-11-29 · Medium · 4 min read · Observability, Python
  Datadog dashboards aggregate metrics more coarsely as the time window grows (e.g. 1-second points over 15 minutes become 2-hour points over 30 days), hiding short-lived events and limiting statistical analysis.

## 2022-11-24

- [Our Solution for Measuring React Native Rendering Times](https://swe.quest/articles/our-solution-for-measuring-react-native-rendering-times-135893900ace12dd.md): Shopify Engineering · 2022-11-24 · Medium · 11 min read · React, Mobile, Performance engineering, Observability
  Shopify's open-source @shopify/react-native-performance library measures Time To Interactive in React Native apps across three scenarios: app startup, navigation between screens, and screen re-renders.

## 2022-11-22

- [Implementing Server-Driven UI Architecture on the Shop App](https://swe.quest/articles/implementing-server-driven-ui-architecture-on-the-shop-app-6be47fae080cf1dc.md): Shopify Engineering · 2022-11-22 · Medium · 10 min read · Mobile, GraphQL, React, System design, API design
  Shopify's Shop App moved its Store Screen from client-driven to server-driven UI so the backend decides which sections (Best Sellers, Collections, All Products) and layouts (Grid, Shelf) each merchant's store renders.

## 2022-11-15

- [Caching Without Marshal Part 2: The Path to MessagePack](https://swe.quest/articles/caching-without-marshal-part-2-the-path-to-messagepack-dde2d14188f0b673.md): Shopify Engineering · 2022-11-15 · Medium · 17 min read · Ruby, Caching, Refactoring & migrations
  Shopify replaced Ruby's Marshal with MessagePack as the Rails cache format for its core monolith so that code changes would stop breaking cached payloads on deploy.

## 2022-11-11

- [Caching Without Marshal Part 1: Marshal from the Inside Out](https://swe.quest/articles/caching-without-marshal-part-1-marshal-from-the-inside-out-57f413ca18174072.md): Shopify Engineering · 2022-11-11 · Medium · 11 min read · Ruby, Caching, Runtimes & VMs
  Ruby's Marshal serializes an object's full class graph into cache entries, so a refactor that renamed classes caused old and new code to choke on each other's cached beta-flag objects mid-deploy and triggered an incident at Shopify.

[Next page](https://swe.quest/sources/shopify.md?per=96&page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=shopify](https://swe.quest/feed.xml?source=shopify). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
