SlideShare a Scribd company logo
Presentation
on
Client Server Architecture
Client /Server Architecture
• The basic client/server architecture is used to deal with a large
number of PCs, web servers, database servers and other components
that are connected with networks.
• The client/server architecture consists of many PCs and a workstation
which are connected via the network.
• Client requests the server for a service. Server provides the requested
service to the client.
Client /Server Architecture
CClient
Client
Client
Network Server
Types of Client/Server Architecture
• Client/Sever architecture can be seen as a single tier or multitier.
DC/S Architecture Types
1-tier Architecture 2-tier Architecture 3-tier Architecture
Single or 1-tier Architecture
• In a single or 1-tier architecture, the database is directly available to
the user. The client, server and database all reside on the same
machine i.e. the user can directly sit on the DBMS and uses it.
• Any changes done here will directly be done on the database itself. It
does not provide a handy tool for end users.
• No network connection is required to perform the action on the
database.
Use: 1-tier architecture
• Where data does not change frequently and where no multiple user is accessing
the system.
• For the development of the local application, where programmers can directly
communicate with the database for quick response.
• But such architecture is rarely used in production.
1-tier architecture
Database user
database system
2-tier architecture
Network Connection
• It is same as the client server.
Client 1 Client 2 Client 3
Data
Server
2-tier architecture
• In the 2-tier architecture, applications on the client end can directly communicate
with the database at the server side.
• An Application Programming Interface(APIs) like ODBC( Open Database
Connectivity) and JDBC(Java Database Connectivity) are used by client side
programs to call the DBMS.
• The user interface and application programs are run on the client side.
• To communicate with the DBMS, client side application established a connection
with the server side.
• The server side responsible to provide the functionalities like query processing
and transaction management.
Use: 2-tier architecture
• The 2-tier architecture is used inside any organization, where multiple clients accessing
the database server directly.
E.g. customer can withdraw the money from the bank counter where teller as a
client accesses the bank database server directly.
Advantages:
• Direct and faster communication.
• Maintenance and understanding is easier.
• Compatible with existing system.
Disadvantages:
• it gives poor performance when there are a large number of users.
• Less secure as client can access the server directly.
3-tier architecture
Client Layer
Client
Application
Business Layer
Data Layer
Client 1 Client 2 Client 3
Application server
Data
source
3-tier architecture
• 3-tier architecture contains another layer of application server between the client
and database server.
• In this architecture, client can’t directly communicate with the database server.
• The application on the client end interacts with an application server which
further communicates with the database server and then query processing and
transaction management takes place.
• The intermediate layer of application server acts as a medium for exchange of
data between the database server and client.
3-tier architecture
• End user has no idea about the existence of the database beyond the application
server. The database server also has no idea about any other user beyond the
application.
Uses of 3-tier architecture
• The 3-tier architecture is used in large web applications.
• It is the most popular DBMS architecture.
Advantages
• Enhanced scalability due to distributed deployment of application server.
• Data integrity is maintained. Since there is a middle layer between client and
database server, data corruption can be avoided /removed. (Data integrity refers
to accuracy and consistency of data stored in the database.)
3-tier architecture
• Security is improved. This type of model prevents direct interaction of the client
with the database server there by reducing the access to unauthorized data.
Disadvantages
• Increased complexity of implementation and communication. It becomes difficult
for this sort of interaction to take place due to presence of middle layer.

More Related Content

What's hot

Documentos de analisis de requerimientos
Documentos de analisis de requerimientosDocumentos de analisis de requerimientos
Documentos de analisis de requerimientosMilton Garzon
 
Client Server Architecture in Software engineering
Client Server Architecture in Software engineeringClient Server Architecture in Software engineering
Client Server Architecture in Software engineering
pruthvi2898
 
Practica sobre instalacion y puesta en marcha de proftp
Practica sobre instalacion y puesta en marcha de proftpPractica sobre instalacion y puesta en marcha de proftp
Practica sobre instalacion y puesta en marcha de proftpAntonio Del Río
 
Imap server
Imap server Imap server
Imap server
PrativaMarasini
 
SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer Protocol
SIDDARAMAIAHMC
 
Client server chat application
Client server chat applicationClient server chat application
Client server chat application
Piyush Rawat
 
Software Requirement Specification For Smart Internet Cafe
Software Requirement Specification For Smart Internet CafeSoftware Requirement Specification For Smart Internet Cafe
Software Requirement Specification For Smart Internet Cafe
Hari
 
Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3
Eddyzulham Mahluzydde
 
Mail Server Project Report
Mail Server Project ReportMail Server Project Report
Mail Server Project ReportKavita Sharma
 
Report on Dental treatment & management system
Report on Dental treatment &  management system Report on Dental treatment &  management system
Report on Dental treatment & management system
Zakirul Islam
 
1619_DANGANTHANH_GCS190644_AssignmentFull.docx
1619_DANGANTHANH_GCS190644_AssignmentFull.docx1619_DANGANTHANH_GCS190644_AssignmentFull.docx
1619_DANGANTHANH_GCS190644_AssignmentFull.docx
khangphanvan
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
RituBhargava7
 
Application server
Application serverApplication server
Application server
nava rathna
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier ArchitectureWebx
 
Ch6 - Architectural Design
Ch6 - Architectural DesignCh6 - Architectural Design
Ch6 - Architectural Design
Harsh Verdhan Raj
 
Software System Engineering - Chapter 2
Software System Engineering - Chapter 2Software System Engineering - Chapter 2
Software System Engineering - Chapter 2
Fadhil Ismail
 
Main Components Of Database Management Systems.pptx
Main Components Of Database Management Systems.pptxMain Components Of Database Management Systems.pptx
Main Components Of Database Management Systems.pptx
Green University of Bangladesh
 
Sequence diagrame
Sequence diagrameSequence diagrame
Sequence diagrame
City University
 

What's hot (20)

Documentos de analisis de requerimientos
Documentos de analisis de requerimientosDocumentos de analisis de requerimientos
Documentos de analisis de requerimientos
 
Client Server Architecture in Software engineering
Client Server Architecture in Software engineeringClient Server Architecture in Software engineering
Client Server Architecture in Software engineering
 
Practica sobre instalacion y puesta en marcha de proftp
Practica sobre instalacion y puesta en marcha de proftpPractica sobre instalacion y puesta en marcha de proftp
Practica sobre instalacion y puesta en marcha de proftp
 
Imap server
Imap server Imap server
Imap server
 
SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer Protocol
 
Client server chat application
Client server chat applicationClient server chat application
Client server chat application
 
Software Requirement Specification For Smart Internet Cafe
Software Requirement Specification For Smart Internet CafeSoftware Requirement Specification For Smart Internet Cafe
Software Requirement Specification For Smart Internet Cafe
 
Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3
 
Email Client Server System
Email Client Server SystemEmail Client Server System
Email Client Server System
 
Mail Server Project Report
Mail Server Project ReportMail Server Project Report
Mail Server Project Report
 
Report on Dental treatment & management system
Report on Dental treatment &  management system Report on Dental treatment &  management system
Report on Dental treatment & management system
 
1619_DANGANTHANH_GCS190644_AssignmentFull.docx
1619_DANGANTHANH_GCS190644_AssignmentFull.docx1619_DANGANTHANH_GCS190644_AssignmentFull.docx
1619_DANGANTHANH_GCS190644_AssignmentFull.docx
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Application server
Application serverApplication server
Application server
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier Architecture
 
Ch6 - Architectural Design
Ch6 - Architectural DesignCh6 - Architectural Design
Ch6 - Architectural Design
 
Software System Engineering - Chapter 2
Software System Engineering - Chapter 2Software System Engineering - Chapter 2
Software System Engineering - Chapter 2
 
Main Components Of Database Management Systems.pptx
Main Components Of Database Management Systems.pptxMain Components Of Database Management Systems.pptx
Main Components Of Database Management Systems.pptx
 
Sequence diagrame
Sequence diagrameSequence diagrame
Sequence diagrame
 
Chapter3
Chapter3Chapter3
Chapter3
 

Similar to Client Server Architecture...pptx

Structure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMSStructure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMS
BHARATH KUMAR
 
Database architacture
Database architactureDatabase architacture
Database architacture
Param Radadiya
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
tahir khan
 
3 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp013 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp01
asif khan
 
Odbc and data access objects
Odbc and data access objectsOdbc and data access objects
Odbc and data access objects
Sangeetha Sg
 
Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11Tech_MX
 
Introduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptxIntroduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptx
LEENASAHU42
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
Bhargav Amin
 
Lecture5 architecture styles.pdf
Lecture5 architecture styles.pdfLecture5 architecture styles.pdf
Lecture5 architecture styles.pdf
ssuser9d62d6
 
Advanatages csc
Advanatages cscAdvanatages csc
Advanatages csc
MDSHAMIM54
 
Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad
Faisal Shehzad
 
Network administration Book
Network administration BookNetwork administration Book
Network administration Book
Muhammad Jawwad Hashmi
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
Sweta Singh
 
Part 1 network computing
Part 1 network computingPart 1 network computing
Part 1 network computingLinh Nguyen
 

Similar to Client Server Architecture...pptx (20)

Structure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMSStructure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMS
 
Database architacture
Database architactureDatabase architacture
Database architacture
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 
Technical Architectures
Technical ArchitecturesTechnical Architectures
Technical Architectures
 
3 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp013 tierarchitecture-091103063446-phpapp01
3 tierarchitecture-091103063446-phpapp01
 
Odbc and data access objects
Odbc and data access objectsOdbc and data access objects
Odbc and data access objects
 
Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11
 
Introduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptxIntroduction and Basics to web technology .pptx
Introduction and Basics to web technology .pptx
 
Clientserver
ClientserverClientserver
Clientserver
 
3tier architecture
3tier architecture3tier architecture
3tier architecture
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
3tier architecture
3tier architecture3tier architecture
3tier architecture
 
Lecture5 architecture styles.pdf
Lecture5 architecture styles.pdfLecture5 architecture styles.pdf
Lecture5 architecture styles.pdf
 
Advanatages csc
Advanatages cscAdvanatages csc
Advanatages csc
 
Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad
 
Network administration Book
Network administration BookNetwork administration Book
Network administration Book
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
Client server computing
Client server computingClient server computing
Client server computing
 
Part 1 network computing
Part 1 network computingPart 1 network computing
Part 1 network computing
 
4. system models
4. system models4. system models
4. system models
 

Recently uploaded

Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 

Recently uploaded (20)

Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 

Client Server Architecture...pptx

  • 2. Client /Server Architecture • The basic client/server architecture is used to deal with a large number of PCs, web servers, database servers and other components that are connected with networks. • The client/server architecture consists of many PCs and a workstation which are connected via the network. • Client requests the server for a service. Server provides the requested service to the client.
  • 4. Types of Client/Server Architecture • Client/Sever architecture can be seen as a single tier or multitier. DC/S Architecture Types 1-tier Architecture 2-tier Architecture 3-tier Architecture
  • 5. Single or 1-tier Architecture • In a single or 1-tier architecture, the database is directly available to the user. The client, server and database all reside on the same machine i.e. the user can directly sit on the DBMS and uses it. • Any changes done here will directly be done on the database itself. It does not provide a handy tool for end users. • No network connection is required to perform the action on the database.
  • 6. Use: 1-tier architecture • Where data does not change frequently and where no multiple user is accessing the system. • For the development of the local application, where programmers can directly communicate with the database for quick response. • But such architecture is rarely used in production. 1-tier architecture Database user database system
  • 7. 2-tier architecture Network Connection • It is same as the client server. Client 1 Client 2 Client 3 Data Server
  • 8. 2-tier architecture • In the 2-tier architecture, applications on the client end can directly communicate with the database at the server side. • An Application Programming Interface(APIs) like ODBC( Open Database Connectivity) and JDBC(Java Database Connectivity) are used by client side programs to call the DBMS. • The user interface and application programs are run on the client side. • To communicate with the DBMS, client side application established a connection with the server side. • The server side responsible to provide the functionalities like query processing and transaction management.
  • 9. Use: 2-tier architecture • The 2-tier architecture is used inside any organization, where multiple clients accessing the database server directly. E.g. customer can withdraw the money from the bank counter where teller as a client accesses the bank database server directly. Advantages: • Direct and faster communication. • Maintenance and understanding is easier. • Compatible with existing system. Disadvantages: • it gives poor performance when there are a large number of users. • Less secure as client can access the server directly.
  • 10. 3-tier architecture Client Layer Client Application Business Layer Data Layer Client 1 Client 2 Client 3 Application server Data source
  • 11. 3-tier architecture • 3-tier architecture contains another layer of application server between the client and database server. • In this architecture, client can’t directly communicate with the database server. • The application on the client end interacts with an application server which further communicates with the database server and then query processing and transaction management takes place. • The intermediate layer of application server acts as a medium for exchange of data between the database server and client.
  • 12. 3-tier architecture • End user has no idea about the existence of the database beyond the application server. The database server also has no idea about any other user beyond the application. Uses of 3-tier architecture • The 3-tier architecture is used in large web applications. • It is the most popular DBMS architecture. Advantages • Enhanced scalability due to distributed deployment of application server. • Data integrity is maintained. Since there is a middle layer between client and database server, data corruption can be avoided /removed. (Data integrity refers to accuracy and consistency of data stored in the database.)
  • 13. 3-tier architecture • Security is improved. This type of model prevents direct interaction of the client with the database server there by reducing the access to unauthorized data. Disadvantages • Increased complexity of implementation and communication. It becomes difficult for this sort of interaction to take place due to presence of middle layer.