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
90
0
Share
Serverless - the way microservices should be - OdessaJS
Ivan Jovanovic
July 07, 2018
More Decks by Ivan Jovanovic
See All by Ivan Jovanovic
Micro Frontends - A microservice approach to the modern web - Oredev 2019
ivanjov
0
94
Micro Frontends - A microservice approach to the modern web - O'Reilly Software Architecture Berlin 2019
ivanjov
0
80
React State - The Good, the Bad and the Ugly - ArmadaJS
ivanjov
0
130
Thinking Reactive in JavaScript - Sphere.it JS Krakow
ivanjov
0
77
Micro Frontends - A microservice approach to the modern web - PHPSrbija
ivanjov
0
220
You don't know Promises - IT Konekt April 2019
ivanjov
1
67
Micro Frontends - A microservice approach to the modern web - Codemotion Rome 2019
ivanjov
0
340
Mikro Frontendi - Uvod - Novi Sad JS
ivanjov
0
170
Software engineer marketing done right – career tips from my experience.
ivanjov
0
46
Other Decks in Technology
See All in Technology
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
1
300
Anthropic AIネイティブ・スタートアップ構築のプレイブック を理解する
nagatsu
0
220
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
250
NFLコンペ2026 解法
lycorptech_jp
PRO
0
130
Diagnosing performance problems without the guesswork
elenatanasoiu
0
120
string地獄を脱出する
sansantech
PRO
1
100
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
570
OpenID Connectによるサービス間連携
takesection
0
140
Generative UI × A2UI で AI エージェントを作った話 AI-DLC も使ってみた!
kmiya84377
1
280
テストコードのないプロジェクトにテストを根付かせる
tttol
0
230
AIが変えた"品質の守り方"
kkakizaki
13
5.4k
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Claude Code のすすめ
schroneko
67
220k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
760
Test your architecture with Archunit
thirion
1
2.3k
エンジニアに許された特別な時間の終わり
watany
107
240k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
130
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
The SEO identity crisis: Don't let AI make you average
varn
0
480
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