Getting Started Tutorials

These 17 step-by-step tutorials introduce the concepts and capabilities of LINE through progressively more advanced examples. Every tutorial provides ready-to-run code in Python, MATLAB, Java, and C++.

Part 1: Queueing Network Fundamentals (Tutorials 1–5)

Start here to learn how to define nodes, open and closed job classes, service distributions, routing strategies, and class switching.

  1. M/M/1 Queue — Basic single-server open queue and average performance table
  2. Multiclass M/G/1 Queue — General service distributions and comparing multiple solvers
  3. Machine Interference Problem — Closed queueing networks with delay and queue stations
  4. Round-Robin Load Balancing — State-independent and round-robin routing strategies
  5. Re-entrant Line Modeling — Multi-pass workflows using class switching and the completes flag

Part 2: Caching, Response-Time Distributions & Optimization (Tutorials 6–10)

Explore content caching policies, response-time cumulative distribution functions (CDFs), parameter optimization, and departure processes.

  1. Queueing Network with Caching — Cache modeling with LRU replacement and Zipf popularity
  2. Delayed-hit Caches with a Retrieval System — Miss retrieval, delayed hits, and expected latency
  3. Response Time Distribution — Response-time CDF analysis and percentile estimation
  4. Optimizing Performance Metrics — Load-balancing weight optimization using LINE solvers
  5. Departure Process Analysis — Simulating and analyzing inter-departure times

Part 3: Layered Networks, Environments, Uncertainty & Petri Nets (Tutorials 11–17)

Model multi-tier software architectures (LQNs), random environments, parameter uncertainty, finite-capacity loss regions, and stochastic Petri nets.

  1. Basic Layered Queueing Network — Multi-tier client/server modeling with tasks, entries, and activities
  2. Random Environments — Queueing networks whose parameters evolve with a Markovian environment
  3. Posterior Analysis — Propagating parameter uncertainty through a queueing model (UQ)
  4. Open Cluster — Comparing job dispatching policies across a parallel compute cluster
  5. A Loss Network — Finite-capacity regions with linear constraints on class occupancies
  6. A Queueing Petri Net — Combining places and transitions with embedded scheduling stations
  7. A Colored Generalized Stochastic Petri Net — Immediate and timed transitions, firing weights, and inhibitor arcs