$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Microservices avec Spring Cloud
Search
Florian Beaufumé
September 01, 2019
Programming
0
64
Microservices avec Spring Cloud
Introduction aux microservices et exemple de mise en oeuvre avec Spring Cloud.
Florian Beaufumé
September 01, 2019
Tweet
Share
More Decks by Florian Beaufumé
See All by Florian Beaufumé
Programmation réactive avec Spring 5 et Reactor
fbeaufume
0
92
Programmation concurrente en Java
fbeaufume
0
63
Nouveautés de Java 8
fbeaufume
0
73
WebSocket avec Java EE 7
fbeaufume
0
49
Other Decks in Programming
See All in Programming
Google Antigravity and Vibe Coding: Agentic Development Guide
mickey_kubo
2
130
tparseでgo testの出力を見やすくする
utgwkk
1
110
大体よく分かるscala.collection.immutable.HashMap ~ Compressed Hash-Array Mapped Prefix-tree (CHAMP) ~
matsu_chara
1
210
AWS CDKの推しポイントN選
akihisaikeda
1
230
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
140
CSC509 Lecture 14
javiergs
PRO
0
220
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
24
21k
Evolving NEWT’s TypeScript Backend for the AI-Driven Era
xpromx
0
260
All(?) About Point Sets
hole
0
260
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
170
スタートアップを支える技術戦略と組織づくり
pospome
8
14k
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
4k
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
The Cult of Friendly URLs
andyhume
79
6.7k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
70
What's in a price? How to price your products and services
michaelherold
246
12k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
The Pragmatic Product Professional
lauravandoore
37
7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Transcript
Microservices avec Spring Cloud Florian Beaufumé @fbeaufume 09/2019 v1.1
• Architecte logiciel et expert Java • Freelance • Brown
bag lunch • @fbeaufume Florian Beaufumé
Monolithe vs microservices @fbeaufume
Un modèle d'architecture basé sur l'utilisation de services indépendants, limités,
orientés métier et communicants Microservices @fbeaufume
• Cycles de développement indépendants • Builds et livraisons simplifiés
et moins risqués • Isolation runtime • Configuration fine • Scaling horizontal fin • Robustesse • Migrations techniques • Programmation polyglotte Bénéfices @fbeaufume
• Identification et découper les services et données • Communications
entre services • Cohérence des données • Event driven • Automatisation • Besoins de monitoring Difficultés @fbeaufume
Spring Kubernetes & Istio Boot Cloud Netflix Solutions @fbeaufume
Spring Cloud @fbeaufume
Client applications Gateway Order Stock Mongo H2 Service registry Config
server Git Spring Boot Spring Boot Spring Boot Spring Cloud Gateway Spring Boot Netflix Eureka Spring Boot Spring Cloud Config Lookup Register Get config 8081 8082 8080 8888 8761 Architecture Spring Cloud Netflix @fbeaufume
https://github.com/fbeaufume/microshop
pom.xml main application.yml Config server @fbeaufume
@fbeaufume
http://localhost:8888/order/default @fbeaufume
Service registry pom.xml main @fbeaufume
http://localhost:8761/
http://localhost:8761/eureka/apps/order @fbeaufume
Microservice métier pom.xml boostrap.xml @fbeaufume
Load balancer et circuit breaker @Configuration RestConfiguration @Service OrderService 2
3 4 1
Gateway pom.xml main application.yml @fbeaufume
Routage • Par cookie • Par header • Par host
• Par date • Etc. @fbeaufume
Filtrage Served GET 'http://localhost:8080/api/orders' as 200 in 16 msec 2
3 4 5 1
Traces distribuées Gateway Order Stock pom.xml @fbeaufume
http://localhost:9411/zipkin/ Zipkin application.yml @fbeaufume
@fbeaufume
@Component @Aspect ZipkinTracingAspect Interception des méthodes 1 2 3 5
4
Spring Boot Admin http://localhost:8090/
None
Merci @fbeaufume