3 ms·
Serverless by AWS standards doesn’t mean “stateless”. It means that you don’t have to deal with the underlying servers and worry about scaling them up and scali
by scarface74 7y ago
Serverless by AWS standards doesn’t mean “stateless”. It means that you don’t have to deal with the underlying servers and worry about scaling them up and scaling them down.
Classic Aurora for instance is not “stateless”. You still have to appropriately size the underlying server, you pay for it whether you are using it or not, you might need to reboot it, etc.
DynamoDB on the other hand is considered Serverless by AWS because you don’t size the “DynamoDB server”, and it can scale write and read capacity automatically.
- deleted 7y ago[deleted]
- tyingq 7y agoSure. I didn't find the detail of how this is like Aurora...called from Lambda, not implemented in Lambda. Asking for that. Why is "Lambda" in the name?
- tyingq 7y agoServerless by AWS standards doesn’t mean “stateless”" Willing to be proved wrong, but what I've seen so far does equate serverless with stateless, at least at the compute tier. Aurora has no "Lambda" or "serverless" branding, right? Any stateful stuff is sort of called out as an integration.
- onefuncman 7y agoFargate is serverless and has several varieties of support for stateful workloads.
- arockwell 7y agoThere is an AWS Aurora serverless now: https://aws.amazon.com/getting-started/hands-on/building-serverless-applications-with-amazon-aurora-serverless/ https://aws.amazon.com/getting-started/hands-on/building-ser...
- scarface74 7y agoThere is regular Aurora where you are responsible for sizing the servers and it doesn’t scale dynamically. And there is Serverless Aurora https://aws.amazon.com/rds/aurora/serverless/ https://aws.amazon.com/rds/aurora/serverless/ Also here there are many stareful serverless products: https://aws.amazon.com/serverless/ https://aws.amazon.com/serverless/ It’s more about compute than storage. You can now have stateful storage attached to AWS Fargate - serverless Docker. By attaching your containers to EFS. https://www.sdxcentral.com/articles/news/aws-adds-direct-storage-to-ecs-fargate/2020/04/ https://www.sdxcentral.com/articles/news/aws-adds-direct-sto...
- tyingq 7y agoNot sure I get the difference. This is sort of the core issue. At some point, some service is stateful. Why all the hoopla and nuance around naming? What, exactly, is new from the 1960's on? Stateful and stateless is as old as computing.
- scarface74 7y agoIt’s not the data it’s the compute. In the 60s, you couldn’t just bring in an IBM mainframe when you needed it and not pay for it when you didn’t based on the server load. With regular Aurora, whether you are using it or not, you’re always paying for both the server and the storage and you have to provision the server for peak workload. With Aurora Serverless, if you don’t connect to the database, you only pay for storage. With lambda and to a lesser extent Fargate, you don’t pay for the underlying server at all until you actually need to run something and then with lambda you can scale up to as many instances as your account allows (a soft limit you can ask for more anytime) and pay nothing when you don’t. With EC2 you have a server sitting there listening for events whether or not anything is sending you an event.