DevOps Classroomnotes 04/Jan/2022

Scenario: E-Commerce Application

  • Sample E-Commerce Application Architecture
    Preview
  • This application is developed using Java and to host this web application we need a tomcat server. The database is PostgreSQL
  • The architecture can be realized with minimum of two servers as shown below
    Preview
  • Challenges:
  • Peak Hours:
    • Lets assume our server can handle 5000 parallel requests per second, since we are running offers there is traffic with 20000 request per second
    • To solve this we scale the number of instances running our application as shown below
      Preview
    • Lets look at our application components, During peak hours only few components of our applications might be busy, but we scale the whole application which increase the amount of hardware resources such as CPU, RAM, Storage etc unnecessarily
    • This thought process has lead us to microservices.
      Preview
    • This concept expects scaling individual service components
      Preview
  • As we have seen in the class there is some software called as docker which can create multiple instances of the application by simply executing a command.

Docker Inc

  • There was a organization called as dot cloud who were working on same PAAS application, to test this application they have created docker.
  • Docker was made opensource and there was lot of community intrest in Docker and then became orgnization’s major product.
  • The organization was renamed as Docker Inc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner