
Shopify loves Ruby and opportunities to get together with other engineers who love Ruby to learn, share, and build relationships. In November, Rubyists from Shopify’s Ruby and Rails infrastructure teams gathered in Denver at RubyConf 2021 to immerse themselves in all things Ruby with a community of their peers. If you weren’t there or want to revisit the content, we’ve compiled a list of the talks

The complete guide to getting an internship at Shopify. Interns work on real projects, solve hard problems, and gain practical feedback along the way.

How my team redefined the way we store one of the polymorphic associations in the Shopify codebase. This post is the solution we wish we found when we were looking.

Hello readers, We’re conducting a survey so we can get a better sense of the stories you’re interested in reading. The survey will take five minutes to complete.

Through our experience building our first few models, Shopify Data carved out a pragmatic step-by-step guide that has enabled us to successfully scale machine learning across our organization.
SEShopify Engineering·February 11, 2022AI & ML 
Learn about Tailwind, our preferred way to style websites that enables developers to build beautiful storefronts quickly with Hydrogen, our React-based framework for building custom storefronts.
SEShopify Engineering·February 11, 2022Frontend 
A deep dive into the patterns and best practices for React Server Components learned while building Hydrogen, Shopify's React-based framework for building custom storefronts.
SEShopify Engineering·February 4, 2022Frontend 
Hydrogen's currently in developer preview and I'm excited to show you how you can rapidly build out a simple product page by leaning on Hydrogen's components.

How Shopify solved the dependency confusion vulnerability in over 600 Ruby applications and created tailored large-scale migration tooling to make it easier.
SEShopify Engineering·January 27, 2022SRE & Ops 
Shopify CTO Allan Leinwand outlines some of the company's biggest engineering priorities for 2022.

At Shopify, we draw very few lines between “data” and “engineering” work. Instead we have “search” work.

In distributed systems, there’s plenty of occasions for things to go wrong. This is why resiliency and redundancy are important. But no matter the systems you put in place, no matter whether you did or didn’t touch your deployments, issues might arise. It makes it critical to acknowledge the near misses: the situations where something could have gone wrong and the situations where something did, b
SEShopify Engineering·January 12, 2022SRE & Ops 
A curated selection of our favorite 2021 posts, spanning technologies & engineering disciplines, with a few classics you still love, read, and share.

You’ve probably seen the “Data Science Hierarchy of Needs” (pictured below) before. Inspired by Maslow, it shows the tooling you would use at different levels in data science—from logging and user-generated content at the bottom, to AI and deep learning at the very top. While hierarchies like this one can serve as helpful guides, at Shopify, we don’t think it always captures the whole picture. For
SEShopify Engineering·December 21, 2021AI & ML 
Shopify Data built a real-time buyer signal data pipeline to show relevant customer information to merchants while they’re chatting with their customers.

A deep dive into how Shopify Data revamped the data infrastructure powering our BFCM live map using Apache Flink.

Learn how the Database Platform team performed the most recent MySQL upgrade at Shopify and how this changed our upgrade guidelines moving forward.
SEShopify Engineering·December 2, 2021Databases 
A deep dive into the latest generation of technology that allows developers to extend Shopify’s UI.

Being the first to build an App Clip in React Native that was going to be surfaced to millions of Shopify's Shop app users each day proved to be a challenging task.
SEShopify Engineering·November 26, 2021Frontend 
Five practical tips to help you grow and navigate your engineering career.

In this study, we prove how Shopify Capital (one of our first machine learning products) has real-world impact by making merchant funding accessible.
SEShopify Engineering·November 11, 2021AI & ML 
The future of commerce is dynamic, contextual, and personalized. Hydrogen is a React-based framework for building custom and creative storefronts powered by Shopify’s platform and APIs.

A deep dive into each metric of Google Core Web Vitals.

Learn how an always-on approach to career development improves your team. Leverage quarterly calibrations, weekly syncs, and more. Template available!

Learn how to set, track and reach your development goals. Access templates for Engineering Managers or Individual Contributors throughout your career.

Shopify’s Data Reliability team built custom verification, benchmarking, and profiling tooling for testing and analyzing Trino. Our tooling is designed to minimize the risk of various changes at scale.

An overview of how we investigated and solved the issue of some Kubernetes Pods running MySQL starting up and shutting down slower than other similar Pods with the same data set.
SEShopify Engineering·October 21, 2021Databases 
Learn how fast YJIT really is. This posts walks through Shopify's new benchmarking harness for YJIT, plus graphs and benchmarks updated twice a day.

Shopify is building a new JIT implementation on top of CRuby. This post walks through how to build CRuby and all about building YJIT.

A team of skilled engineers from Shopify and GitHub on YJIT, a new Just-in-time (JIT) compiler built inside CRuby.
SEShopify Engineering·October 14, 2021Languages 
Shopify optimization expert Meinolf Sellmann collaborated with his former colleagues to win the AI4TSP Competition that focuses on solutions to the Travelling Salesperson Problem.

Carmela, Dev Degree student, shares how she learned to appreciate the stages of learning, dispel the myth of the “real developer”, combat imposter syndrome by asking for help, and the power of valuing representation.

At Shopify, we develop a bunch of different React Native mobile apps: Shop, Inbox, Point of Sale, Shopify Mobile, and Local Delivery. These apps represent different business domains, but they often have shared pieces of functionality like login or foundational blocks they build upon. Wouldn’t it be great to leverage development speed and focus on important product features by reusing code other te

This post explains how we’re able to balance our MySQL shards by migrating shops across shards—entirely online and with virtually zero consumer-facing downtime.
SEShopify Engineering·September 24, 2021Databases 
We built a custom write-through cache for the Shop app's home feed that reduced database load by 15% and overall app latency by about 20%.
SEShopify Engineering·September 22, 2021Databases 
We reevaluated our existing product categorization model to ensure we’re understanding what our merchants are selling, to build the best products that help power their sales.

Swift’s struct isn’t as convenient as Kotlin’s data class because it doesn't have a similar copy function. Learn how to adopt this pattern in Swift.

We share five steps on approaching machine learning from a business perspective that helped to build and scale our suite of machine learning products.
SEShopify Engineering·August 25, 2021AI & ML 
It begins with a clever Ruby trick to extract a value from a deeply nested hash we want to refactor and ends with a prototype changing the language itself.

I’ve been managing Developer Infrastructure teams (alternatively known as Developer Acceleration, Developer Productivity, and other such names) for almost a decade now. Developer Infrastructure (which we usually shorten to “Dev Infra”) covers a lot of ground, especially at a company like Shopify that’s invested heavily in the area, from developer environments and continuous integration/continuous

In every business, regardless of industry, it is important to keep an open communication line between the consumer and the producer. In the tech world, this line of communication comes in the form of customer support, chatbots, or contact forms.

In Understanding GraphQL for Beginners–Part Three, we learn what are mutations and create mutation queries to modify data.

Mob programming builds on pair programming but instead of two people pairing, it's an entire mob—more than two people—pairing on the same problem.

Shopify has a playbook for huge engineering programs in the past that cross over multiple areas of complexity on the platform, and we’d like to share it with you.

We hope that by sharing our experiences learning React Native, we can help soothe your anxieties and empower you to explore this exciting technology.
SEShopify Engineering·July 16, 2021Frontend 
At Shopify, we’ve developed our own patterns in order to support our global platform. Before coming here, I've developed multiple Ruby (and Rails) applications at multiple growth stages. Because of that, I quickly came to appreciate some workarounds and automation that were created to support the large codebase of Shopify. If there’s something I appreciate about Ruby on Rails, it’s the principle o

We’ll discuss how we scaled our interactive query infrastructure to handle the rapid growth of our datasets, while enabling a query execution time of less than 5 seconds.

High availability and short response times are necessary, making background jobs an indispensable tool regardless of the application’s scale.

In the second part of Understanding GraphQL for Beginners, we’ll learn how to create a GraphQL object and root fields.

As technology evolves, one thing that contrasts REST and is gaining popularity is GraphQL. But what is it exactly? Within this post, we will learn what GraphQL is all about!

Let's Encrypt is a game changer for the industry. For a big software-as-a-service company like Shopify, it saves time because their implementation is built around an open specification.

GraphQL opens new possibilities for rate limiting. I’ll show you Shopify’s rate limiting system for the GraphQL Admin API and how it addresses some limitations of common methods commonly used in REST APIs.

10 hard-earned lessons from controlled experiment, considered the gold standard approach for determining the true effect of a change.

As more clients rely on GraphQL to query data, we witness performance and scalability issues emerging. We share some query strategies for GraphQL at scale.

Building Shopify’s schematization platform for managing Personally Identifiable Information (PII) within our data warehouse.

@shopify/get-repo-images is an open source solution that makes it easily find illustrations and their references in code across multiple repositories.

Join us as we talk with developers setting the React Native standards at Shopify. They’ll share more on how we write performant React Native apps.
SEShopify Engineering·May 27, 2021Frontend 
Whether determining which orders to fulfill first or assessing how their customer acquisition efforts are performing, our merchants rely on data to make informed decisions about their business. In 2013, we made easy-access to data a reality for Shopify merchants with the Analytics.

Mental models within an industry, company, or even a person, change constantly. As methodologies mature, we see the long term effects our choices have wrought and can adjust accordingly. As a team or company grows, methodologies that worked well for five people may not work as well for 40 people.

To do your best work as a developer, you need context. A development community thrives when its members share context as a habit. That's why Shopify Engineering believes that sharing context is vital to our growth and success—as a company, as a team, and as individuals. Context is an abstract term, and we use it to refer to the why, what, and how of our development philosophies, approaches, and ch