100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CS3001 - Advanced Topic in Computer Science - Microservices

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
21-11-2023
Written in
2022/2023

This pdf contains Exam revision for the topic Microservices. This also includes lab questions and answer that also comes up in the exam. I got A+ from this revising from these notes/ exam questions and answer.

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Unknown
Course

Document information

Uploaded on
November 21, 2023
Number of pages
13
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Monolithic:
1. What are they?

Architecture where everything is in one place

o E.g., 1 programming language such as Java, compile application as 1 unit, and deploy
as 1 unit
o Standard practice for building monolithic architecture is building in layers:
▪ Data layer – database
▪ Access layer – classes and libraries that access database
▪ Business logic – classes that have the logic of application, basic
functionalities
▪ User interface layer
2. Why are they used; How are they used; When are they used;

Monolithic architecture is commonly used for developing small to medium-sized applications, where
the codebase is relatively small, and the development team is also small. This makes it easier to
develop and deploy the application as they do not require complex configuration or management of
separate components. E.g., web applications and desktop applications.

Monolithic architectures are typically used in the development of software applications where the
entire application is built as a single, self-contained unit.

3. Advantages and disadvantages;

Advantages of Monolithic Architecture:
• Easy
• Simple

Disadvantages of Monolithic Architecture:
• Must replicate whole application
• Scalability – the more scalability there is, the better it is, it allows for more traffic without
sacrificing performance.
• If one part goes down in the system, the whole thing goes down

Microservices:
1. What are they?

Microservices = Independent Deployment Units

each service is developed and deployed independently, which allows for greater flexibility and
scalability

• Independent – when building a component, it should not be dependent or too coupled with
other features on system. If this goes down, it shouldn’t affect other features
• Deployment – need to be able to deploy services independently, service by service and not
as a whole
• A microservice is a software architectural style focused on decomposing applications into
single-function modules with well-defined interfaces which are independently deployed and
operated by small teams who own the entire lifecycle of the service.

, • Microservices accelerate delivery by minimizing communication and coordination between
people while reducing the scope and risk of change.



2. Why are they used; How are they used; When are they used;

Why - They are used because of scalability, resilience and flexibility.

How – they are used in complex applications that require high scalability and availability.

When – applications are large, complex and require high scalability, resilience and agility.

3. Advantages and disadvantages;




Monolith vs microservices
Monolithic Microservice
• Used for smaller applications • Used for bigger applications
• Has single database • Can have multiple databases
• Has single programming language • Can have multiple programming
• Has single deployment languages
• Harder to scale for large applications – • Can have individual deployment units
as it uses more resources • Easier to scale applications as they are
• Easier to scale for smaller applications split into different components – allows
• Can't work on multiple features at the resource management accordingly
same time and takes longer to deploy • Can work on features individually and
• Easier to troubleshoot as only one deploy much quicker
programming language • Harder to troubleshoot because of
multiple programming languages
$6.93
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
tailr019304

Get to know the seller

Seller avatar
tailr019304 Brunel University
Follow You need to be logged in order to follow users or courses
Sold
6
Member since
2 year
Number of followers
3
Documents
5
Last sold
8 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions