---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=shopify&tag=performance"
---

# Posts

Filtered by topics: Performance engineering, source: Shopify Engineering.

Posts 1–24 of 40, page 1 of 2, newest first.

## 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.

## 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-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-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-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.

## 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-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-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-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.

## 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-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.

## 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-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-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-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-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.

## 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-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-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-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-09-09

- [Leveraging Go Worker Pools to Scale Server-side Data Sharing](https://swe.quest/articles/leveraging-go-worker-pools-to-scale-server-side-data-sharing-5ace4b0b544c8996.md): Shopify Engineering · 2022-09-09 · Medium · 7 min read · Go, Concurrency, Performance engineering, Queues & messaging, Scaling
  Shopify's Server Pixels service, a Go pipeline that consumes over a billion customer events per day from Kafka, fell behind on consumer lag because it spawned an unbounded number of goroutines to process and produce event batches.

## 2022-08-17

- [Instant Performance Upgrade: From FlatList to FlashList](https://swe.quest/articles/instant-performance-upgrade-from-flatlist-to-flashlist-c3a0da3f6c5f1429.md): Shopify Engineering · 2022-08-17 · Easy · 8 min read · React, Mobile, Performance engineering, Open source
  FlashList is Shopify's open-source drop-in replacement for React Native's FlatList.

## 2022-08-11

- [When is JIT Faster Than A Compiler?](https://swe.quest/articles/when-is-jit-faster-than-a-compiler-a0b7c41444704d7c.md): Shopify Engineering · 2022-08-11 · Easy · 7 min read · Compilers, Runtimes & VMs, Ruby, Performance engineering
  JITs can beat ahead-of-time compilers for highly dynamic languages like Ruby because they can compile code under speculative assumptions, such as that Integer#+ hasn't been redefined, and throw that code away (de-optimize) when an assumption breaks.

[Next page](https://swe.quest/index.md?source=shopify&tag=performance&page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=shopify&tag=performance](https://swe.quest/feed.xml?source=shopify&tag=performance). 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)
