Tiers In Software Architecture Flashcards

1
Q

What is a Tier?

A

A logical and physical separation of components in an application or a service at the Component level (not the code level)

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

Why do software apps have different tiers?

A
  • Creates a loosely coupled architecture.
  • changes to a specific component does not impact the other components.
  • components having designated roles makes management of whole system easier
  • easier to add new features
  • code changes in one component do not affect code in others
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do I decide how many tiers my application should have?

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

What are examples of application components?

A

Database, backend server, UI, messaging, caching

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

What is a single-tier application?

A

In a single-tier application, the user interface, backend business logic, and the database reside in the same machine.

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

Single-tier App Upsides

A
  • No Network latency (every component on same machine). Improved performance if machine can support.
  • Data/Privacy of highest order since user data always stays on one machine (doesn’t need to fly over network for persistence).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

2 Tier Application

A

Has Client and server. Client has UI+business logic, Server has DB on diff machine and is owned by the business.

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