Hacker News new | ask | show | jobs
by mnutt 2438 days ago
The EC2 Metadata API isn’t meant for high-throughput calls, so it’s possible to hit rate limits even from moderate polling once you get enough nodes involved.
2 comments

Why do you have to constantly poll it? It's once on startup to discover the zone it's running in.
The AZ for an instance is fixed. Check it at startup time, and cache it in-memory.