Twelve factor-app

9 de Mar de 2020
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
Twelve factor-app
1 de 32

Mais conteúdo relacionado

Mais procurados

Scaling IntegrationScaling Integration
Scaling IntegrationKim Clark
Whitepaper: DevOps - Happiest MindsWhitepaper: DevOps - Happiest Minds
Whitepaper: DevOps - Happiest MindsHappiest Minds Technologies
Black Friday Performance Testing with HPE's Stormrunnerload 2016 (1)Black Friday Performance Testing with HPE's Stormrunnerload 2016 (1)
Black Friday Performance Testing with HPE's Stormrunnerload 2016 (1)Jeffrey Nunn
WSO2Con EU 2015: Keynote - System of Systems - Building a Connected BusinessWSO2Con EU 2015: Keynote - System of Systems - Building a Connected Business
WSO2Con EU 2015: Keynote - System of Systems - Building a Connected BusinessWSO2
Easily Create Scalable Automation using SeleniumEasily Create Scalable Automation using Selenium
Easily Create Scalable Automation using SeleniumMicro Focus
Travelers 360 degree health assessment of microservices on the pivotal platformTravelers 360 degree health assessment of microservices on the pivotal platform
Travelers 360 degree health assessment of microservices on the pivotal platformRohit Kelapure

Mais procurados(20)

Similar a Twelve factor-app

Which Application Modernization Pattern Is Right For You?Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?Apigee | Google Cloud
Why Microservice Why Microservice
Why Microservice Kelvin Yeung
The Reality of Managing Microservices in Your CD PipelineThe Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD PipelineDevOps.com
Using PaaS to run APIs and Microservices in ProductionUsing PaaS to run APIs and Microservices in Production
Using PaaS to run APIs and Microservices in ProductionApigee | Google Cloud
ResumeResume
ResumeMichael Alberts
Microservice Best Practices The 8020 Way.pdfMicroservice Best Practices The 8020 Way.pdf
Microservice Best Practices The 8020 Way.pdfSimform

Similar a Twelve factor-app(20)

Último

Die ultimative Anleitung für HCL Nomad Web AdministratorenDie ultimative Anleitung für HCL Nomad Web Administratoren
Die ultimative Anleitung für HCL Nomad Web Administratorenpanagenda
class and object in c++.pptxclass and object in c++.pptx
class and object in c++.pptxAdarsh College, Hingoli
Nymity Framework: Privacy & Data Protection Update in 7 StatesNymity Framework: Privacy & Data Protection Update in 7 States
Nymity Framework: Privacy & Data Protection Update in 7 StatesTrustArc
Unleashing the Power of Modern Carpooling Apps, Inspired by BlaBlaCarUnleashing the Power of Modern Carpooling Apps, Inspired by BlaBlaCar
Unleashing the Power of Modern Carpooling Apps, Inspired by BlaBlaCarArchie Cadell
Smart Contracts - The Blockchain Beyond BitcoinSmart Contracts - The Blockchain Beyond Bitcoin
Smart Contracts - The Blockchain Beyond BitcoinJim McKeeth
Fipto Seed Pitch DeckFipto Seed Pitch Deck
Fipto Seed Pitch Decksjcobrien

Último(20)

Twelve factor-app

Notas do Editor

  1. Middleware is the green section. The bottom part – Presentation Logic Tier, Business Logic Tier and Data Access Tier explains the responsibility of Middleware.
  2. A set of recommendations for how to build software as service.
  3. Here are some of the predictable challenges.
  4. What you’re looking at are the microservices architecture for 3 different companies. The Netflix death star is what powers Netflix today. The reason why millions of people can watch high-bandwidth, high-quality movies is because of this microservices architecture. The same applies for Gilt and Twitter.
  5. Because of how the 12-factor app is architected, it will be very difficult to have a successful 12-factor app without an API management platform. That’s why we are going to discuss what it is and how it can help.
  6. The main purpose of this slide is to give a high-level overview of the role of an API management platform.
  7. What we’re seeing here is a conceptual strategy for how to implement an API management platform and at the same time have services that are from before the adoption of the API management framework. The main idea is that the strangler is the as-is architecture and the API gateway is where newer APIs are deployed, where APIs that are stranglers are eventually migrated to. The ambassadors are reusable logic that is deployed alongside each microservices, whereas a sidecar might be logic that pertains to that specific microservice. The microservice is the definition of the API.
  8. Now, I have taken the previous slide showing a conceptual architecture and this one is meant to represent an example closer to home.
  9. Traditionally 3-tier architecture have 3 layers: The presentation, which is HTML or XAML. The logic tier, which is middleware. And, the data tier, which comprise the databases.
  10. The core of a 12-factor app is a hexagonal architecture. It is self-hosted and communicates with other components through port-binding. Its configuration does not reside in the application itself, but externally. And, it’s data storage is swappable without affecting the app. This can be achieved through a microservices architecture.
  11. Here is an example of how a 12-factor app may segregate its logic for reading and writing. Now, this particular architecture is built for speed. So over here, we have the API gateway, which segregates, reads, and writes. If it is a write, it goes through a middleware and eventually is saved into SQL Server. At the same time, it is saved into a message queue and eventually the microservice is a subscriber of that topic and passes the results to Redis. When a read operation occurs, it is routed to the read microservice, in which case, it utilizes Redis for an extremely fast experience and dataset results. This is due to Redis reads being much faster than relational databases.
  12. A 12-factor app can be deployed to any environment readily and reliably.
  13. A solution that was proposed and accepted recently by FTFCU utilizes Octopus Deploy, Team City, and GitHub for continuous integration and continuous delivery. This helps us achieve one of the fundamental goals of a 12-factor application.
  14. A 12-factor app declares all of its dependencies within itself. This can be achieved through a NuGet service and the utilization of NPM packages.
  15. Today we are storing NuGet packages in a shared drive. However, in my opinion, a more compelling alternative is to utilize the Team City NuGet repository to host the packages.
  16. In order to achieve the 12-factor app desire to separate the configuration from the application, once again, Octopus deploy can help us store and orchestrate our configurations for each environment; that is, dev, QA, staging, and production, automatically.
  17. A 12-factor application requires resources, such as databases, be detached and re-attached without code changes. But, let’s think about a scenario where a database is in a different server and therefore, your connections strings that are controlled, as mentioned before, have to point to a generic end point. This can be achieved through an Octopus deploy step to update the configurations.
  18. Many applications today require complex logic in the background to occur, such that simply asking a potential user of the application to wait until those processes are completed would result in an undesirable user experience. A common scenario for this type of process is a credit card application, where a decision may take sometimes hours or even days to complete.
  19. Currently, we solve this problem by utilizing BizTalk. An alternative approach is to utilize Azure Logic Apps. Logic Apps can connect to on-prem resources, as well as to any cloud providers, including our own cloud infrastructure. It also provides common connectors that expedite communication between many cloud apps, such as Salesforce, FTP, SQL Server, SharePoint, Twitter, etc.
  20. Here is an example of what a Logic App look like within Azure.
  21. Another requirement of a 12-factor app is that it can be scaled up or down. Docker is a platform that facilitates the scaling of the 12-factor application. For more info, see: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-autoscale
  22. So even though we might want to start this today, there are a few considerations to explore: We need the tooling Training for both the developers, infrastructure, security, and CBA More importantly, it’s about changing the culture from silos to teams that are together responsible for the success of a 12-factor app and the microservices that power it.
  23. This vision can not be achieved in a silo and this is what we are going to do as an organization. We, IT and the business, must join together to address these questions. Enterprise architecture can guide the organization through a path to success, but can not alone dictate the solution to these concerns.
  24. SMART (specific, measurable, achievable, realistic, timebound) SWOT (strengths, weaknesses, opportunities, threats)