YoVDO

The Queue Continuum - Applied Queuing Theory

Offered By: Ruby Central via YouTube

Tags

RailsConf Courses Concurrency Courses Queuing Theory Courses Vertical Scaling Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Embark on a Star Trek-themed journey through queuing theory and application scaling in this 30-minute RailsConf 2022 talk. Explore the distinctions between parallelism and concurrency, and learn when to implement additional threads or processes. Dive into examples using Sidekiq and Puma with various concurrency settings in different IO scenarios. Discover key concepts such as Little's Law, the USE Method, vertical and horizontal scaling, and Amdahl's Law. Examine job queueing with Sidekiq, request queueing with Puma, and intelligent routing techniques. Gain insights into balancing customer satisfaction and system performance while optimizing your Ruby applications for scalability and efficiency.

Syllabus

Intro
Transporters Capacity Planning
Basic Terminology Queueing Things
Little's Law
USE Method - Intel Engineer Brendan Gregg
Saturation Causes Service Delays
Vertical Scale Bigger is Better
Vertical scaling makes horizontal scaling more expensive Scaling Quantum
Parallelism is Concurrency Concurrency is not exactly the same na parallelism
Benefits of Threaded Concurrency Sharing Available Resources
Queueing for the GVL Threads Lock On to the Ruby VM
How much concurrency? But you don't have to take my word for it
Amdahl's Law
Job Queueing: Sidekiq Distributed Processing of a Centralized Queue
Latency Based Queueing Latency Bed Scaling
Request Queueing: Puma
Heroku Intelligent Routing Random Routing
Customer Satisfaction
Waiting too long causes frustration
Finding Balance
All Good Things...


Taught by

Ruby Central

Related Courses

Amazon Elastic File System (EFS) Performance (Japanese)
Amazon Web Services via AWS Skill Builder
Learn Intermediate Java: Threading
Codecademy
Learn JavaScript: Best Practices
Codecademy
Intro to Operating Systems 3: Concurrency
Codio via Coursera
Introduction to Operating Systems
Codio via Coursera