Architecture Flashcards

1
Q

Microservice

A

No precise definition :
service that delivers one business function more or less independently from others, can be coded, deployed, used, scaled, upgraded independently instead of a monolithic application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Inconvenient of microservices

A

Network latency and message processing for inter-service calls over the network as opposed to monolithic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SOA

A

Service-oriented architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SoA vs micro-services

A

The difference is scope: SOA for enterprise-wide and micro-services for applications.

The 2 are compatible.

1- Re-use: SOA wants it for efficiency but m-s may prefer code duplication for agility for decoupling

2- Synchronous calls: SOA wants them but m-s prefer asynch (like event push) for decoupling

3- Data duplication: SOA wants all app to go update data at its primary source, m-s all have the data they need to be independent, even if duplicated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Event broker

A

MDW between event generator and consumer on publish-subscribe model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

EDA

A

Event-Driven Architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Resource contention

A

Conflict over access to a shared resource like memory, buses, devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to solve resource contention (4)

A

Locks, semaphores, queues, scheduling, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly