Upload
erwin-van-der-koogh
View
272
Download
1
Embed Size (px)
Citation preview
Look Ma! No Servers!
Erwin van der Koogh Principal Consultant @evanderkoogh
How serverless architectures are going to change the world
of software development
think sharp evanderkoogh
“Soon deploying applications will be as out-dated as manual memory management for exactly the same reasons.. “
- 2 year younger me
think sharp evanderkoogh
think sharp
Example
think sharp evanderkoogh
2 DynamoDB Tables: Threads & Posts
think sharp evanderkoogh
Lambda: GetThreads
think sharp evanderkoogh
Lambda: GetPosts
think sharp evanderkoogh
Lambda: newPosts
think sharp evanderkoogh
Lambda: Authorise
think sharp evanderkoogh
Lambda: updateLastPost
think sharp evanderkoogh
Host SPA on S3 & Cloudfront
think sharp
Consequences
think sharp evanderkoogh
Microservices all the way down
think sharp evanderkoogh
CQRS / Event Sourcing
think sharp
Beware of the Dragons..
think sharp evanderkoogh
Distributed Computing
is hard..
think sharp evanderkoogh
Debugging distributed systems
is harder
think sharp evanderkoogh
updateLastPost did it
In the Query
With a TimeOut
think sharp evanderkoogh
Tools don’t support scaling
Yet?
think sharp evanderkoogh
think sharp
But there is also treasure
think sharp evanderkoogh
“Our architecture does not include servers for the same reason it does not include electricity”
- Chris Turner (@bestfriendchris)
think sharp evanderkoogh
2 x M3.Large EC2 + ELB?
$1645
think sharp evanderkoogh
1 million typical API-Gateway / Lambda requests?
$5-8
think sharp evanderkoogh
Not worrying about servers?
Priceless..
think sharp evanderkoogh
think sharp evanderkoogh
‘Immutable’ services
think sharp evanderkoogh
Done services
think sharp evanderkoogh
think sharp evanderkoogh
think sharp evanderkoogh
Email Thread Watchers
think sharp evanderkoogh
Moderation
think sharp evanderkoogh
Cloud Search
think sharp evanderkoogh
think sharp evanderkoogh