Microservices and the Web (lecture 4)

studied byStudied by 4 people
5.0(1)
Get a hint
Hint

A service

1 / 22

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

23 Terms

1

A service

Doing something for someone else when requested, here an IT system does something for another IT system on request

New cards
2

RPC

Remote Procedure Call - execute code on another computer connected over a network

New cards
3

API

Application Programming Interface - the things you need to do to call code on another computer

New cards
4

Space coupling (time-coupled)

Communication directed towards a receiver that exists at that moment in time - message passing, remote invocation

New cards
5

Space coupling (time-uncoupled)

Communication directed towards a receiver that can have an independent lifetime

New cards
6

Space uncoupling (time-coupled)

Sender does not need to know receivers identity, but receiver must exist at the point in time

New cards
7

Space uncoupling (time-uncoupled)

Sender does not need to know the identity of the receiver, sender and receiver can have independent lifetimes

New cards
8

Reliability

Tolerating hardware and software faults | Human error

New cards
9

Scalability

Measuring load and performance | Latency percentiles, throughput

New cards
10

Maintainability

Operability, simplicity and evolvability

New cards
11

RPC goal

Transparency through failure masking

New cards
12

HTTP resource

An artifact with state, fx. a document, an image, an airplane booking…

Interaction through CRUD (create, read, update, delete)

New cards
13

HTTP safety

CRUD (create, read, update, delete) is supposed to be idempotent (no additional effect if repeated)

GET and HEAD supposed to have no side-effects

New cards
14

IDL (gRPC)

Interface Definition Language - define messages

New cards
15

Cloud Native

Uses containers, service meshes, microservices, immutable infrastructure to enable loosely coupled systems that are resilient, manageable and observable

New cards
16

Monolithic application

Puts all functionality into single process - scaled by replicating monolith on several servers

New cards
17

Microservices

Puts each element of functionality into a separate service - scaled by distributing services across servers, only replicating when needed

Small, independent, and loosely coupled.

Internal implementation details are hidden.

New cards
18

Microservice philosophy

Service with some philosophy

Business flexibility

Lifecycle - independent changes

High cohesion, low coupling

New cards
19

Microservice downsides

Complexity

Testing

(Lack of) governance

Network load

Data integrity

Versioning

New cards
20

Componentization

Build systems by plugging components together

New cards
21

Products vs projects

Products! Projects end, software stays.

New cards
22

Pipes responsibility

Only transportation, fx. message routing

New cards
23

Synchronous?

Harmful

Time and space decoupled

Multiplies downtime

Implies waiting

You don’t need it!

New cards

Explore top notes

note Note
studied byStudied by 118 people
... ago
5.0(2)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 64 people
... ago
4.0(2)
note Note
studied byStudied by 55 people
... ago
4.5(2)
note Note
studied byStudied by 36656 people
... ago
4.9(188)

Explore top flashcards

flashcards Flashcard (32)
studied byStudied by 140 people
... ago
4.0(1)
flashcards Flashcard (24)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (37)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (63)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (75)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (41)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 33 people
... ago
5.0(1)
robot