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)
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
3
Q
How do I decide how many tiers my application should have?
A
4
Q
What are examples of application components?
A
Database, backend server, UI, messaging, caching
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.
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).
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.