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
76
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
59
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
CDK Toolkit Libraryにおけるテストの考え方
smt7174
1
360
第64回コンピュータビジョン勉強会「The PanAf-FGBG Dataset: Understanding the Impact of Backgrounds in Wildlife Behaviour Recognition」
x_ttyszk
0
130
How to Quickly Call American Airlines®️ U.S. Customer Care : Full Guide
flyaahelpguide
0
230
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
1
430
【LT会登壇資料】TROCCO新コネクタ「スマレジ」を活用した直営店データの分析
kazari0425
1
140
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
460
PO初心者が考えた ”POらしさ”
nb_rady
0
220
[SRE NEXT] ARR150億円_エンジニア140名_27チーム_17プロダクトから始めるSLO.pdf
satos
3
1.7k
AIエージェントが書くのなら直接CloudFormationを書かせればいいじゃないですか何故AWS CDKを使う必要があるのさ
watany
14
5.8k
【あのMCPって、どんな処理してるの?】 AWS CDKでの開発で便利なAWS MCP Servers特集
yoshimi0227
6
600
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
250
ゼロからはじめる採用広報
yutadayo
3
1k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
Build your cross-platform service in a week with App Engine
jlugia
231
18k
BBQ
matthewcrist
89
9.7k
How GitHub (no longer) Works
holman
314
140k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
YesSQL, Process and Tooling at Scale
rocio
173
14k
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