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.
- M/M/1 Queue — Basic single-server open queue and average performance table
- Multiclass M/G/1 Queue — General service distributions and comparing multiple solvers
- Machine Interference Problem — Closed queueing networks with delay and queue stations
- Round-Robin Load Balancing — State-independent and round-robin routing strategies
- Re-entrant Line Modeling — Multi-pass workflows using class switching and the
completesflag
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.
- Queueing Network with Caching — Cache modeling with LRU replacement and Zipf popularity
- Delayed-hit Caches with a Retrieval System — Miss retrieval, delayed hits, and expected latency
- Response Time Distribution — Response-time CDF analysis and percentile estimation
- Optimizing Performance Metrics — Load-balancing weight optimization using LINE solvers
- 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.
- Basic Layered Queueing Network — Multi-tier client/server modeling with tasks, entries, and activities
- Random Environments — Queueing networks whose parameters evolve with a Markovian environment
- Posterior Analysis — Propagating parameter uncertainty through a queueing model (UQ)
- Open Cluster — Comparing job dispatching policies across a parallel compute cluster
- A Loss Network — Finite-capacity regions with linear constraints on class occupancies
- A Queueing Petri Net — Combining places and transitions with embedded scheduling stations
- A Colored Generalized Stochastic Petri Net — Immediate and timed transitions, firing weights, and inhibitor arcs