Hosting Failover Question

I am looking for a Rule of Thumb on failover for hosting, mostly
tcp(webserver), some udp (audio/video streaming) stuff.
My thought is that 5 seconds to failover when a network
element(switch/router/load balancer/FW) fails is reasonable.

How many seconds is reasonable for fail over in such a situation?

Thanks in advance.