Network Process: How Topology Impacts the Dynamics of Epidemics and Cascading Failures