Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.5 KB

ARTICLE.md

File metadata and controls

43 lines (31 loc) · 1.5 KB

Queuing Theory for Software Engineers

  • Capacity planning -> from DAU to throughput
  • Predicting software performance with Little's Law
  • Monitoring Queues
  • Traffic shaping with Queues

Exec Summary

Interesting Use-Cases Why????

Queues Are Everywhere!

  • Fork-join pool with work-stealing mechanism
  • Java thread pools & unbounded queues
  • Scylla DB?

The Basics

Let's cover the basic concepts first before we discuss practical applications. What are the key metrics that are in play, when we're investigating a queue? We have the following relevant metrics when talking about queues in general.

queue

  • Arrival rate: The rate at which new work items arrive in the queue.
  • Latency:

Capacity Planning: From DAU to Throughput

References

Distributions

Numpy