1. EL MAYOR EVENTO DE
EXPERTOS EN APIS
ALFREDO GARCÍA
IMPLEMENTANDO UNA ARQUITECTURA
HÍBRIDA DE MICROSERVICIOS
2. Alfredo García
API Solution Architect en Orange España
Multistack cloud native solutions, APIs and microservices.
Kubernetes & Istio.
Alfredo ha trabajado con APIs y Arquitecturas basadas en Servicios
durante los últimos 10 años, adoptando roles tan diversos como los
de Desarrollador, Arquitecto, Tech Lead o Product Owner. Durante
los últimos 5 años, ha estado liderando la iniciativa de OpenAPIs
dentro de Orange España, ayudando a establecer una arquitectura
de desarrollo de APIs en entornos Cloud Native dentro de
Kubernetes.
@agarcia
linkedin.com/in/alfredo-garcia-lavilla
# Arquitectura IT
# Cloud Native
# Api & Microservices
# Open Source Lover
“Tú a Netflix y yo a Kubernetes”
ARQUITECTURA DE LAS APIs #APIAddictsDays20
3. Acerca de Orange
ARQUITECTURA DE LAS APIs #APIAddictsDays20
• Presente en 29 países
• Más de 260 M de clientes globales
• 20 M de clientes en España bajo 4
marcas comerciales
• Operador de Telco y de digital
banking (Orange Bank)
4. Motivos para romper el Monolito
● Arquitectura desacoplada que
favorece la independencia de los
equipos de desarrollo.
● Escalabilidad horizontal
mediante servicios stateless.
● Mejor adaptabilidad a cambios
en nuestro negocio.
Microservicios en Orange
ARQUITECTURA DE LAS APIs #APIAddictsDays20
Source: https://nordicapis.com/should-you-start-with-a-monolith-or-microservices/
5. Nuestros 3 Stacks de Microservicios
ARQUITECTURA DE LAS APIs #APIAddictsDays20
On Premises
“For services that can’t
be provided on the Public
Cloud”
Cloud Native
“Polyglot Services with
Cloud Native
Architecture.”
Hybrid
“Migrating existing
services into a
Kubernetes platform.”
6. Nuestros 3 Stacks de Microservicios
ARQUITECTURA DE LAS APIs #APIAddictsDays20
Stack
On-premises
Stack
Híbrido
Stack
Cloud Native
Stack
On Premises
Stack
Hybrid
Stack
Cloud Native
7. Stack On-premises
ARQUITECTURA DE LAS APIs #APIAddictsDays20
On Premises
“For services that can’t
be provided on the Public
Cloud”
Cloud Native
“Polyglot Services with
Cloud Native
Architecture.”
Hybrid
“Migrating existing
services into a
Kubernetes platform.”
#APIAddictsDays20
10. Stack Cloud Native
ARQUITECTURA DE LAS APIs #APIAddictsDays20
On Premises
“For services that can’t
be provided on the Public
Cloud”
Cloud Native
“Polyglot Services with
Cloud Native
Architecture.”
Hybrid
“Migrating existing
services into a
Kubernetes platform.”
#APIAddictsDays20
12. Stack Cloud Native
ARQUITECTURA DE LAS APIs #APIAddictsDays20
Todas las características del stack de Netflix OSS
tienen un equivalente dentro de Kubernetes +
Istio…
…. Y adicionalmente ganamos la capacidad de
autoescalado , autoreparación y de control sobre
el entorno de ejecución.
Source: https://mrumpf.github.io/spring-cloud-on-
k8s/
Eureka, Ribbon y
Spring Cloud Config
Zuul, Hystrix
13. Stack Cloud Native
ARQUITECTURA DE LAS APIs #APIAddictsDays20
Micro
Sidecar
Micro
Sidecar
Proxy
Istio
Ingress
gateway
Application
namespace
Pod-1
Pod-2
Monitoring
tools
Capacidades
• Enrutado y Balanceo de
Peticiones
• Circuit Breaker
• Seguridad
• Métricas del service mesh
14. Stack Cloud Native
ARQUITECTURA DE LAS APIs #APIAddictsDays20
On Premises
“For services that can’t
be provided on the Public
Cloud”
Cloud Native
“Polyglot Services with
Cloud Native
Architecture.”
Hybrid
“Migrating existing
services into a
Kubernetes platform.”
#APIAddictsDays20