#DevoxxFR
Spring Cloud *
Discovery and Configuration
Systems Comparison
by: Spencer Gibb
https://github.com/spencergibb/spring-cloud-star
http://spencer.gibb.us @spencerbgibb
1
Salt Lake City, Utah
#DevoxxFR 3
#DevoxxFR
Spring Cloud Roadmap
• Brixton RC2 Released: 22 April 2016
• Brixton GA Release: end of April (Maybe RC3)
• ‘Camden’ will follow Spring Boot 1.4: Q3 2016
• ‘Dalston’ will follow Spring 5 & Spring Boot 2.0: Q2
2017 (Java 8)
• Many Services Releases (SR) in between
4
#DevoxxFR
Microservices
5
You must be this
tall to ride
#DevoxxFR
Service
B
Service Registration &
Discovery
6
Registr
y
Service
A
#DevoxxFR
DiscoveryClient
• @EnableDiscoveryClient
• ServiceInstance si =
discoveryClient.choose(“serviceId”)
• RestTemplate
• @FeignClient
7
#DevoxxFR
Service
B
12 Factor Apps
http://12factor.net
Distributed Configuration
8
Config
Server
Service
A
#DevoxxFR
Service A
Context Lifecycle
9
Bootstrap
Application
Context
Regular
Application
Context
Config
Server
#DevoxxFR
Environment
• @ConfigurationProperties
• @Value
• Environment
10
#DevoxxFR
Spring Cloud
Config Server
• Greenfield
• HTTP API similar to Netflix Config Server
• Backed by VCS: git, SVN
• Stateless
• @RefreshScope
• Plain text files (eg. messages_fr.properties)
11
#DevoxxFR
Spring Cloud
Config Server
• Uses spring-boot configuration files & semantics
• Auto-configured client
• Refresh via bus (events)
• Webhook support for github, gitlab and bitbucket
• Commercial Support in Pivotal Cloud Foundry
12
#DevoxxFR
DEMO
13
#DevoxxFR
Eureka
14
#DevoxxFR
Eureka pro’s
• Highly-available
• Mature / Proven by Netflix
• Tight Ribbon Integration
• Commercial Support in Pivotal Cloud Foundry
15
💚
#DevoxxFR
Eureka Con’s
•JVM Based
•Thick Java client
•Polyglot by Sidecar
•Built for AWS Initially
•Long thresholds for registraion and cache refresh (30s)
16
💔
#DevoxxFR
Consul
17
#DevoxxFR
Consul pro’s
•Service Discovery & Configuration
•Polyglot
•HTTP API and DNS interface
•ACL’s
•Health Checks
18
💚
#DevoxxFR
💚
•Multi-Datacenter
•Vault Integration (Keys and Secrets)
•YAML and Properties Blobs supported
•peer-to-peer gossip system
•Nice UI
Consul pro’s
19
#DevoxxFR
Consul Con’s
•Young
•Agent on every host
20
💔
#DevoxxFR
DEMO
21
#DevoxxFR
Zookeeper
22
#DevoxxFR
💚
Zookeeper pro’s
• Consistent Store
• Started life as a Hadoop sub-project (2007?)
• Mature, used in many companies
• Useful if ZK is already part of your infrastructure
• Ephemeral Nodes / Persistent Connections
• Uses Apache Curator’s Service Discovery Recipe
23
#DevoxxFR
💔
Zookeeper Con’s
•Scale Issues
•OPS Headaches
•Needs management process
like Netflix Exhibitor
•Persistent Connections
24
#DevoxxFR
Honorable Mention
• HAProxy/Nginx/Apache HTTPD
• Spring Cloud CloudFoundry
• Spring Cloud ETCD (Experimental)
• AirbNB Smart Stack
http://nerds.airbnb.com/smartstack-service-discovery-cloud/
• Uber HyperbahN
https://youtu.be/N2472uS5Y6M
https://github.com/uber/hyperbahn
25
#DevoxxFR
Questions?
26
Josh Long: The Bootiful Microservice
13:55 Maillot
https://github.com/spencergibb/spring-cloud-star
http://spencer.gibb.us
@spencerbgibb

More Related Content

PPTX
Managing Kubernetes from Python using Kube
PDF
高速な案件サイクルを支えるデータ基盤 その実践例
PDF
Spring Cloud Kubernetes
PPTX
PubSub++ - Atmosphere 2015
PPTX
Using Microservices to 
Build an API That Lasts
PPTX
Kubernetes master
PDF
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
PDF
CNCF explore k8s_api
Managing Kubernetes from Python using Kube
高速な案件サイクルを支えるデータ基盤 その実践例
Spring Cloud Kubernetes
PubSub++ - Atmosphere 2015
Using Microservices to 
Build an API That Lasts
Kubernetes master
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
CNCF explore k8s_api

What's hot (18)

PDF
Microservices on .NET
PPTX
ChronoLogic ERC20 Transfers 4/17/18
PDF
Cncf explore k8s_api_go
PDF
Testable Android Architecture
PPTX
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
PDF
Integration solution with daxtra resume indexing
PDF
フルマネージドK8sで始めるコンテナークラスター
ODP
KubeCon EU 2016: Integrated trusted computing in Kubernetes
PDF
Lambda architecture
PPTX
Wt9 multicast an event
PDF
Cncf k8s_network_02
PDF
Running your Jenkins Infrastructure with ClusterHQ
PDF
Serverless Swift for Mobile Developers
PDF
Akka and Kubernetes, the beginning of a beautiful relationship
PDF
Productionize spark structured streaming
PDF
SFScon19 - Luca Romano Simone Vianello - ORM and RDBMS, how to make them work...
PDF
Akka and Kubernetes, the beginning of a beautiful relationship
PDF
20150512 Angular Meteor
Microservices on .NET
ChronoLogic ERC20 Transfers 4/17/18
Cncf explore k8s_api_go
Testable Android Architecture
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
Integration solution with daxtra resume indexing
フルマネージドK8sで始めるコンテナークラスター
KubeCon EU 2016: Integrated trusted computing in Kubernetes
Lambda architecture
Wt9 multicast an event
Cncf k8s_network_02
Running your Jenkins Infrastructure with ClusterHQ
Serverless Swift for Mobile Developers
Akka and Kubernetes, the beginning of a beautiful relationship
Productionize spark structured streaming
SFScon19 - Luca Romano Simone Vianello - ORM and RDBMS, how to make them work...
Akka and Kubernetes, the beginning of a beautiful relationship
20150512 Angular Meteor
Ad

Viewers also liked (6)

PDF
Service discovery with Eureka and Spring Cloud
PDF
Service Discovery. Spring Cloud Internals
ODP
Spring cloud for microservices architecture
PDF
Microservices with Java, Spring Boot and Spring Cloud
PDF
Microservice With Spring Boot and Spring Cloud
PDF
Microservices with Spring and Cloud Foundry
Service discovery with Eureka and Spring Cloud
Service Discovery. Spring Cloud Internals
Spring cloud for microservices architecture
Microservices with Java, Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
Microservices with Spring and Cloud Foundry
Ad

Similar to Spring Cloud Star (20)

PDF
Spring Cloud and Netflix OSS overview v1
PDF
Hybrid Cloud Application Development without vendor lockin
PDF
State of GeoServer 2013 (FOSS4G)
PDF
BigQuery case study in Groovenauts & Dive into the DataflowJavaSDK
PDF
LA Ember.js Meetup, Jan 2017
PDF
Lessons Learned: Spring Cloud -> Docker -> Kubernetes
PPTX
.NET & C# Updates Fall 2019
PPTX
FluentMigrator - Dayton .NET - July 2023
PDF
London Java Community: Spring Cloud -> Docker -> Kubernetes
PDF
ADDO 2022 Putting the Sec in DevSecOps for an AWS Lambda Based System
PDF
Into The Box 2023 Keynote Day 1
PDF
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
PDF
MEAN Stack Warm-up
PDF
Collecting and Analysing Satellite Data with Azure Orbital
PPTX
Atlanta Microservices Day: Istio Service Mesh
PPTX
#CNX14 - Dive Deep into the ExactTarget Fuel APIs
PDF
Getting Started with Infrastructure-as-Code
PDF
Apereo CAS: State of the Project 2018
PDF
The spring ecosystem in 50 min
PDF
Introduction of k8s rancher
Spring Cloud and Netflix OSS overview v1
Hybrid Cloud Application Development without vendor lockin
State of GeoServer 2013 (FOSS4G)
BigQuery case study in Groovenauts & Dive into the DataflowJavaSDK
LA Ember.js Meetup, Jan 2017
Lessons Learned: Spring Cloud -> Docker -> Kubernetes
.NET & C# Updates Fall 2019
FluentMigrator - Dayton .NET - July 2023
London Java Community: Spring Cloud -> Docker -> Kubernetes
ADDO 2022 Putting the Sec in DevSecOps for an AWS Lambda Based System
Into The Box 2023 Keynote Day 1
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
MEAN Stack Warm-up
Collecting and Analysing Satellite Data with Azure Orbital
Atlanta Microservices Day: Istio Service Mesh
#CNX14 - Dive Deep into the ExactTarget Fuel APIs
Getting Started with Infrastructure-as-Code
Apereo CAS: State of the Project 2018
The spring ecosystem in 50 min
Introduction of k8s rancher

Recently uploaded (20)

PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
4 layer Arch & Reference Arch of IoT.pdf
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
DOCX
search engine optimization ppt fir known well about this
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PPTX
future_of_ai_comprehensive_20250822032121.pptx
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
giants, standing on the shoulders of - by Daniel Stenberg
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
4 layer Arch & Reference Arch of IoT.pdf
Basics of Cloud Computing - Cloud Ecosystem
Module 1 Introduction to Web Programming .pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
Improvisation in detection of pomegranate leaf disease using transfer learni...
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Data Virtualization in Action: Scaling APIs and Apps with FME
search engine optimization ppt fir known well about this
Enhancing plagiarism detection using data pre-processing and machine learning...
future_of_ai_comprehensive_20250822032121.pptx
Custom Battery Pack Design Considerations for Performance and Safety
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Internet of Everything -Basic concepts details
Dell Pro Micro: Speed customer interactions, patient processing, and learning...

Spring Cloud Star

Editor's Notes

  • #15: Available Mostly java One per AZ
  • #18: Strongly consistent KV Store First Class Service Disvovery HTTP API’s
  • #23: Ephemeral Nodes / Active Connections Thick clients Java