🔷
Unicast IP vs Anycast IP
Unicast IP
- Each server has its own unique IP address.
- Clients must connect to the specific IP for the desired server.
- Example:
- Server A →
12.34.56.78
- Server B →
98.76.54.32
Anycast IP
- Multiple servers share the same IP address.
- Clients are automatically routed to the closest or best-performing server based on network topology.
- Example:
- Servers A, B, and C all respond to
12.34.56.78
- A client is routed to the nearest server, minimizing latency.
Summary
- Unicast → One IP per server.
- Anycast → One IP shared across multiple servers, with routing based on proximity or performance.