Architecture Flashcards
1
Q
Single Tier architecture
A
- Database
- Client, server and database reside on same machine
- SQL queries
2
Q
Single Tier architecture rarely uses…
A
Security
Scalability
Resilience
3
Q
Two tier architecture
A
- Presentation layer
- Data stored on server separately
- ODCB (Open database connectivity)
- API allows client side program to call DBMS
- Added security to DBMS
- Not exposed to end user
4
Q
Three tier architecture
A
- Extension of two tier architecture
1. Presentation Layer
2. Application layer
3. Database Server
5
Q
Three tier architecture how does it work?
A
- Application layer between the user and the DBMS
- communicates user requests to DBMS
- Send response from the DBMS to the user
- Processes functional Logic, constraint and rules
- Passes data to the user or down to the DBMS
6
Q
End Goal
A
- Separate user applications and physical database
- Support DBMS characteristics
- Program-data Independence
- Support of multiple views of the data
7
Q
Why is Three tier architecture good?
A
- Usually, the most popular database architecture
- Improved security (Data is kept separately from the server)
- Resilience (server might be broken into clusters to offer fail over)
- Scalability (Server can be load balanced and spread across number of servers providing more resilience)