I know that anycast will failover for layer 3 issues but will anycast failover if a file is not present? I.E. like a 404?
It seems like it won't, like as long as nginx returns something anycast will consider that server healthy.
I know that anycast will failover for layer 3 issues but will anycast failover if a file is not present? I.E. like a 404?
It seems like it won't, like as long as nginx returns something anycast will consider that server healthy.
I know that anycast will failover for layer 3 issues but will anycast failover if a file is not present? I.E. like a 404?
Neither nor. Anycast presents a specific IP address at multiple points in the network. When the currently routed destination is unavailable or broken, then that's it.
All the client could do is send another, identical request. Unless there's some way that the network itself fails over in the meantime (esp. anycast routing removing the faulty destination), that won't yield a different result.
If you had another scheme with a DNS hostname with multiple A records behind it, then the client could attempt a connection to one of the other IP addresses when the first attempt failed on the transport-protocol level. That is implementation specific and not a given though. In any case, if the contacted server connects and replies - even with a 404 - then the client won't attempt anything else.