chapter 2- part2 Flashcards

(9 cards)

1
Q

Qu’est-ce qu’une application Stateless?

A

A stateless app doesn’t save any data about you between requests. Each request is like a new one—nothing is saved. (Ex: REST API)

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

C’est quoi une application Stateful?

A

A stateful app remembers you. It saves info like your cart, your login… (Ex: session, shopping cart)

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

Pourquoi préférer Stateless pour les APIs?

A

Because it’s simpler, faster, more scalable. Each request is independent!

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

Qu’est-ce que la programmation orientée objet (OOP)?

A

It’s about using objects and classes—like characters in a game, each has its own data and actions.

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

Qu’est-ce que la programmation fonctionnelle?

A

It’s like math functions: no side effects, pure, simple functions that just take input and give output.

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

Qu’est-ce que l’asynchrone?

A

It’s doing multiple things at the same time—like sending emails and serving pages while waiting for a big task to finish.

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

C’est quoi la gestion des erreurs?

A

It’s catching and handling errors (like 404, 500) to avoid crashes and give good responses.

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

C’est quoi le monitoring?

A

It’s tracking your app’s health—checking logs, errors, performance, and alerts when stuff breaks.

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

Donne un exemple d’outils de monitoring.

A

Tools like Sentry, New Relic, Prometheus, or ELK.

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