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
Microservices avec Spring Cloud
Search
Florian Beaufumé
September 01, 2019
Programming
0
86
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é
Bien débuter avec Spring AI
fbeaufume
1
22
Programmation réactive avec Spring 5 et Reactor
fbeaufume
0
110
Programmation concurrente en Java
fbeaufume
0
82
Nouveautés de Java 8
fbeaufume
0
89
WebSocket avec Java EE 7
fbeaufume
0
70
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1k
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.6k
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
130
How to stabilize UI tests using XCTest
akkeylab
0
140
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
170
Claude Codeログ基盤の構築
giginet
PRO
7
3.7k
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
160
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
140
PHPで TLSのプロトコルを実装してみる
higaki_program
0
480
20260315 AWSなんもわからん🥲
chiilog
2
180
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
270
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
820
Featured
See All Featured
Thoughts on Productivity
jonyablonski
75
5.1k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Facilitating Awesome Meetings
lara
57
6.8k
Mind Mapping
helmedeiros
PRO
1
130
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
[SF Ruby Conf 2025] Rails X
palkan
2
860
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
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