Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Serverless - the way microservices should be - ...
Search
Ivan Jovanovic
July 07, 2018
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless - the way microservices should be - OdessaJS
Ivan Jovanovic
July 07, 2018
Transcript
54 slides
Serverless the way microservices should be @ivanjov96
None
How many of you are trying to scale your app?
How many DevOps engineers do you have?
How many do you really need? 0 Let’s see how
Ivan Jovanovic Senior software engineer @ nearForm https://ivanjov.com @ivanjov96
How did we get here? Microservices Monolith Serverless ?
Monolith
Monolith - Pros • Setup • One app to maintain
• Deployment • Shared memory between functionalities • Monitoring, logging • Adding new functionalities
Monolith - Cons • Extending app without breaking other stuff
• Slow delivery and deployments • Large codebase to maintain • Hard to understand • Slower development as it evolves
Microservices
Microservices - Pros • Service independence • Async communication between
services • Independent deployment • Easier to understand, develop and test • Speeds up development • Enables continuous delivery and deployment
Microservices - Cons • Setup • Service discovery • Monitoring
• Error tracking • Logging
How we do microservices now? ➕ ➕
Communication
How to fix this?
Serverless to the rescue!
What is serverless?
Serverless computing is a cloud- computing execution model in which
the cloud provider dynamically manages the allocation of machine resources.
None
None
None
Serverless - Pros • Setup, no provision needed • Simplifies
packaging and deployment • Cost is small • Reduces the complexity • Automatic scaling
Serverless - Cons • Vendor lock in (but doesn’t need
be) • No guarantee where will function be executed • Takes some time to handle first request - cold time
How does serverless “kill” DevOps? • No need to write
any setup code, no containers, orchestration, nothing • Simple deployment • Functions are so small, no space for mistakes • It doesn’t “kill” DevOps, it just takes it to the next level
Who are the serverless providers? Amazon Lambda Google Cloud Functions
Azure Functions
Comparison ⚔ ⚔
Comparison ❤ ❤
Serverless architecture
None
and more…
But it costs
And more serverless functions…
For free With autoscaling
Serverless architecture Synchronous Asynchronous
Synchronous
Asynchronous
Logging AWS CloudWatch
Show me the code
None
None
None
Tools
Claudia.js
None
None
Claudia API Builder
Serverless framework
None
None
None
Who is using serveless?
Conclusion • Serverless, not just a buzzword • Pick provider
and tools that you want • Free autoscaling • Have you infrastructure as a code • Fast development, deployment and delivery
Thank you! Blog ivanjov.com Twitter @ivanjov96
More Decks by Ivan Jovanovic
See All by Ivan Jovanovic
Micro Frontends - A microservice approach to the modern web - Oredev 2019
ivanjov
0
120
Micro Frontends - A microservice approach to the modern web - O'Reilly Software Architecture Berlin 2019
ivanjov
0
93
React State - The Good, the Bad and the Ugly - ArmadaJS
ivanjov
0
140
Thinking Reactive in JavaScript - Sphere.it JS Krakow
ivanjov
0
91
Micro Frontends - A microservice approach to the modern web - PHPSrbija
ivanjov
0
230
You don't know Promises - IT Konekt April 2019
ivanjov
1
88
Micro Frontends - A microservice approach to the modern web - Codemotion Rome 2019
ivanjov
0
360
Mikro Frontendi - Uvod - Novi Sad JS
ivanjov
0
190
Software engineer marketing done right – career tips from my experience.
ivanjov
0
62
Other Decks in Technology
See All in Technology
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
130
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
390
AIネイティブ組織の作り方。1人のPOとAIから始める、自社での実験
ama_ch
2
1.2k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
250
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
420
Datadog の権限統制 〜Org 統合に向けて調べた注意点 / JDDUG-Meetup_24
visional_engineering_and_design
1
190
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
4
1.7k
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
220
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
880
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
1
810
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
210
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.4k
Marketing to machines
jonoalderson
1
6k
Writing Fast Ruby
sferik
630
63k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
580
4 Signs Your Business is Dying
shpigford
187
23k
KATA
mclloyd
PRO
35
16k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k