Shopify logo

How Shopify Uses Ruby

137 engineering articles about Ruby from Shopify's engineering team

Articles

Filter:
Shopify logo
Shopify
Intermediate
Shopify open-sources Tangle, an ML experimentation platform built to solve six common failure modes in machine learning development.
Shopify Engineering
12 min read
Has Summary
--
Shopify logo
Shopify
Advanced
The article introduces Roast, a structured AI workflow orchestration framework developed by Shopify to enhance developer productivity by integrating AI agents with traditional coding practices.
Obie Fernandez
10 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article provides a retrospective on Packwerk, a Ruby gem developed by Shopify to enforce modularity and boundaries in Rails applications.
Gannon McGibbon
17 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
This article discusses the horizontal scaling of the Rails backend for the Shop app using Vitess, a database system abstraction over MySQL.
Hammad Khalid
31 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article introduces Ruvy, an open-sourced toolchain that converts Ruby code into WebAssembly (Wasm) modules. It highlights Ruvy's performance advantages over existing solutions like ruby.
Jeff Charles
6 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
This article discusses the development of a flexible order routing system using Shopify Functions, enhancing the traditional order routing process by introducing customizable routing rules.
Ebun Segun
9 min read
Has Summary
--
Shopify logo
Shopify
Advanced
This article discusses the efforts made by Shopify to improve the performance of the Ruby garbage collector (GC) in their monolithic application.
Jean Boussier
15 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses the integration of passkeys into Shopify's authentication flows to enhance security and user experience.
Abraão (Abe) Lourenço
7 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Beginner
The article discusses the development and features of the Ruby LSP (Language Server Protocol), aimed at enhancing the developer experience in Ruby programming.
Vinicius Stock
17 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
The article discusses the concept of monkey patching in Ruby, highlighting its dangers and advocating for its limited use.
Eileen Uchitelle
15 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
This article narrates the journey of Cailyn Edwards, a former farmer who transitioned into a successful career as a Senior Infrastructure Security Engineer at Shopify through the Dev Degree program.
Cailyn Edwards
11 min read
Has Summary
--
Shopify logo
Shopify
Advanced
The article discusses the production readiness of YJIT, a Just-In-Time compiler for Ruby, highlighting its development journey, major improvements in Ruby 3. 2, and its deployment at Shopify.
Maxime Chevalier-Boisvert
11 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses the complete rewrite of Shopify's CLI from Ruby to Node. js, focusing on enhancing the developer experience.
Pedro Piñera
13 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
The article discusses the VCR gem for Ruby, which records HTTP interactions and plays them back for testing, providing predictable outputs.
Stephen Prater
9 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
This article discusses how Shopify is enhancing CRuby's performance in Ruby 3. 2 by optimizing the memory layout through the Variable Width Allocation project.
Peter Zhu
14 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
Shopify has adopted Rust as its official systems programming language to enhance its infrastructure for commerce.
Mike Shaver
7 min read
Has Summary
--
Shopify logo
Shopify
Advanced
This article discusses the transition from Ruby's Marshal serialization to MessagePack for caching in Rails applications.
Chris Salzberg
19 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
The article discusses the critical role of caching in Rails applications and the inherent risks associated with using Ruby's Marshal for serialization.
Chris Salzberg
12 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
This article explores the relationships between Ruby's top 100 packages and their dependencies, focusing on the implications of multi-factor authentication (MFA) for package security.
Kevin Lin
9 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses Shopify's innovative compensation system, Flex Comp, which allows employees to customize their total rewards.
Eric Poirier
17 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
This article discusses the safe addition of NOT NULL columns to database tables, focusing on the use of the Large Hadron Migrator (LHM) gem for schema changes in MySQL databases.
Sinclert Pérez
7 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses four approaches to debugging server-side WebAssembly, highlighting the benefits of using WebAssembly in Shopify Functions while addressing the unique challenges it presents.
Jeff Charles
9 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses the importance of focusing on behavior rather than state in software development to create a more maintainable codebase.
John DeWyze
11 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article summarizes key talks from RailsConf 2022, highlighting insights from Shopify engineers on various topics related to Ruby on Rails, performance improvements, and open-source contribution...
Shopify logo
Shopify
Intermediate
The article explores the performance advantages of Just-In-Time (JIT) compilation compared to traditional ahead-of-time (AOT) compilation, particularly in dynamic languages like Ruby.
Noah Gibbs
9 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses Shopify's commitment to open source, particularly its relationship with Ruby on Rails, and how this investment is crucial for long-term success and application health.
Mike Dalessio
7 min read
Has Summary
--
Shopify logo
Shopify
Intermediate
This article discusses the implementation of recurring payments in India following new regulations from the Reserve Bank of India (RBI).
Yash Kapadia
16 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses the onboarding experience for new engineering leaders at Shopify, highlighting the importance of a structured and thoughtful approach to help them integrate into the company c...
Jennie Lundrigan
13 min read
Has Summary
--
Shopify logo
Shopify
Beginner
Shopify's Bug Bounty Program aims to enhance open source security by addressing vulnerabilities discovered through bug reports.
Zack Deveau
5 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
Shopify's journey to cloud development involved transitioning from a local development tool called 'dev' to a more scalable and flexible cloud-native solution named Isospin.
Don Kelly
23 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
The article examines the growing trend of using threaded servers for deploying Ruby applications, particularly focusing on the advantages of increased throughput and memory efficiency.
Jean Boussier
16 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Beginner
The article discusses the implementation of equality in Ruby, highlighting its various forms such as #==, #eql. , #equal. , and #===.
Denis Defreyne
20 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
RailsConf 2022 marked the return of in-person conferences after two years, featuring keynotes, technical tutorials, and discussions on developer culture.
Kevin Ritchie
9 min read
Has Summary
--
Shopify logo
Shopify
Intermediate
Shopify is investing in Ruby on Rails by funding academic research to enhance the Ruby community.
Chris Seaton
5 min read
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses Maestro, a domain-specific orchestration language developed by Shopify to enhance the functionality of Shopify Flow.
Thiago Tonelli
14 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
This article details the experience of porting the YJIT Ruby compiler from C to Rust at Shopify, highlighting the challenges and advantages encountered during the transition.
Maxime Chevalier-Boisvert
19 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
This article presents a curated list of ten tech podcasts recommended by Shopify's engineering team, highlighting their favorite shows that cover a variety of topics relevant to software engineers.
Ashley Sawatsky
7 min read
Has Summary
--
Shopify logo
Shopify
Advanced
The article discusses Shopify's development of a business system integration and automation platform using Ruby on Rails.
Will Watkinson
12 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
This article provides an in-depth examination of Ruby's string representation, focusing on encoding-aware strings and the concept of code ranges.
Kevin Menard
16 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Beginner
The article discusses the refactoring of Liquid-C, an extension of Liquid designed to improve rendering performance by compiling Liquid templates into bytecode for a virtual machine.
Michael Go
5 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Beginner
The article summarizes key talks from RubyConf 2021, highlighting various aspects of Ruby programming, including compiler development, performance optimization, and the adoption of typing systems.
Jennie Lundrigan
11 min read
Has Summary
--
Shopify logo
Shopify
Intermediate
This article serves as a comprehensive guide for aspiring engineers looking to secure an internship at Shopify.
Nathaniel Quarrie
11 min read
Has Summary
--
Shopify logo
Shopify
Intermediate
The article chronicles the journey of a Dev Degree intern at Shopify, focusing on their experiences and lessons learned during their first placement as a back-end developer.
Carmela Leung
12 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Advanced
Shopify's playbook for scaling machine learning outlines a pragmatic guide for successfully implementing machine learning across an organization.
Solmaz Shahalizadeh
13 min read
Has Summary
--
Shopify logo
Shopify
Beginner
This article discusses how Shopify addressed the dependency confusion vulnerability affecting over 600 Ruby applications.
Frederik Dudzik
11 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses a significant incident at Shopify caused by the expiration of Let’s Encrypt’s old root certificate on September 30, 2021, which nearly led to a global outage.
Raphaël Beamonte
7 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Intermediate
The article highlights ten of Shopify's favorite engineering posts from 2021, showcasing a variety of technologies and disciplines.
Shopify logo
Shopify
Intermediate
This article provides ten essential tips for building resilient payment systems, drawing from the author's extensive experience at Shopify.
Bart de Water
14 min read
Includes Code
Has Summary
--
Shopify logo
Shopify
Beginner
This article provides five practical tips for engineers looking to grow their careers, emphasizing the importance of continuous learning, ownership, and mentorship.
Ebun Segun
6 min read
Has Summary
--
Shopify logo
Shopify
Intermediate
The article discusses Shopify's engineering strategies and technological advancements for 2022, focusing on modular code architecture, cloud development environments, and enhanced load testing prac...
Allan Leinwand
7 min read
Has Summary
--