SlideShare uma empresa Scribd logo
1 de 16
Building Scalable Architectures
Micro Services
Sasidhar Gogulapati
Agenda
 The Monolith
 Decomposing Applications into Services
 Microservice Characteristics
 Reference – Microservice Architecture
 Drawbacks of Microservices
The Monolith
Let’s Imagine we are building an Taxi-
hiring application
Browser/
Client
Load
Balancer
Database
Tomcat
UI
WAR/EAR
….......................................
Passenger Mgmt. Service
Driver Mgmt. Service
Payment Service
Notifications Service
Traditional Application Architecture
Easy To: Develop, Test, Deploy, Scale
But Large, Complex Monolithic Applications are Problematic 
 Intimidates Developers
 Obstacles to Frequent Deployments
 Overloads IDE and Container, Slows down the development process
 Obstacle to scaling development: lot of coordination and
communication required between UI and Backend services
 Requires long term commitment to a Technology Stack
X-axis : Horizontal Scaling
Y-axis: functional
decomposition
Scale by splitting
different things
Z-axis: data
partitioning
The Scale Cube
Decomposing Application into Services
Y-axis scaling: Application Level
Passenger UI Passenger Mgmt. Service
Driver UI Driver Mgmt. Service
Payment UI Payment Service
Notifications UI Notifications Service
Apply z-axis and x-axis scaling to each service independently
Microservices
More Service, Less Micro
But more realistically..
Focus on building services that make development and
deployment easier
- not just tiny services
Benefits of Microservices
Smaller, Simpler apps
 Easier to Understand and Develop
 Faster to Build and Deploy
 Reduced startup time
 Less jar/class path problems
Benefits of Microservices
 Scales Development
 Develop, Deploy and Scale each Service Independently
 Improves Fault Isolation
 Eliminates long term commitment to a Single Technology Stack
 Possible to build Modular, Polyglot, multi-framework applications
Microservices Architecture for Taxi Hiring Application
Drawbacks
 Complexity of developing a distributed system
 Multiple databases and Transaction management
 Complexity of testing a distributed system
 Complexity of deploying and operating a distributed system
Future Plans
 Working on a POC to build a Microservice, with the
technologies Spring Boot and Cisco Search API
 Working with Cisco CSTG CSF team to discuss and
participate in building real Microservices to solve
business problems
Thank You.

Mais conteúdo relacionado

Destaque

Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015
Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015
Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015Teo Ruiz
 
Microservice Architecture
Microservice ArchitectureMicroservice Architecture
Microservice ArchitectureRich Lee
 
Evolving toward Microservices - O’Reilly SACON Keynote
Evolving toward Microservices  - O’Reilly SACON KeynoteEvolving toward Microservices  - O’Reilly SACON Keynote
Evolving toward Microservices - O’Reilly SACON KeynoteChristopher Grant
 
Monolith to Microservices - O’Reilly Oscon
Monolith to Microservices - O’Reilly OsconMonolith to Microservices - O’Reilly Oscon
Monolith to Microservices - O’Reilly OsconChristopher Grant
 
Software Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based ArchitecturesSoftware Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based ArchitecturesAngelos Kapsimanis
 
From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015Randy Shoup
 
Pragmatic Microservices
Pragmatic MicroservicesPragmatic Microservices
Pragmatic MicroservicesRandy Shoup
 
Cloud Native Java Microservices
Cloud Native Java MicroservicesCloud Native Java Microservices
Cloud Native Java MicroservicesKenny Bastani
 

Destaque (9)

Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015
Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015
Breaking the monolith at jobandtalent - AWS Summit Barcelona 2015
 
Microservice Architecture
Microservice ArchitectureMicroservice Architecture
Microservice Architecture
 
Evolving toward Microservices - O’Reilly SACON Keynote
Evolving toward Microservices  - O’Reilly SACON KeynoteEvolving toward Microservices  - O’Reilly SACON Keynote
Evolving toward Microservices - O’Reilly SACON Keynote
 
Monolith to Microservices - O’Reilly Oscon
Monolith to Microservices - O’Reilly OsconMonolith to Microservices - O’Reilly Oscon
Monolith to Microservices - O’Reilly Oscon
 
Software Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based ArchitecturesSoftware Architectures, Week 3 - Microservice-based Architectures
Software Architectures, Week 3 - Microservice-based Architectures
 
From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015From the Monolith to Microservices - CraftConf 2015
From the Monolith to Microservices - CraftConf 2015
 
Pragmatic Microservices
Pragmatic MicroservicesPragmatic Microservices
Pragmatic Microservices
 
Cloud Native Java Microservices
Cloud Native Java MicroservicesCloud Native Java Microservices
Cloud Native Java Microservices
 
software architecture
software architecturesoftware architecture
software architecture
 

Semelhante a Final_Presentation

MicroServices, yet another architectural style?
MicroServices, yet another architectural style?MicroServices, yet another architectural style?
MicroServices, yet another architectural style?ACA IT-Solutions
 
Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?Kai Wähner
 
Microservicessai 141024145932-conversion-gate01 (1)
          Microservicessai 141024145932-conversion-gate01 (1)          Microservicessai 141024145932-conversion-gate01 (1)
Microservicessai 141024145932-conversion-gate01 (1)Michel Habert
 
3 Computing Paradigms as Enablers of Smart Applications of The Future
3 Computing Paradigms as Enablers of Smart Applications of The Future3 Computing Paradigms as Enablers of Smart Applications of The Future
3 Computing Paradigms as Enablers of Smart Applications of The FutureMedianova
 
Meetup6 microservices for the IoT
Meetup6 microservices for the IoTMeetup6 microservices for the IoT
Meetup6 microservices for the IoTFrancesco Rago
 
Cloudify your applications: microservices and beyond
Cloudify your applications: microservices and beyondCloudify your applications: microservices and beyond
Cloudify your applications: microservices and beyondUgo Landini
 
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
[WSO2 API Day Dallas 2019] Extending Service Mesh with API ManagementWSO2
 
Docebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessDocebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessAWS User Group Italy
 
MS TechDays 2011 - Cloud Management with System Center Application Controller
MS TechDays 2011 - Cloud Management with System Center Application ControllerMS TechDays 2011 - Cloud Management with System Center Application Controller
MS TechDays 2011 - Cloud Management with System Center Application ControllerSpiffy
 
Microservices - Hitchhiker's guide to cloud native applications
Microservices - Hitchhiker's guide to cloud native applicationsMicroservices - Hitchhiker's guide to cloud native applications
Microservices - Hitchhiker's guide to cloud native applicationsStijn Van Den Enden
 
[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for EnterprisesWSO2
 
API Days Singapore
API Days SingaporeAPI Days Singapore
API Days Singaporeconfluent
 
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...apidays
 
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...Cognizant
 
3298 microservices and how they relate to esb api and messaging - inter con...
3298   microservices and how they relate to esb api and messaging - inter con...3298   microservices and how they relate to esb api and messaging - inter con...
3298 microservices and how they relate to esb api and messaging - inter con...Kim Clark
 
Microservices - modern software architecture
Microservices - modern software architectureMicroservices - modern software architecture
Microservices - modern software architectureBilguun Bayarmagnai
 
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...apidays
 
Microservices for Enterprises
Microservices for Enterprises Microservices for Enterprises
Microservices for Enterprises Kasun Indrasiri
 

Semelhante a Final_Presentation (20)

MicroServices, yet another architectural style?
MicroServices, yet another architectural style?MicroServices, yet another architectural style?
MicroServices, yet another architectural style?
 
Microservices
MicroservicesMicroservices
Microservices
 
Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?Microservices = Death of the Enterprise Service Bus (ESB)?
Microservices = Death of the Enterprise Service Bus (ESB)?
 
Microservicessai 141024145932-conversion-gate01 (1)
          Microservicessai 141024145932-conversion-gate01 (1)          Microservicessai 141024145932-conversion-gate01 (1)
Microservicessai 141024145932-conversion-gate01 (1)
 
3 Computing Paradigms as Enablers of Smart Applications of The Future
3 Computing Paradigms as Enablers of Smart Applications of The Future3 Computing Paradigms as Enablers of Smart Applications of The Future
3 Computing Paradigms as Enablers of Smart Applications of The Future
 
Meetup6 microservices for the IoT
Meetup6 microservices for the IoTMeetup6 microservices for the IoT
Meetup6 microservices for the IoT
 
Cloudify your applications: microservices and beyond
Cloudify your applications: microservices and beyondCloudify your applications: microservices and beyond
Cloudify your applications: microservices and beyond
 
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
 
Docebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessDocebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverless
 
MS TechDays 2011 - Cloud Management with System Center Application Controller
MS TechDays 2011 - Cloud Management with System Center Application ControllerMS TechDays 2011 - Cloud Management with System Center Application Controller
MS TechDays 2011 - Cloud Management with System Center Application Controller
 
Microservices - Hitchhiker's guide to cloud native applications
Microservices - Hitchhiker's guide to cloud native applicationsMicroservices - Hitchhiker's guide to cloud native applications
Microservices - Hitchhiker's guide to cloud native applications
 
[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises
 
Twelve factor-app
Twelve factor-appTwelve factor-app
Twelve factor-app
 
API Days Singapore
API Days SingaporeAPI Days Singapore
API Days Singapore
 
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
apidays LIVE Singapore - Moving to an Event Driven Microservices Architecture...
 
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
 
3298 microservices and how they relate to esb api and messaging - inter con...
3298   microservices and how they relate to esb api and messaging - inter con...3298   microservices and how they relate to esb api and messaging - inter con...
3298 microservices and how they relate to esb api and messaging - inter con...
 
Microservices - modern software architecture
Microservices - modern software architectureMicroservices - modern software architecture
Microservices - modern software architecture
 
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...
APIdays Helsinki 2019 - Impact of Microservices Architecture on API Managemen...
 
Microservices for Enterprises
Microservices for Enterprises Microservices for Enterprises
Microservices for Enterprises
 

Final_Presentation

  • 1. Building Scalable Architectures Micro Services Sasidhar Gogulapati
  • 2. Agenda  The Monolith  Decomposing Applications into Services  Microservice Characteristics  Reference – Microservice Architecture  Drawbacks of Microservices
  • 3. The Monolith Let’s Imagine we are building an Taxi- hiring application
  • 4.
  • 5. Browser/ Client Load Balancer Database Tomcat UI WAR/EAR …....................................... Passenger Mgmt. Service Driver Mgmt. Service Payment Service Notifications Service Traditional Application Architecture Easy To: Develop, Test, Deploy, Scale
  • 6. But Large, Complex Monolithic Applications are Problematic   Intimidates Developers  Obstacles to Frequent Deployments  Overloads IDE and Container, Slows down the development process  Obstacle to scaling development: lot of coordination and communication required between UI and Backend services  Requires long term commitment to a Technology Stack
  • 7. X-axis : Horizontal Scaling Y-axis: functional decomposition Scale by splitting different things Z-axis: data partitioning The Scale Cube Decomposing Application into Services
  • 8. Y-axis scaling: Application Level Passenger UI Passenger Mgmt. Service Driver UI Driver Mgmt. Service Payment UI Payment Service Notifications UI Notifications Service Apply z-axis and x-axis scaling to each service independently
  • 9.
  • 10. Microservices More Service, Less Micro But more realistically.. Focus on building services that make development and deployment easier - not just tiny services
  • 11. Benefits of Microservices Smaller, Simpler apps  Easier to Understand and Develop  Faster to Build and Deploy  Reduced startup time  Less jar/class path problems
  • 12. Benefits of Microservices  Scales Development  Develop, Deploy and Scale each Service Independently  Improves Fault Isolation  Eliminates long term commitment to a Single Technology Stack  Possible to build Modular, Polyglot, multi-framework applications
  • 13. Microservices Architecture for Taxi Hiring Application
  • 14. Drawbacks  Complexity of developing a distributed system  Multiple databases and Transaction management  Complexity of testing a distributed system  Complexity of deploying and operating a distributed system
  • 15. Future Plans  Working on a POC to build a Microservice, with the technologies Spring Boot and Cisco Search API  Working with Cisco CSTG CSF team to discuss and participate in building real Microservices to solve business problems

Notas do Editor

  1. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  2. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  3. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  4. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  5. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  6. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  7. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  8. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  9. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  10. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure
  11. Need to redeploy everything to change one component Interrupts long running background jobs Increases risk of failure