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
77
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
74
Micro Frontends - A microservice approach to the modern web - O'Reilly Software Architecture Berlin 2019
ivanjov
0
64
React State - The Good, the Bad and the Ugly - ArmadaJS
ivanjov
0
100
Thinking Reactive in JavaScript - Sphere.it JS Krakow
ivanjov
0
60
Micro Frontends - A microservice approach to the modern web - PHPSrbija
ivanjov
0
200
You don't know Promises - IT Konekt April 2019
ivanjov
1
53
Micro Frontends - A microservice approach to the modern web - Codemotion Rome 2019
ivanjov
0
320
Mikro Frontendi - Uvod - Novi Sad JS
ivanjov
0
150
Software engineer marketing done right – career tips from my experience.
ivanjov
0
34
Other Decks in Technology
See All in Technology
VPC Latticeのサービスエンドポイント機能を使用した複数VPCアクセス
duelist2020jp
0
270
人と組織に偏重したEMへのアンチテーゼ──なぜ、EMに設計力が必要なのか/An antithesis to the overemphasis of people and organizations in EM
dskst
6
640
JOAI発表資料 @ 関東kaggler会
joai_committee
1
400
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.6k
Goss: New Production-Ready Go Binding for Faiss #coefl_go_jp
bengo4com
0
1.1k
進捗
ydah
1
140
Jaws-ug名古屋_LT資料_20250829
azoo2024
3
120
Gaze-LLE: Gaze Target Estimation via Large-Scale Learned Encoders
kzykmyzw
0
340
JuniorからSeniorまで: DevOpsエンジニアの成長ロードマップ
yuriemori
1
250
Preferred Networks (PFN) とLLM Post-Training チームの紹介 / 第4回 関東Kaggler会 スポンサーセッション
pfn
PRO
1
250
Amazon Bedrock AgentCore でプロモーション用動画生成エージェントを開発する
nasuvitz
6
450
JavaScript 研修
recruitengineers
PRO
4
450
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
900
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
780
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Why Our Code Smells
bkeepers
PRO
338
57k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Cult of Friendly URLs
andyhume
79
6.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
Documentation Writing (for coders)
carmenintech
73
5k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building an army of robots
kneath
306
46k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
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