Skip to main content
USENIX
  • Conferences
  • Students
Sign in
  • Home
  • Programme
  • Grants for Women
  • Participate

sponsors

Gold Sponsor
Gold Sponsor
[Amazon logo]
Gold Sponsor
Silver Sponsor
Silver Sponsor
Bronze Sponsor
[Demonware logo]
Bronze Sponsor
General Sponsor

connect with us


  •  Twitter
  •  Facebook
  •  LinkedIn
  •  Google+
  •  YouTube

general information

Venue
DoubleTree by Hilton Dublin - Burlington Road
Leeson Street Upper
Dublin 4, Ireland

Questions?
About SREcon?
About Registration?
About Sponsorship?

twitter

Tweets by @SREcon

usenix conference policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

You are here

Home » Scaling Shopify's Multi-Tenant Architecture across Multiple Datacenters
Tweet

connect with us

Scaling Shopify's Multi-Tenant Architecture across Multiple Datacenters

Florian Weingarten, Shopify

Abstract: 

Multi-tenant architectures are a very convenient and economical way to share resources like web servers, job workers, and datastores among several customers on your platform. Even the smallest Shopify store on a $9/month plan can easily survive getting hammered with a 1M RPM flash sale by leveraging the resources of the entire platform. However, architectures like this can also have several drawbacks. They are potentially harder to scale and things like resource starvation or back-end outages are harder to isolate.

In this talk, I’m going to walk you through the history of how Shopify grew from being a small standard single-database single-datacenter Rails application to the multi-database multi-datacenter setup that we run today. We will talk about the advantages in terms of resiliency, scalability, and disaster recovery that this architecture gives us, how we got there, and where we want to go in the future.

You will learn about things like how to use the Border Gateway Protocol and Equal-Cost Multi-Path routing for implementing intra-datacenter high availability, how we implement our own load balancing algorithms, what it takes to prepare a Ruby on Rails application for a move like this, and how we do completely scripted datacenter failovers in a matter of seconds with no considerable downtime.

Originally from Germany, Florian studied mathematics and computer science at RWTH-Aachen University. Did some research on cryptography and privacy in a previous life. Now working as an infrastructure engineer on the core architecture team at Shopify in Ottawa, Canada, poking holes into other people’s code.

Florian Weingarten, Shopify

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

BibTeX
@conference {202540,
author = {Florian Weingarten},
title = {Scaling Shopify{\textquoteright}s {Multi-Tenant} Architecture across Multiple Datacenters},
year = {2016},
address = {Dublin},
publisher = {USENIX Association},
month = jul,
}
Download
View the slides

Presentation Video 

  • Log in or    Register to post comments

Gold Sponsors

[Amazon logo]

Silver Sponsors

Bronze Sponsors

[Demonware logo]

General Sponsors

© USENIX

SREcon is a registered trademark of the USENIX Association.

  • Privacy Policy
  • Contact Us