Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Serverless - the way microservices should be - ...
Search
Ivan Jovanovic
July 07, 2018
Technology
0
81
Serverless - the way microservices should be - OdessaJS
Ivan Jovanovic
July 07, 2018
Tweet
Share
More Decks by Ivan Jovanovic
See All by Ivan Jovanovic
Micro Frontends - A microservice approach to the modern web - Oredev 2019
ivanjov
0
87
Micro Frontends - A microservice approach to the modern web - O'Reilly Software Architecture Berlin 2019
ivanjov
0
70
React State - The Good, the Bad and the Ugly - ArmadaJS
ivanjov
0
120
Thinking Reactive in JavaScript - Sphere.it JS Krakow
ivanjov
0
70
Micro Frontends - A microservice approach to the modern web - PHPSrbija
ivanjov
0
210
You don't know Promises - IT Konekt April 2019
ivanjov
1
63
Micro Frontends - A microservice approach to the modern web - Codemotion Rome 2019
ivanjov
0
330
Mikro Frontendi - Uvod - Novi Sad JS
ivanjov
0
160
Software engineer marketing done right – career tips from my experience.
ivanjov
0
40
Other Decks in Technology
See All in Technology
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
74k
コンテナセキュリティの最新事情 ~ 2026年版 ~
kyohmizu
8
3k
「データの価値を、みんなの武器に。」Data Enablementの価値とツラみ
ryoskdara_
1
120
生成AI素人でも玄人でもない私がセイセイAIチョットワカルために勉強したこと
wkm2
2
290
衛星画像即時マッピングサービスの実現に向けて
lehupa
1
280
チーム開発の基礎_研究を事業につなげるために
cyberagentdevelopers
PRO
8
3.7k
バイブコーディングで作ったものを紹介
tatsuya1970
0
150
新規事業開発でのAWS活用
amixedcolor
1
180
使って学ぼう MCP (と GitHub Codespaces)
tsubakimoto_s
1
190
GitHub Copilot CLI を使いやすくしよう
tsubakimoto_s
0
190
技術書を出版するまでの1161時間50分38秒
kakeami
0
130
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
94k
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Tell your own story through comics
letsgokoyo
1
820
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
340
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
240
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
130
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The Limits of Empathy - UXLibs8
cassininazir
1
230
Faster Mobile Websites
deanohume
310
31k
ラッコキーワード サービス紹介資料
rakko
1
2.4M
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
310
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.7k
Transcript
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