Microservices vs Monolithic Advantages with real time Metrics.pptx
pbk14331433
16 views
15 slides
Sep 12, 2024
Slide 1 of 15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
About This Presentation
Micro Serivces vs Monolithic
Size: 1.7 MB
Language: en
Added: Sep 12, 2024
Slides: 15 pages
Slide Content
Distributed Transactions and Evaluation of Performance of Microservices Balakrishna Pendiyala
Monolithic
Drawbacks Understanding. When a monolithic application scales up, it becomes too complicated to understand. Also, a complex system of code within one application is hard to manage. Making changes. It is harder to implement changes in such a large and complex application with highly tight coupling. Any code change affects the whole system so it has to be thoroughly coordinated. This makes the overall development process much longer. Scalability. You cannot scale components independently, only the whole application. New technology barriers. It is extremely problematic to apply a new technology in a monolithic application because then the entire application has to be rewritten.
Microservices
Strengths
Distributed Transactions
Database per service vs shared Database
Thesis Goals
Building Applications for Research
Building SubApp Monolithic Application
Building SubApp Microservices
E xperiment 1 Monolith Microservice with gateway Microservice without gateway Sample size 447 241 123 644 406 470 Failed requests 0 % 1,24 % 0 % Minimum (ms) 28 103 43 Maximum successful (ms) 64 717 71 892 10 850 To compare the monolith and the microservice prototype on single service queries, three different GET requests were sent to the two prototypes. For each request, the response time, the status code, and the number of active threads when the request was initiated were collected
Experiment 2 The aim of the second experiment was to compare the monolith prototype to the microservice solution with the API Composer service. This means that queries in the monolith prototypes translate into multiservice queries in the microservice prototype. The API Composer service handled these multiservice queries. Monolith Microservices Sample size 332 602 42 251 Failed requests 0 % 2.51 % Minimum (ms) 106 139 Maximum successful (ms) 127 474 80 143
Experiment 3 This third experiment is an extension of the second experiment. However, instead of increasing the concurrent request made to the SubApp prototypes, the number of documents returned by the prototypes was increased for each iteration