SlideShare a Scribd company logo
February 2015
Managing Service Integration for
High Uptime In a Lean Startup
Shobana Radhakrishnan
Vice President of Engineering, Mindflash
Agenda
• Introduction
• Managing External Service Integration
• Mindflash API
• Microservice Architecture at Mindflash
2
Mindflash At a Glance
3
Mindflash App
Mindflash
Customer API
Services
Course Videos
Player
Developer
ManagerTrainer/P
rospect
Some Numbers
• 1000+ Enterprise Customers
• Thousands of trainees/program
• 2 million courses completed
• Increasing mobile adoption
• Increasingly global programs
4
Lean Startup**
5
**Eric Weis: http://theleanstartup.com/principles
Lean Startup Principles at Mindflash
• Minimum Viable Product
(MVP)
• Ship Frequently
• Monitor Outcome
• Iterate
6
Questions
• How do you manage service deployment for
high uptime and quality?
• How can you guarantee high uptime when
relying on several external services?
• How can you do these in a lean startup?
7
8
• Monthly releases
• Somewhat automated
• Multi-hour deployment, fall-out after releases
• Test vs. Production not completely aligned
2013 and
Prior
9
• Ability to make multiple releases a day (Major
features still monthly)
• Highly automated
• Deployment in minutes, major fall-outs rare
• Test vs. Production more completely aligned
Mid 2014 on
10
• Continuous feature releases
• Full deployment automation
• Deployment in minutes, major fall-outs rare
• Test vs. Production fully aligned
Next
Microservice Architecture
Microservices is a software design pattern, in
which complex applications are composed of
small, independent services communicating
with each other using highly decoupled
language-agnostic APIs
11
Architectural Difference
Monolithic App Microservice-based App
12
Presentation Layer (View)
Middleware/Business Logic Layer
(Controller)
Database
(Model)
Monolithic vs. Microservices
Monolithic
• N-tier Application
• Code dependencies
• Shared database
• Larger units of deployment
Microservices
• Independent services
• Easier to manage and
deploy
• Loose Coupling
13
When to Consider Microservices?
• Team working on the application
• Quick Ramp-up for new Team Members
• Continuous Deployment
• Take advantage of emerging technologies
14
Three Angles For Microservice
Architectures
15
Integration with SAAS/PAAS
Services
16
Exposing API
17
Internal Microservices
18
Mindflash External Service
Integration
19
Trends
• Growth of SaaS/PaaS Services
• Evolution of Hub and Data
Analysis Solutions
• Public API and Open Source
20
Architectural View
21
Services we Integrate With
22
Integration
• Building and Maintaining Component
• API Migration and Upgrades
• Security and Bug Patches
23
API Call Flow
24
API
Customer 1
API
Customer 2
API
Customer 3
API
Customer 4
API
Customer 5
Services Layer
API Gateway
API Considerations
• Heterogeneous Needs
• User release cycles vary
• Backwards compatibility
• Objects evolve continuously
25
Approach and Lessons Learned
26
Automate – BrowserStack,
Jenkins, Selenium
27
Fail Fast and Recover Quickly –
Pingdom, Crittercism, AWS
Monitoring and Alerting
28
Measure and Iterate – Optimizely,
Gainsight, Pingdom, Google
Analytics, KISSMetrics, Internal
reporting
29
Upgrade Continuously
30
Deploy Small and Continuously
31
Build
Deploy to
QA
Check in
Run Tests
Deploy to
PROD
Rule-based
subset that
needs to be
rebuilt/deplo
yed
Implementation Best Practices
• Loose Coupling
• Chain-of-responsibility pattern
• Single Responsibility Principle
• Defensive Programming
• Clear separation of real-time
vs. asynchronous
• Feature Flags
32
Real-time Vs. Asynchronous
33
MF
Trainers and
Prospects
Trainees
Hydra
Billing
RDS
Analytics
File
Conversion
Feature
Integration
Developers
MF
API
Gateway
Feature Flags – our implementation
• Feature Flags persisted in DB
• Set per account and pricing tier
• Common Uses
– Manage rollout for risky changes
– Adjust feature offering based on pricing tier
– Enable limited testing of a feature
34
Be Aware of Cultural Factors
35
Results
• Releases without fallout
• Shorter deployment cycles
• Much lower error rates
• Consistently high uptime
• Consistently low response
time
36
Internal Microservices
37
Our Initial Implementation
38
Emails
All Applications – TraineeWeb, TrainerWeb, Player etc.
Video
Conversion
Jobs
Async
updates with
Third Party
Systems
Characteristics
• High Performance and Uptime
• Easy Error Tracking
• Highly Scalable System
• Achieved Decoupling (sort of)
• Achieved independent deployment (again,
sort of)
• Independent code base (not really)
• Decoupled deployment (not really)
39
New Approach
• Independent Verticals ie. Services
• Hapi framework
• Common Services across Verticals
• Incremental code migration
• Integrate tools such as Docker, Stackato,
Ansible, Kubernetes
• More to come!
40
Coming Up
• Fully decoupled
microservice
implementation
• Integrate automated
container management
• Fully automated backward
compatibility testing
41
References
• Product Blog –
http://www.mindflash.com/blog
• Developer Blog –
http://www.mindflash.com/developers
42
Thank you!
• https://www.linkedin.com/in/shob
anaradhakrishnan
• Twitter: #shobanarad, #mindflash
• We’re hiring!
43
Questions?

More Related Content

What's hot

25 Jul 2018 - What is New in codeBeamer 9.2
25 Jul 2018 - What is New in codeBeamer 9.2 25 Jul 2018 - What is New in codeBeamer 9.2
25 Jul 2018 - What is New in codeBeamer 9.2
Intland Software GmbH
 
4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...
4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...
4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...
Intland Software GmbH
 
ALM Revisited
ALM RevisitedALM Revisited
ALM Revisited
Kovair
 
Introduction to kovair ALM and Integration Products
Introduction to kovair ALM and Integration ProductsIntroduction to kovair ALM and Integration Products
Introduction to kovair ALM and Integration Products
Kovair
 
API Management @ Haufe
API Management @ HaufeAPI Management @ Haufe
API Management @ Haufe
Haufe-Lexware GmbH & Co KG
 
[Workshop] Up-leveling Brownfield Integration
[Workshop] Up-leveling Brownfield Integration[Workshop] Up-leveling Brownfield Integration
[Workshop] Up-leveling Brownfield Integration
WSO2
 
Kovair Migration Solution for ALM Tools
Kovair Migration Solution for ALM ToolsKovair Migration Solution for ALM Tools
Kovair Migration Solution for ALM Tools
Kovair
 
Adaptive Scaling of Microgateways on Kubernetes
Adaptive Scaling of Microgateways on KubernetesAdaptive Scaling of Microgateways on Kubernetes
Adaptive Scaling of Microgateways on Kubernetes
WSO2
 
Kovair 2014 at a Glance 11215
Kovair 2014  at a Glance 11215Kovair 2014  at a Glance 11215
Kovair 2014 at a Glance 11215
Kovair
 
Overview of Kovair Omnibus Integration Platform
Overview of Kovair Omnibus Integration PlatformOverview of Kovair Omnibus Integration Platform
Overview of Kovair Omnibus Integration Platform
Kovair
 
Kovair Integrated Test Management Platform - The Business Values
Kovair Integrated Test Management Platform - The Business ValuesKovair Integrated Test Management Platform - The Business Values
Kovair Integrated Test Management Platform - The Business Values
Kovair
 
Infographic: Sync and Migrate HP QC to TFS
Infographic: Sync and Migrate HP QC to TFSInfographic: Sync and Migrate HP QC to TFS
Infographic: Sync and Migrate HP QC to TFS
Kovair
 
Application Lifecycle Management with Visual Studio 2013
Application Lifecycle Management  with Visual Studio 2013Application Lifecycle Management  with Visual Studio 2013
Application Lifecycle Management with Visual Studio 2013
Mahmoud Samara
 
SmartTalks: Outsystems and Agile 101
SmartTalks: Outsystems and Agile 101SmartTalks: Outsystems and Agile 101
SmartTalks: Outsystems and Agile 101
ISCTE-IUL ACM Student Chapter
 
ALM iStack - Application Lifecycle Management using Linked Data
ALM iStack - Application Lifecycle Management using Linked Data ALM iStack - Application Lifecycle Management using Linked Data
ALM iStack - Application Lifecycle Management using Linked Data
Nandana Mihindukulasooriya
 
Productising your Microservices as API Products
Productising your Microservices  as API ProductsProductising your Microservices  as API Products
Productising your Microservices as API Products
WSO2
 
Integrated Test Management
Integrated Test ManagementIntegrated Test Management
Integrated Test Management
Kovair
 
5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs
WSO2
 
Production testing and disaster recovery
Production testing and disaster recoveryProduction testing and disaster recovery
Production testing and disaster recovery
BizTalk360
 
Kovair at STeP-IN Summit 2014 Conference
Kovair at STeP-IN Summit 2014 ConferenceKovair at STeP-IN Summit 2014 Conference
Kovair at STeP-IN Summit 2014 Conference
Kovair
 

What's hot (20)

25 Jul 2018 - What is New in codeBeamer 9.2
25 Jul 2018 - What is New in codeBeamer 9.2 25 Jul 2018 - What is New in codeBeamer 9.2
25 Jul 2018 - What is New in codeBeamer 9.2
 
4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...
4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...
4 Oct 2018 - Experts Talk featuring Ovum: Achieving Safety-critical Developme...
 
ALM Revisited
ALM RevisitedALM Revisited
ALM Revisited
 
Introduction to kovair ALM and Integration Products
Introduction to kovair ALM and Integration ProductsIntroduction to kovair ALM and Integration Products
Introduction to kovair ALM and Integration Products
 
API Management @ Haufe
API Management @ HaufeAPI Management @ Haufe
API Management @ Haufe
 
[Workshop] Up-leveling Brownfield Integration
[Workshop] Up-leveling Brownfield Integration[Workshop] Up-leveling Brownfield Integration
[Workshop] Up-leveling Brownfield Integration
 
Kovair Migration Solution for ALM Tools
Kovair Migration Solution for ALM ToolsKovair Migration Solution for ALM Tools
Kovair Migration Solution for ALM Tools
 
Adaptive Scaling of Microgateways on Kubernetes
Adaptive Scaling of Microgateways on KubernetesAdaptive Scaling of Microgateways on Kubernetes
Adaptive Scaling of Microgateways on Kubernetes
 
Kovair 2014 at a Glance 11215
Kovair 2014  at a Glance 11215Kovair 2014  at a Glance 11215
Kovair 2014 at a Glance 11215
 
Overview of Kovair Omnibus Integration Platform
Overview of Kovair Omnibus Integration PlatformOverview of Kovair Omnibus Integration Platform
Overview of Kovair Omnibus Integration Platform
 
Kovair Integrated Test Management Platform - The Business Values
Kovair Integrated Test Management Platform - The Business ValuesKovair Integrated Test Management Platform - The Business Values
Kovair Integrated Test Management Platform - The Business Values
 
Infographic: Sync and Migrate HP QC to TFS
Infographic: Sync and Migrate HP QC to TFSInfographic: Sync and Migrate HP QC to TFS
Infographic: Sync and Migrate HP QC to TFS
 
Application Lifecycle Management with Visual Studio 2013
Application Lifecycle Management  with Visual Studio 2013Application Lifecycle Management  with Visual Studio 2013
Application Lifecycle Management with Visual Studio 2013
 
SmartTalks: Outsystems and Agile 101
SmartTalks: Outsystems and Agile 101SmartTalks: Outsystems and Agile 101
SmartTalks: Outsystems and Agile 101
 
ALM iStack - Application Lifecycle Management using Linked Data
ALM iStack - Application Lifecycle Management using Linked Data ALM iStack - Application Lifecycle Management using Linked Data
ALM iStack - Application Lifecycle Management using Linked Data
 
Productising your Microservices as API Products
Productising your Microservices  as API ProductsProductising your Microservices  as API Products
Productising your Microservices as API Products
 
Integrated Test Management
Integrated Test ManagementIntegrated Test Management
Integrated Test Management
 
5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs
 
Production testing and disaster recovery
Production testing and disaster recoveryProduction testing and disaster recovery
Production testing and disaster recovery
 
Kovair at STeP-IN Summit 2014 Conference
Kovair at STeP-IN Summit 2014 ConferenceKovair at STeP-IN Summit 2014 Conference
Kovair at STeP-IN Summit 2014 Conference
 

Similar to CipherCloud Microservice Meetup - Managing Services in a Lean Startup

Super charged prototyping
Super charged prototypingSuper charged prototyping
Super charged prototyping
Michael Stephenson
 
2 speed it powered by microsoft azure
2 speed it powered by microsoft azure2 speed it powered by microsoft azure
2 speed it powered by microsoft azure
Michael Stephenson
 
Training Bootcamp - MainframeDevOps.pptx
Training Bootcamp - MainframeDevOps.pptxTraining Bootcamp - MainframeDevOps.pptx
Training Bootcamp - MainframeDevOps.pptx
Nashet Ali
 
Lean Solutions – Agile Transformation at the United States Postal Service
Lean Solutions  – Agile Transformation at the United States Postal ServiceLean Solutions  – Agile Transformation at the United States Postal Service
Lean Solutions – Agile Transformation at the United States Postal Service
ITSM Academy, Inc.
 
Leveraging DevOps Principles for Release and Deploy
Leveraging DevOps Principles for Release and DeployLeveraging DevOps Principles for Release and Deploy
Leveraging DevOps Principles for Release and Deploy
Serena Software
 
Achieve Full API Lifecycle Management Using NGINX Controller – EMEA
Achieve Full API Lifecycle Management Using NGINX Controller – EMEAAchieve Full API Lifecycle Management Using NGINX Controller – EMEA
Achieve Full API Lifecycle Management Using NGINX Controller – EMEA
NGINX, Inc.
 
Microservices and IBM Bluemix meetup presentation
Microservices and IBM Bluemix meetup presentationMicroservices and IBM Bluemix meetup presentation
Microservices and IBM Bluemix meetup presentation
Carlos Ferreira
 
MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021
Ieva Navickaite
 
27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft Meetup27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft Meetup
MuleSoft Meetups
 
API LifeCycle Management
API LifeCycle ManagementAPI LifeCycle Management
API LifeCycle Management
MuleSoft Meetups
 
Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...
Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...
Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...
Mike Villiger
 
Migrating from ClearCase
Migrating from ClearCaseMigrating from ClearCase
Migrating from ClearCase
CollabNet
 
BVT_Swamy_Abap_4
BVT_Swamy_Abap_4BVT_Swamy_Abap_4
Agile methodology in cloud computing
Agile methodology in cloud computingAgile methodology in cloud computing
Agile methodology in cloud computing
Ahmed M. Abed
 
Dimensions CM 14.3 launch webcast (slides)
Dimensions CM 14.3 launch webcast (slides)Dimensions CM 14.3 launch webcast (slides)
Dimensions CM 14.3 launch webcast (slides)
Serena Software
 
Discover - Innovating With Speed and Agility
Discover - Innovating With Speed and AgilityDiscover - Innovating With Speed and Agility
Discover - Innovating With Speed and Agility
LaurenWendler
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROI
DevOps for Enterprise Systems
 
Overcoming Obstacles to Success with Microservices
Overcoming Obstacles to Success with MicroservicesOvercoming Obstacles to Success with Microservices
Overcoming Obstacles to Success with Microservices
Perficient, Inc.
 
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
Ambassador Labs
 
Big ideas in small packages - How microservices helped us to scale our vision
Big ideas in small packages  - How microservices helped us to scale our visionBig ideas in small packages  - How microservices helped us to scale our vision
Big ideas in small packages - How microservices helped us to scale our vision
Sebastian Schleicher
 

Similar to CipherCloud Microservice Meetup - Managing Services in a Lean Startup (20)

Super charged prototyping
Super charged prototypingSuper charged prototyping
Super charged prototyping
 
2 speed it powered by microsoft azure
2 speed it powered by microsoft azure2 speed it powered by microsoft azure
2 speed it powered by microsoft azure
 
Training Bootcamp - MainframeDevOps.pptx
Training Bootcamp - MainframeDevOps.pptxTraining Bootcamp - MainframeDevOps.pptx
Training Bootcamp - MainframeDevOps.pptx
 
Lean Solutions – Agile Transformation at the United States Postal Service
Lean Solutions  – Agile Transformation at the United States Postal ServiceLean Solutions  – Agile Transformation at the United States Postal Service
Lean Solutions – Agile Transformation at the United States Postal Service
 
Leveraging DevOps Principles for Release and Deploy
Leveraging DevOps Principles for Release and DeployLeveraging DevOps Principles for Release and Deploy
Leveraging DevOps Principles for Release and Deploy
 
Achieve Full API Lifecycle Management Using NGINX Controller – EMEA
Achieve Full API Lifecycle Management Using NGINX Controller – EMEAAchieve Full API Lifecycle Management Using NGINX Controller – EMEA
Achieve Full API Lifecycle Management Using NGINX Controller – EMEA
 
Microservices and IBM Bluemix meetup presentation
Microservices and IBM Bluemix meetup presentationMicroservices and IBM Bluemix meetup presentation
Microservices and IBM Bluemix meetup presentation
 
MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021
 
27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft Meetup27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft Meetup
 
API LifeCycle Management
API LifeCycle ManagementAPI LifeCycle Management
API LifeCycle Management
 
Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...
Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...
Performance Metrics Driven CI/CD - Introduction to Continuous Innovation and ...
 
Migrating from ClearCase
Migrating from ClearCaseMigrating from ClearCase
Migrating from ClearCase
 
BVT_Swamy_Abap_4
BVT_Swamy_Abap_4BVT_Swamy_Abap_4
BVT_Swamy_Abap_4
 
Agile methodology in cloud computing
Agile methodology in cloud computingAgile methodology in cloud computing
Agile methodology in cloud computing
 
Dimensions CM 14.3 launch webcast (slides)
Dimensions CM 14.3 launch webcast (slides)Dimensions CM 14.3 launch webcast (slides)
Dimensions CM 14.3 launch webcast (slides)
 
Discover - Innovating With Speed and Agility
Discover - Innovating With Speed and AgilityDiscover - Innovating With Speed and Agility
Discover - Innovating With Speed and Agility
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROI
 
Overcoming Obstacles to Success with Microservices
Overcoming Obstacles to Success with MicroservicesOvercoming Obstacles to Success with Microservices
Overcoming Obstacles to Success with Microservices
 
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
 
Big ideas in small packages - How microservices helped us to scale our vision
Big ideas in small packages  - How microservices helped us to scale our visionBig ideas in small packages  - How microservices helped us to scale our vision
Big ideas in small packages - How microservices helped us to scale our vision
 

CipherCloud Microservice Meetup - Managing Services in a Lean Startup

Editor's Notes

  1. Scaling the execution, high pace of release and fixes. 1000+ customers, over a million course completions
  2. Trainer, prospects and customers Rabbit MQ – media conversation, email notifications 1000+ customers, over 1 million course completions, hence expectations of pace and quality are high
  3. This implies we have budget and resource constraints but are expected to ship with high release frequency nonetheless. So the question that is unique to this situation is In companies like Mindflash compared to larger companies where a 6-8 member team may
  4. This implies we have budget and resource constraints but are expected to ship with high release frequency nonetheless So the question that is unique to this situation is In companies like Mindflash compared to larger companies where a 6-8 member team may
  5. Scaling the execution, high pace of release and fixes. 1000+ customers, over a million course completions
  6. There is no architecture diagram - Adrian
  7. Why this is going to be the general picture for business in general over time
  8. Heterogenous upgrades, backward compatibility, performance
  9. e.g. skype notifications, focus on adding tests
  10. Trainer, prospects and customers Rabbit MQ – media conversation, email notifications 1000+ customers, over 1 million course completions, hence expectations of pace and quality are high