Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

RR 421: Scaling and Shopify with Kir Shatrov

RR 421: Scaling and Shopify with Kir Shatrov

FromRuby Rogues


RR 421: Scaling and Shopify with Kir Shatrov

FromRuby Rogues

ratings:
Length:
55 minutes
Released:
Jul 16, 2019
Format:
Podcast episode

Description

Sponsors



Sentry use code “devchat” for $100 credit


Cloud 66 - Pain Free Rails Deployments: Try Cloud 66 Rails for FREE & get $66 free credits with promo code RubyRogues


RedisGreen



Panel



Charles Max Wood


Nate Hopkins


Andrew Mason



With Special Guest: Kir Shatrov

Episode Summary

Today’s guest Kir Shatrov is a production engineer on Shopify based in London, UK. Today, he and the panel are discussing capacity planning. Kir believes that capacity planning becomes a priority when your company starts losing money and your customers are suffering. When someone does get to the point of scaling their app, it’s important to look at the limitations of the hosting service. It is also important to remember that scaling is not a job that ever completes.

Kir talks about his experience and time with Shopify and what types of changes have happened in the four years he’s been with the company. Kir explains that when Shopify was founded about 12 years ago, they were some of the first contributors to Rails, and Rails was just a zip file they shared over an email. This is important to know because the monolith code for Shopify has never been rewritten, so they put a lot of care into keeping it working. He talks about some of the techniques Shopify uses to avoid splitting into microservices when scaling their organization and how the multiple instances of the database is structured and managed from an opps point of view. He talks about what aspects of Shopify are open source and the approach to the architecture of the background jobs system.

The panel discusses what should be done if you want to scale your project and move away from background jobs. Kir talks about what criteria his company uses to determine what moves to a background job and when it is too much to background something. The show finishes with Kir sharing some of his favorite tips, tricks, and approaches he’s used at Shopify.

 

Links



Heroku


Digital Ocean


Sidekiq


Shopify job iteration


Redis


PostgreSQL


Resque


Strace 


RB Spy


RB Trace


New Relic


Data Dog


Fat Free CRM



Follow DevChat on Facebook and Twitter

Picks

Nate Hopkins:



Open source


Cats (Maine Coon and Russian Blue)



Charles Max Wood:



75 Hard challenge



Kirill Shatrov: 



Ruby Hack Challenge


Follow Kirill Shatrov @kirshatrov on Twitter and @kirs on Github


Special Guest: Kir Shatrov.
Released:
Jul 16, 2019
Format:
Podcast episode

Titles in the series (100)

All ruby related podcasts from Devchat.tv, including: - Ruby Rogues - My Ruby Story - Ruby Rants