Serverless: Past, Present & Future
July 10, 2020
Origins of Serverless
-
AWS S3 as a managed storage service (2013)
- Simple API that didn’t try to emulate traditional, on-prem file storage
- Serverless for storage
-
PaaS
- Lift and shift your monolith from on-prem to the cloud
- Answered the question of how to make deploying a monolith to the cloud easier, but that was the wrong question. What we should have been asking was, how can we make compute more like S3 and less like operating an on-prem datacenter?
-
AWS Lambda (2014-2015)
- Serverless: the compute equivalent of S3
- Simple, asynchronous event handlers
- The idea was that it would be based on events from other AWS services
- New model for building apps didn’t catch on right away
- Surprisingly one of the most popular uses from Lambda in the early days was cron jobs (automating repetitive technical tasks)
Serverless at Present
Lots of new features coming to serverless which are making new types of applications possible and driving adoption of serverless.
Example: EFS for Lambda - Matches Lambda’s infinite compute capacity with infinite storage capacity, enabling up to TBs of storage for Lambda functions
The wrong questions to be asking in 2020 are:
- Can I run a function for a week?
- Can I port my Rails monolith to Lambda?
- How do you run serverless on-prem?
- Is Kubernetes Serverless?
The right question is:
Why do developers still turn to servers and containers even though they’re complicated, even though they’re expensive, even though they’re difficult to own, operate, and maintain?
And the answer is:
The search for simplicity and power is far from over.
…and it’s really about finding the right balance between simplicity and flexibility.
AWS re:invent 2019 Lambda New Features
These are leveling the playing field with containers and tipping the balance in favor of serverless when taking both simplicity and flexibility into account.
Tim’s Lambda Wishlist
https://medium.com/@timawagner/tims-take-re-invent-2020-serverless-wishlist-7f0756da4cd0
Vendors Innovating in Serverless
- Stackery
- Serverless Framework
- Thundra
- stdlib
- PureSec
- Espagon
- vfunction
- Lumigo
The Future
-
Moore’s Law is dead
- Dead for compute, but it’s alive for networking
- Makes distributed compute (e.g. AWS Lambda) more attractive
…
Tim covers much more in his talk. Continue watching here!