4 ms·
Not an actual user, but I know people who have used Lambda with success. I think the main use case is APIs for which traffic is extremely variable. It's less ab
by RussianCow 11y ago
Not an actual user, but I know people who have used Lambda with success. I think the main use case is APIs for which traffic is extremely variable. It's less about cost and more about the ability to seamlessly scale up with traffic. For instance, if your site gets featured on Hacker News, services like Lambda and S3 allow your site to scale almost infinitely and handle all that traffic with ease, and yet they're super cheap when you don't get much traffic, so in those cases you get the best of both worlds. The equivalent using a traditional VPS is either to have a really beefy machine running 24/7 (expensive), or to build an architecture that allows you to spin up more instances at will and scale that way (really time-consuming and difficult to get right).
- ddorian43 11y agoI think you need a cdn to scale s3. So probably s3 is not enough. The equivalent if your api is mostly for reading is to put varnish in front of it.
- RussianCow 11y agoS3 can scale with traffic all by itself, so you don't necessarily need a CDN. The CDN just distributes your assets around the world, and also does a few other things like caching to help those assets load more quickly.