Fault-tolerant networks: fast and effective solutions in centralized and distributed settings