Efficiency And Resilience Of Heterogeneous Networks