An introduction to stochastic analysis techniques for complex networked systems, covering queueing networks, random graphs, and stochastic geometry. Main topics include Jackson and Whittle networks, reversible network processes, network utility maximization, stochastic network optimization, Erdös–Rényi and Gilbert models, graph evolution and connectivity, random subgraphs, random point processes, Laplace functionals, marked point processes, and Palm probability.