SlideShare a Scribd company logo
Building Fintech
with Microservices and Kubernetes
SEPTEMBER, 2018
Irakli Nadareishvili,
Sr. Director, SharedTech, Capital One.
Irakli Nadareishvili
Senior Director, SharedTech, Capital One
• API & Microservices Governance
• Capital One’s Developer Tooling
• Co-author of “Microservice Architecture”
inadarei
AGENDA
Microservices Way
DevOps and Infrastructure
Software Design with Microservices
Align Around the Goal
“Why does Capital One care
about Microservices?”
inadarei
11
“Speed and Safety at Scale and in Harmony”
Need for coordination is why we constantly
compromise between speed and safety.
Microservices Way:
inadarei
Microservices close the alignment loop!
AgileProcess:
Operations:
Product:
DevOps & CI/CID
Lean Product Dev
Toyota Production System: Think In Small Batches
Architecture: Microservices
inadarei
Data: Batch-size Is a Strong Predictor of Performance
Source: Accelerate, by Nicole Forsgren, PhD, Jez Humble, and Gene Kim
Getting to High-Performance Teams:
1 Measure Autonomy, to Gauge Progress
2 Combine Small Batches with Clarity on Long-Term View
3 Facilitate Experimentation and Design-Thinking
And yes, our teams are small (5 devs max), but that’s not the point.
inadarei
1. Measure Autonomy, to Gauge Progress
Because:
Knowing you’re on the right path is paramount.
inadarei
1. Measure Autonomy, to Gauge Progress
Initial attempts: tracking disruption events (qualitative).
Eventual (quantitative): Forsgren et al.’s metrics:
1. Lead time
2. Deploy frequency
3. Time to restore service
2. Clarity on Long-Term View
Because:
99.999% of tech teams have Agile Myopia
(not a scientific fact, but a strong belief based on years of observation)
inadarei
Unexpected, Simple Cure for Agile Myopia
3. Experimentation and Design-Thinking
Because:
Product-Market Mismatch and Rework
are devastatingly expensive.
inadarei
3. Experimentation and Design-Thinking
“You’ve gotta start with the customer experience and
work backwards to the technology. You can’t start with
the technology and figure-out where you’re gonna sell
it.”
– Steve Jobs at the 1997 WWDC
@source: https://youtu.be/FF-tKLISfPE?t=114
AGENDA
Microservices Way
DevOps and Infrastructure
Software Design with Microservices
At the beginning:
1. ECS-based container deployments +
custom code, Mesos, Nomad, Kube
2. Dozen+ of CI/CD implementations
3. Non-standard secrets management
4. Resiliency tests ran quarterly
5. Dozens of teams building their own infra
inadarei
Now and Going Forward:
1. Kubernetes packaged for Capital One
2. Federated Ops of Kubernetes Clusters
3. Unified CI/CD (using Spinnaker) and auditable release
management with inner-sourced pipeline patterns.
4. Enterprise Solutions: Hashicorp Vault, chaos
engineering, test execution, code analysis, container
analysis
inadarei
Local [Kubernetes] Workspaces:
github.com/skaffold-microservices/workspace
inadarei
Kubernetes is Architect’s Tool (not just ops)
1. PODs make sidecars an architectural
reality
2. Istio is the best thing since sliced bread
3. Being ubiquitous is a value by itself
inadarei
AGENDA
Microservices Way
DevOps and Infrastructure
Software Design with Microservices
APIs vs. Microservices?
We made sure to invest in clarifying where
“Microservicization” fit with the already
mature API-First culture.
inadarei
11
Microservices are not just small APIs:
Alexa
VoiceSkill
Chatbot
Web+
Mobile
App
inadarei
Our Design Process
1. Find Bounded Contexts w/ Event Storming
2. Identify Actors
3. Identify JTBDs
4. Define Queries and Actions
5. Design OpenAPI Spec
6. Get feedback on the spec
7. Implement APIs (usually w/ microservices)
inadarei
Bounded Contexts via Event Storming
Photos by: Justin Bachorik @justinbach
Example: Actors for DigiCoins
1. DigiCoin customer – a user using digicoin apps to
purchase or exchange digital coins.
2. DigiCoin Wallet – the platform
3. DigiCoin app – mobile app
4. …
DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only
inadarei
API Design: JTBDs
When _____ , I want to _____ , so I can _____ .
Circumstance, motivation, goal
Based on Alan Klement’s JTBD Story template https://jtbd.info/replacing-the-user-story-with-the-job-story-af7cdee10c27
inadarei
Example: JTBDs for DigiCoins
1. When a customer wants to buy coins they want to
see current price of a coin so that they can estimate
their buying power.
2. When a customer initiates coin purchase, they need
to add or reuse a payment method, so that they can
provide funds for the purchase
3. When a customer finalizes a coin purchase,
DigiCoins needs to charge the payment method, so
that it can make money
DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only
inadarei
Example: Queries for DigiCoins
1. Lookup of a coin “price”
1. Input: digital coin id, traditional currency code.
2. Response: conversion rate
2. Lookup of existing payment methods
1. Input: user identifier, payment type (coin, credit, bank transfer etc.)
2. Response: uuid and details of the payment method, status of the
payment method
DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only
inadarei
Example: Action(s) for DigiCoins
1. Charge a payment method to fund coin purchase
1. Input: payment method identifier and details.
2. Response: success or failure code
DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only
inadarei
Example: OpenAPI Spec
DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only
inadarei
Building Fintech with Microservices and Kubernetes @ API World 2018
Our Design Process
1. Find Bounded Contexts w/ Event Storming
2. Identify Actors
3. Identify JTBDs
4. Define Queries and Actions
5. Design OpenAPI Spec
6. Get feedback on the spec
7. Implement APIs (usually w/ microservices)
inadarei
QUESTIONS?

More Related Content

What's hot (17)

PPTX
apidays LIVE Hong Kong 2021 - Digital Identity Centric Approach to Accelerate...
apidays
 
PPTX
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
apidays
 
PDF
apidays LIVE India - Digital Trust Infrastructure - Key to digital transforma...
apidays
 
PPTX
Identity Summit 2015: EnerNOC Case Study: The Transformation of IAM for EnerN...
ForgeRock
 
PPTX
apidays LIVE Singapore 2021 - Novel approaches in API security by Dr Tal Stei...
apidays
 
PDF
API-first Integration for Microservices
WSO2
 
PPTX
apidays LIVE LONDON - Evolving API Management for Event-Driven Digital Bankin...
apidays
 
PDF
apidays LIVE Australia 2021 - Levelling up database security by thinking in A...
apidays
 
PDF
[WSO2Con EU 2017] How API Management at Suva is Helping in Reducing Costs to ...
WSO2
 
PDF
APIs from the Edge to the Mesh
Nordic APIs
 
PDF
What's New With WSO2 Open Banking
WSO2
 
PDF
[APIdays Singapore 2019] API Management in a Istio Service Mesh with WSO2 API...
WSO2
 
PPTX
apidays LIVE Paris 2021 - How password managers are built for Privacy and Sec...
apidays
 
PDF
[APIdays INTERFACE 2021] The Evolution of API Security for Client-side Applic...
WSO2
 
PDF
Microservice: the phanot menace. Istio Service Mesh: the new hope. JEEConf 2019
Sergii Bishyr
 
PDF
ING microServices
Andrei Rugina
 
PDF
Oracle Blockchain Cloud Service
Denis Kolupaev
 
apidays LIVE Hong Kong 2021 - Digital Identity Centric Approach to Accelerate...
apidays
 
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
apidays
 
apidays LIVE India - Digital Trust Infrastructure - Key to digital transforma...
apidays
 
Identity Summit 2015: EnerNOC Case Study: The Transformation of IAM for EnerN...
ForgeRock
 
apidays LIVE Singapore 2021 - Novel approaches in API security by Dr Tal Stei...
apidays
 
API-first Integration for Microservices
WSO2
 
apidays LIVE LONDON - Evolving API Management for Event-Driven Digital Bankin...
apidays
 
apidays LIVE Australia 2021 - Levelling up database security by thinking in A...
apidays
 
[WSO2Con EU 2017] How API Management at Suva is Helping in Reducing Costs to ...
WSO2
 
APIs from the Edge to the Mesh
Nordic APIs
 
What's New With WSO2 Open Banking
WSO2
 
[APIdays Singapore 2019] API Management in a Istio Service Mesh with WSO2 API...
WSO2
 
apidays LIVE Paris 2021 - How password managers are built for Privacy and Sec...
apidays
 
[APIdays INTERFACE 2021] The Evolution of API Security for Client-side Applic...
WSO2
 
Microservice: the phanot menace. Istio Service Mesh: the new hope. JEEConf 2019
Sergii Bishyr
 
ING microServices
Andrei Rugina
 
Oracle Blockchain Cloud Service
Denis Kolupaev
 

Similar to Building Fintech with Microservices and Kubernetes @ API World 2018 (20)

PPTX
apidays LIVE Paris - Microservices, up and running by Irakli Nadareishvili
apidays
 
PDF
APIDays 2020 - SEED(S) API Design Methodology
Irakli Nadareishvili
 
PPTX
A Transformation Journey
VMware Tanzu
 
PDF
Serverless Evolution during 3 years of Serverless Toronto
Daniel Zivkovic
 
PDF
Your Journey to Cloud-Native Begins with DevOps, Microservices, and Containers
Atlassian
 
PDF
4ire labs presentation 2019
Olena Petrashchuk
 
PDF
Microservices, Microfrontends and Feature Teams
Giulio Roggero
 
DOC
omkar-hybris-cv
omkar singh
 
PDF
new blog on coinbase - Google Docs.pdf
harikacheluru
 
PDF
Apidays Paris 2023 - Building APIs At Scale, Ado Trakic, Capital One
apidays
 
PDF
Introduction of BLOCKCHAIN, WEB3, DECENTRALIZED STORAGE and indutrial use case
Ricky Utomo
 
PDF
Top crypto wallets best 7 bitcoin wallet apps in 2022
Moon Technolabs Pvt. Ltd.
 
PDF
Priming Your Enterprise for Digital Transformation
WSO2
 
PDF
Business2Blockchain | Strengthen Your Business by Securing it on a Blockchain
Morne Olivier
 
PPTX
Blockchain Application Development 101
Synerzip
 
PDF
DLT analytics and AI workshop 13 march 2019
Stavros Zervoudakis
 
PDF
Welcome to the Metrics
VMware Tanzu
 
PDF
[Agilsun]Profile
Tran Duc Thanh
 
PPTX
How to Shift to a Serverless Mindset
UXDXConf
 
PDF
FewerClicks Software Blockchain development presentation
ashish2509
 
apidays LIVE Paris - Microservices, up and running by Irakli Nadareishvili
apidays
 
APIDays 2020 - SEED(S) API Design Methodology
Irakli Nadareishvili
 
A Transformation Journey
VMware Tanzu
 
Serverless Evolution during 3 years of Serverless Toronto
Daniel Zivkovic
 
Your Journey to Cloud-Native Begins with DevOps, Microservices, and Containers
Atlassian
 
4ire labs presentation 2019
Olena Petrashchuk
 
Microservices, Microfrontends and Feature Teams
Giulio Roggero
 
omkar-hybris-cv
omkar singh
 
new blog on coinbase - Google Docs.pdf
harikacheluru
 
Apidays Paris 2023 - Building APIs At Scale, Ado Trakic, Capital One
apidays
 
Introduction of BLOCKCHAIN, WEB3, DECENTRALIZED STORAGE and indutrial use case
Ricky Utomo
 
Top crypto wallets best 7 bitcoin wallet apps in 2022
Moon Technolabs Pvt. Ltd.
 
Priming Your Enterprise for Digital Transformation
WSO2
 
Business2Blockchain | Strengthen Your Business by Securing it on a Blockchain
Morne Olivier
 
Blockchain Application Development 101
Synerzip
 
DLT analytics and AI workshop 13 march 2019
Stavros Zervoudakis
 
Welcome to the Metrics
VMware Tanzu
 
[Agilsun]Profile
Tran Duc Thanh
 
How to Shift to a Serverless Mindset
UXDXConf
 
FewerClicks Software Blockchain development presentation
ashish2509
 
Ad

More from Irakli Nadareishvili (9)

PDF
Irakli Nadareishvili - O'Reilly SACon 2018, London
Irakli Nadareishvili
 
PDF
Reuse or Not and Microservices
Irakli Nadareishvili
 
PDF
Microservices Architecture - The Blind Spots
Irakli Nadareishvili
 
PPTX
Microservices In Practice
Irakli Nadareishvili
 
PDF
AnsibleBuilding a Docker-ized Microservice In Node, Using Ansible - AnsibleF...
Irakli Nadareishvili
 
PDF
Hypermedia-Driven Orchestration in Microservices
Irakli Nadareishvili
 
PDF
trends in online publishing
Irakli Nadareishvili
 
PDF
Document Databases In Online Publishing
Irakli Nadareishvili
 
ZIP
DrupalCon DC: Busines Analytics with Views
Irakli Nadareishvili
 
Irakli Nadareishvili - O'Reilly SACon 2018, London
Irakli Nadareishvili
 
Reuse or Not and Microservices
Irakli Nadareishvili
 
Microservices Architecture - The Blind Spots
Irakli Nadareishvili
 
Microservices In Practice
Irakli Nadareishvili
 
AnsibleBuilding a Docker-ized Microservice In Node, Using Ansible - AnsibleF...
Irakli Nadareishvili
 
Hypermedia-Driven Orchestration in Microservices
Irakli Nadareishvili
 
trends in online publishing
Irakli Nadareishvili
 
Document Databases In Online Publishing
Irakli Nadareishvili
 
DrupalCon DC: Busines Analytics with Views
Irakli Nadareishvili
 
Ad

Recently uploaded (20)

PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
July Patch Tuesday
Ivanti
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Biography of Daniel Podor.pdf
Daniel Podor
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
July Patch Tuesday
Ivanti
 

Building Fintech with Microservices and Kubernetes @ API World 2018

  • 1. Building Fintech with Microservices and Kubernetes SEPTEMBER, 2018 Irakli Nadareishvili, Sr. Director, SharedTech, Capital One.
  • 2. Irakli Nadareishvili Senior Director, SharedTech, Capital One • API & Microservices Governance • Capital One’s Developer Tooling • Co-author of “Microservice Architecture” inadarei
  • 3. AGENDA Microservices Way DevOps and Infrastructure Software Design with Microservices
  • 4. Align Around the Goal “Why does Capital One care about Microservices?” inadarei
  • 5. 11 “Speed and Safety at Scale and in Harmony” Need for coordination is why we constantly compromise between speed and safety. Microservices Way: inadarei
  • 6. Microservices close the alignment loop! AgileProcess: Operations: Product: DevOps & CI/CID Lean Product Dev Toyota Production System: Think In Small Batches Architecture: Microservices inadarei
  • 7. Data: Batch-size Is a Strong Predictor of Performance Source: Accelerate, by Nicole Forsgren, PhD, Jez Humble, and Gene Kim
  • 8. Getting to High-Performance Teams: 1 Measure Autonomy, to Gauge Progress 2 Combine Small Batches with Clarity on Long-Term View 3 Facilitate Experimentation and Design-Thinking And yes, our teams are small (5 devs max), but that’s not the point. inadarei
  • 9. 1. Measure Autonomy, to Gauge Progress Because: Knowing you’re on the right path is paramount. inadarei
  • 10. 1. Measure Autonomy, to Gauge Progress Initial attempts: tracking disruption events (qualitative). Eventual (quantitative): Forsgren et al.’s metrics: 1. Lead time 2. Deploy frequency 3. Time to restore service
  • 11. 2. Clarity on Long-Term View Because: 99.999% of tech teams have Agile Myopia (not a scientific fact, but a strong belief based on years of observation) inadarei
  • 12. Unexpected, Simple Cure for Agile Myopia
  • 13. 3. Experimentation and Design-Thinking Because: Product-Market Mismatch and Rework are devastatingly expensive. inadarei
  • 14. 3. Experimentation and Design-Thinking “You’ve gotta start with the customer experience and work backwards to the technology. You can’t start with the technology and figure-out where you’re gonna sell it.” – Steve Jobs at the 1997 WWDC @source: https://youtu.be/FF-tKLISfPE?t=114
  • 15. AGENDA Microservices Way DevOps and Infrastructure Software Design with Microservices
  • 16. At the beginning: 1. ECS-based container deployments + custom code, Mesos, Nomad, Kube 2. Dozen+ of CI/CD implementations 3. Non-standard secrets management 4. Resiliency tests ran quarterly 5. Dozens of teams building their own infra inadarei
  • 17. Now and Going Forward: 1. Kubernetes packaged for Capital One 2. Federated Ops of Kubernetes Clusters 3. Unified CI/CD (using Spinnaker) and auditable release management with inner-sourced pipeline patterns. 4. Enterprise Solutions: Hashicorp Vault, chaos engineering, test execution, code analysis, container analysis inadarei
  • 19. Kubernetes is Architect’s Tool (not just ops) 1. PODs make sidecars an architectural reality 2. Istio is the best thing since sliced bread 3. Being ubiquitous is a value by itself inadarei
  • 20. AGENDA Microservices Way DevOps and Infrastructure Software Design with Microservices
  • 21. APIs vs. Microservices? We made sure to invest in clarifying where “Microservicization” fit with the already mature API-First culture. inadarei
  • 22. 11 Microservices are not just small APIs: Alexa VoiceSkill Chatbot Web+ Mobile App inadarei
  • 23. Our Design Process 1. Find Bounded Contexts w/ Event Storming 2. Identify Actors 3. Identify JTBDs 4. Define Queries and Actions 5. Design OpenAPI Spec 6. Get feedback on the spec 7. Implement APIs (usually w/ microservices) inadarei
  • 24. Bounded Contexts via Event Storming Photos by: Justin Bachorik @justinbach
  • 25. Example: Actors for DigiCoins 1. DigiCoin customer – a user using digicoin apps to purchase or exchange digital coins. 2. DigiCoin Wallet – the platform 3. DigiCoin app – mobile app 4. … DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only inadarei
  • 26. API Design: JTBDs When _____ , I want to _____ , so I can _____ . Circumstance, motivation, goal Based on Alan Klement’s JTBD Story template https://jtbd.info/replacing-the-user-story-with-the-job-story-af7cdee10c27 inadarei
  • 27. Example: JTBDs for DigiCoins 1. When a customer wants to buy coins they want to see current price of a coin so that they can estimate their buying power. 2. When a customer initiates coin purchase, they need to add or reuse a payment method, so that they can provide funds for the purchase 3. When a customer finalizes a coin purchase, DigiCoins needs to charge the payment method, so that it can make money DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only inadarei
  • 28. Example: Queries for DigiCoins 1. Lookup of a coin “price” 1. Input: digital coin id, traditional currency code. 2. Response: conversion rate 2. Lookup of existing payment methods 1. Input: user identifier, payment type (coin, credit, bank transfer etc.) 2. Response: uuid and details of the payment method, status of the payment method DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only inadarei
  • 29. Example: Action(s) for DigiCoins 1. Charge a payment method to fund coin purchase 1. Input: payment method identifier and details. 2. Response: success or failure code DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only inadarei
  • 30. Example: OpenAPI Spec DigiCoins is a fake exchange and wallet for digital currency. This is an entirely imaginary example for demo purposes only inadarei
  • 32. Our Design Process 1. Find Bounded Contexts w/ Event Storming 2. Identify Actors 3. Identify JTBDs 4. Define Queries and Actions 5. Design OpenAPI Spec 6. Get feedback on the spec 7. Implement APIs (usually w/ microservices) inadarei