2 ms·
> tens of millions of requests per second How does something like that get handled? At some point isn't contacting this service really just contacting a handfu
by throwawaysea 6y ago
> tens of millions of requests per second
How does something like that get handled? At some point isn't contacting this service really just contacting a handful of IP addresses? Are those just "regular" computers? Specialized hardware?
Also with the amount of centralization here, presumably they are the target of bad actors. How do they defend against things like DDOS's to provide their claimed uptimes?
- ttul 6y agoI’m wildly guessing here, but I assume that there are many tiers of load balancing to turn your initial request into the message that reaches the thing that gives back your file data. They also likely do have specialized hardware in various parts of the AWS infrastructure. A service that can handle tens of millions of requests per second can probably outscale most DDoS attacks without further engineering.
- zokier 6y ago> At some point isn't contacting this service really just contacting a handful of IP addresses? "Handful". S3 has 283 subnets allocated to it, biggest one being a /15, so there are some few hunderd thousand IP addresses reserved for S3. While impossible to say how many of them are actively in use, I imagine large fraction of them. The AWS IP ranges are documented in https://ip-ranges.amazonaws.com/ip-ranges.json https://ip-ranges.amazonaws.com/ip-ranges.json