Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Pros, Cons, Pitfalls of common Docker container architectures (#dockitecture)

1,136 views

Published on

Pros, Cons, Pitfalls of common Docker container architectures (#dockitecture)

Published in: Technology
  • Be the first to comment

Pros, Cons, Pitfalls of common Docker container architectures (#dockitecture)

  1. 1. World® ’16 CAW Pros, Cons, and Pitfalls of Common Docker Container Architectures (#Dockitecture) Mark Emeis - Founder - Yipee.io DO3X09SV CA ACCELERATOR
  2. 2. 2 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD © 2016 CA. All rights reserved. All trademarks referenced herein belong to their respective companies. The content provided in this CA World 2016 presentation is intended for informational purposes only and does not form any type of warranty. The information provided by a CA partner and/or CA customer has not been reviewed for accuracy by CA. For Informational Purposes Only Terms of this Presentation
  3. 3. 3 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Abstract Containers, in particular Docker, have a tremendous buzz right now and for good reason. In addition to the numerous direct benefits (service encapsulation, lightning fast startup, easy distribution, simplified update, etc.), containers can be leveraged to realize the promise of service oriented architectures. As with any emerging technology, there are numerous ways to architect and implement solutions using Docker containers. This presentation will cover the advantages, disadvantages, and pitfalls of several common architectural approaches. We will discuss monolithic containers, micro-service containers, and various points in between. Mark Emeis Yipee.io Founder
  4. 4. 4 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Agenda WHY ARE WE HERE BACKGROUND COMMON ARCHITECTURES ARCHITECTURE SCORE CARDS SUMMARY AND TAKEAWAY 1 2 3 4 5
  5. 5. 5 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD New Development Availability Extensibility Maintainability Portability Scalability Securability Legacy Products Maintainability Portability Moving to the Cloud Availability Scalability Securability Why Are We Here
  6. 6. 6 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Background § What are containers? – Small, lightweight, encapsulated software functionality – Share operating system kernel – Long history (Solaris Zones, LXC) § What is Docker? – Software containerization platform – Linux container management, simplified – Standards based – Docker Inc. and Docker Open Source Containers and Docker
  7. 7. 7 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Background § 12 factor apps – Configuration in the environment – Stateless processes – Disposability – Development/production parity § Inter-container management § Intra-container management Container Patterns
  8. 8. 8 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Background Cattle vs Pets
  9. 9. 9 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Common Architectures § An application that moves as a single unit – Examples § Virtual Machine, Single Executable – May have multiple components § Three tier application (Web, Business, and Data Tier) – Tightly coupled – State managed in multiple locations – Frequently a single language Monolith – Primarily Pets WebServer Web UI Business Logic Utilities TicketZap
  10. 10. 10 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Pitfalls Portability Securability Pros Securability Cons Availability Extensibility Maintainability Scalability Common Architectures Monolith – Primarily Pets
  11. 11. 11 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Common Architectures § An application leveraging external services – Example external services § Authentication, analytics – Will have multiple components, processes – Introducing concepts like queueing to reduce coupling – Introducing separation of concerns § Leveraging interface contracts Hybrid – Pets With Some Cattle WebServerWebServer UI Shop and Purchase Reporting Admin TicketZap WebServerWebServer REST (business) Shop and Purchase Reporting AdminUtilities ORM Analytics AuthN
  12. 12. 12 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Pitfalls Maintainability Portability Securability Pros Maintainability Portability Securability Cons Availability Extensibility Scalability Common Architectures Hybrid – Pets With Some Cattle
  13. 13. 13 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Common Architectures § An application comprised of many stateless services – Examples § Service oriented architectures – Will have multiple services – functional boundaries Loose coupling – Language agnostic – Interface driven – High cohesion and low coupling Micro-Service – Primarily Cattle TicketZap Purchase Analytics AuthN Purchase API Shop API ShopShop Report APIReport Admin Utilities
  14. 14. 14 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Pitfalls Maintainability Securability Pros Availability Extensibility Maintainability Portability Scalability Securability Cons Common Architectures Micro-Service – Primarily Cattle
  15. 15. 15 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Architecture Score Cards
  16. 16. 16 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Architecture Score Cards
  17. 17. 17 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Summary and Takeaway § Applications leveraging hybrid and microservice architectures are seeing benefits around non-functional requirements including – Maintainability – Scalability – Extensibility § Docker is a driving force for microservice architecture adoption § Yipee.io is a tool to aid in adoption
  18. 18. 18 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD TicketZap in Yipee.io
  19. 19. 19 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Questions?
  20. 20. 20 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD References § Docker https://www.docker.com/ § Open Container Initiative https://www.opencontainers.org/ § Container patterns – 12 Factor apps https://12factor.net/ – Autopilot http://autopilotpattern.io/
  21. 21. 21 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Thank you. Stay connected at communities.ca.com

×