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
Du réactif au service du pneu connecté - Thomas...
Search
FabienPomerol
January 24, 2020
Programming
0
180
Du réactif au service du pneu connecté - Thomas Segismont / Fabien Pomerol
Given @ SnowCamp 2020
FabienPomerol
January 24, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
8
570
SQLアンチパターン第2版 データベースプログラミングで陥りがちな失敗とその対策 / Intro to SQL Antipatterns 2nd
twada
PRO
38
11k
MySQL9でベクトルカラム登場!PHP×AWSでのAI/類似検索はこう変わる
suguruooki
1
290
ZeroETLで始めるDynamoDBとS3の連携
afooooil
0
150
What's new in Adaptive Android development
fornewid
0
140
대규모 트래픽을 처리하는 프론트 개발자의 전략
maryang
0
120
MCP連携で加速するAI駆動開発/mcp integration accelerates ai-driven-development
bpstudy
0
280
decksh - a little language for decks
ajstarks
4
21k
Strands Agents で実現する名刺解析アーキテクチャ
omiya0555
1
110
ワープロって実は計算機で
pepepper
2
1.1k
Vibe coding コードレビュー
kinopeee
0
420
階層化自動テストで開発に機動力を
ickx
1
480
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.2k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
880
Building a Scalable Design System with Sketch
lauravandoore
462
33k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
How to Ace a Technical Interview
jacobian
278
23k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
BBQ
matthewcrist
89
9.8k
Unsuck your backbone
ammeep
671
58k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Music & Morning Musume
bryan
46
6.7k
Transcript
Du réactif au service du pneu connecté Thomas Segismont et
Fabien Pomerol SnowCamp 2020
Fabien Pomerol Thomas Segismont @tsegismont @FabienPomerol
None
None
None
None
SENSORS
ON-BOARD ROUTER MANUAL DEVICES + SMARTPHONE
Building an API to : Collect devices data Process it
Generate Insight
Services Use case? Tyre end of life prediction Security (low
pressure detection) Fleet Management
100 Million Assets > 4 Billion Device Events > 1K
Req / sec Low resources footprint
Original Architecture Monolithic REST API Event Producer Web / Mobile
Applications
Split Monolith into Microservices Rewrite using &
Ingestion Service Micro Services !
Ingestion Service Fleet Management Micro Services !
Ingestion Service Tyre Maintenance Micro Services ! Fleet Management
Tyre Maintenance Edge Service Ingestion Service Micro Services ! Fleet
Management
Insights Service Ingestion Service Tyre Maintenance Edge Service Micro Services
! Fleet Management
Ingestion Service Alerting Tyre Maintenance Edge Service Insights Service Micro
Services ! Fleet Management
Micro Services ! Ingestion Service Tyre Maintenance Edge Service Alerting
Insights Service Fleet Management
Vert.x = ?
Blocking I/O don’t scale! Thread request #1 Thread request #2
Resources are scarce! “Cloud native” Virtual machines Containers
Event-loop thread Async I/O do scale! Async events
Reactive Systems Elasticity Resiliency Responsiveness
Reactive Asynchronous Event-driven Toolkit Fast Polyglot Versatile
Ingestion Flow Ingestions Service Event Producer TCP Socket HTTP:/ /
MQTT
{ demo }
Service Aggregation Web / Mobile Applications Edge Service Tyre Management
Insights Service http:/ / http:/ / Composition
Callback Future CompletionStage Quasar RxJava / RxKotlin Kotlin coroutines Event
{ demo }
Event Driven Microservices Ingestion Service Insights Service Alerting Service Events
splits by topic Consume Pressure Events Publish Computed Insights Consume Insights
{ demo }
Embracing Async Programming was not so easy for the team
Vert.x is unopinionated: easy to be tempted to built Framework / Cathedral Vert.x the hard way!
Keep the Vert.x EventBus usage inside microservices No durability No
back pressure
None
K8S Pod Sizing Distributed Locks Exactly Once Idempotence Distributed Cache
Tracing A NEW WORLD OF PROBLEMS Data Denormalization Concurrency Control
You can’t survive without monitoring and tracing !
Thank you! Thomas Segismont et Fabien Pomerol SnowCamp 2020 Icons
made by Freepik, Smashicons from www.flaticon.com