SlideShare a Scribd company logo
CLIENT SERVER ARCHITECTURE
Presented By
Dr.Ritu Bhargava
Department of Computer Science
Sophia Girls’ College (Autonomous)
Ajmer
What Is Client Server Architecture ?
• Client/server architecture is a computing model in which
the server hosts, delivers and manages most of the
resources and services to be consumed by the client. This
type of architecture has one or more client computers
connected to a central server over a network or internet
connection. This system shares computing resources.
• Client/server architecture is also known as a networking
computing model or client/server network because all
the requests and services are delivered over a network.
FIGURE:-Client Server Architecture
Client Server DBMS
• Client Server Architecture of database system has
logical components
A. Server
B. Client
SERVER
• The SERVERS are provided with specific functionalities. Server is a large
workstation,miniframe or mainframe computer system.
• The DBMS software resides on the server .The server computer is called backend
computer. Back-end: manages access structures, query evaluation and optimization,
concurrency control and recovery.
• For example :- number of PC’s or small workstation as clients can connect to a file
server that maintains the files of the client machines.
• Print server can be connected to various printers, therefore all print requests by the
clients are forwarded to this machine.
• Web servers and E-mail Servers are also specialized servers.
• The resources provided by specialized servers can be accessed by many client machines.
CLIENT
• CLIENTS are personal computers or workstations.
• The applications and tools run on one or more client machines.
• The client computer is called front-end . Front-end: consists of tools
such as forms, report-writers, and graphical user interface facilities.
• The client machines provide the user with the interface to utilize
these servers,as well as with local processing power to run the local
applications.
• The interface between the front-end and the back-end is through
SQL or through an application program interface.
• The server and client computers are connected with
network.
Advantages of client-server software
• The client-server software architecture is a versatile,
message-based and modular infrastructure that is
intended to improve usability, flexibility,
interoperability and scalability as compared to
centralized, mainframe, time sharing computing.
Advantages of Client Server Architecture
• Simplicity and modularity – Client and server components are
loosely coupled and therefore modular.
• These are easy to understand and develop.
• Flexibility – Both client and server software can be easily migrated
across different machines in case some machine becomes
unavailable or crashes.
• The client can access the service anywhere. Also, clients and servers
can be added incrementally.
• Concurrency – The processing is naturally divided across several
machines. Clients and servers reside in different machines which
can operate in parallel and thus processing becomes faster.
• Fault-tolerance – Client-server based systems are usually fault-
tolerant. There can be many servers. If one server crashes then
client requests can be switched to a redundant server.
• Cost Effectiveness – Clients can be cheap desktop computers
whereas severs can be sophisticated and expensive computers. To
use a sophisticated software, one needs to own only a cheap client
and invoke the server.
• Specialization – One can have different types of computers to run
different types of servers. Thus, servers can be specialized to solve
some specific problems.
• Extensibility – More servers and clients can be effortlessly added.
Cost Effectiveness – Clients can be cheap
desktop computers whereas severs can be
sophisticated and expensive computers. To use
a sophisticated software, one needs to own
only a cheap client and invoke the server.
Specialization – One can have different types
of computers to run different types of servers.
Thus, servers can be specialized to solve some
specific problems.
Disadvantages of client-server
• Security – In a monolithic application, implementation of security is very
easy. But in a client-server based development a lot of flexibility is
provided and a client can connect from anywhere. This makes it easy for
hackers to break into the system. Servers can be bottlenecks – Servers can
turn out to be bottlenecks because many clients might try to connect to a
server at the same time. This problem arises due to the flexibility given
that any client can connect anytime required.
• Compatibility – Clients and servers may not be compatible to each other.,
they may not be compatible with respect to data types, language, etc.
Inconsistency – Replication of servers is a problem as it can make data
inconsistent.
Types Of Client –Server Architecture
Two tier architecture:
Two tier architecture is similar to a basic client-server model. The application at
the client end directly communicates with the database at the server side.
API’s like ODBC,JDBC are used for this interaction.
ODBC provides an API ,which allows client side programs to call the DBMS.
Most DBMS vendors provide ODBC drivers for their systems.
The server side is responsible for providing query processing and transaction
management functionalities.
On the client side, the user interfaces and application programs are run. The
application on the client side establishes a connection with the server side in order
to communicate with the DBMS.
An advantage of this type is that maintenance and understanding is easier,
compatible with existing systems.
• 2-tier DBMS architecture includes an Application layer between the user
and the DBMS, which is responsible to communicate the user's request to
the database management system and then send the response from the
DBMS to the user.
• An application interface known as ODBC(Open Database Connectivity)
provides an API that allow client side program to call the DBMS. Most
DBMS vendors provide ODBC drivers for their DBMS.
• Such an architecture provides the DBMS extra security as it is not exposed
to the End User directly. Also, security can be improved by adding security
and authentication checks in the Application layer too.
FIGURE :- Two Tier Architecture
Advantages:
1. Easy to maintain and modification is bit easy.
2. Communication is faster.
Disadvantages:
1. In two tier architecture application performance will
be degrade upon increasing the users.
2. Cost-ineffective.
Three Tier architecture:
In this type, there is another layer between the client and the server.
The client does not directly communicate with the server.
Instead, it interacts with an application server which further
communicates with the database system and then the query processing
and transaction management takes place.
This intermediate layer acts as a medium for exchange of partially
processed data between server and client. This type of architecture is used
in case of large web applications.
• It is an extension of the 2-tier architecture.
• In the 2-tier architecture, we have an application layer which can be
accessed programmatically to perform various operations on the DBMS.
• The application generally understands the Database Access Language and
processes end users requests to the DBMS.
• In 3-tier architecture, an additional Presentation or GUI Layer is added,
which provides a graphical user interface for the End user to interact with
the DBMS.
• For the end user, the GUI layer is the Database System, and the end user
has no idea about the application layer and the DBMS system.
Three-Tier Architecture
Three layers in the three tier architecture are as follows:
• Client layer
• Business layer
• Data layer
• Client layer: Represents Web browser, a Java or other application, Applet, WAP phone etc. The client tier
makes requests to the Web server who will be serving the request by either returning static content if it is
present in the Web server or forwards the request to either Servlet or JSP in the application server for
either static or dynamic content.
• Business layer: This layer provides the business services. This tier contains the business logic and the
business data. All the business logic like validation of data, calculations, data insertion etc. Are centralized
into this tier as opposed to 2-tier systems where the business logic is scattered between the front end and
the backend. The benefit of having a centralized business tier is that same business logic can support
different types of clients like browser, WAP (Wireless Application Protocol) client, other standalone
applications written in Java, C++, C# etc. This acts as an interface between Client layer and Data Access
Layer. This layer is also called the intermediary layer helps to make communication faster between client
and data layer.
• Data layer: This layer is the external resource such as a database, ERP system,
Mainframe system etc. responsible for storing the data. This tier is also known
as Data Tier. Data Access Layer contains methods to connect with database or
other data source and to perform insert, update, delete, get data from data
source based on our input data. Following diagram representing the 3-tier
architecture.
FIGURE:-Three Tier Architecture
Advantages:
• Enhanced scalability due to distributed deployment of application servers.
Now,individual connections need not be made between client and server.
• Data Integrity is maintained. Since there is a middle layer between client and
server, data corruption can be avoided/removed.
• Security is improved. This type of model prevents direct interaction of the client
with the server thereby reducing 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 layers.

More Related Content

What's hot

Database users
Database usersDatabase users
Database users
Param Radadiya
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
Ashir Mubeen
 
Database systems
Database systemsDatabase systems
Database systems
Dhani Ahmad
 
2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts
Prajakta Rane
 
CLIENT SERVER IN OS.ppt
CLIENT SERVER IN OS.pptCLIENT SERVER IN OS.ppt
CLIENT SERVER IN OS.pptsuman yadav
 
Server configuration
Server configurationServer configuration
Server configuration
Aisha Talat
 
Distributed computing
Distributed computingDistributed computing
Distributed computingshivli0769
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
Yisal Khan
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data miningSlideshare
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
Luina Pani
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systemsViet-Trung TRAN
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
Pooja Dixit
 
Communication primitives
Communication primitivesCommunication primitives
Communication primitives
Student
 
Architecture of Mobile Computing
Architecture of Mobile ComputingArchitecture of Mobile Computing
Architecture of Mobile Computing
JAINIK PATEL
 
Naming in Distributed System
Naming in Distributed SystemNaming in Distributed System
Naming in Distributed System
MNM Jain Engineering College
 
Transaction management DBMS
Transaction  management DBMSTransaction  management DBMS
Transaction management DBMS
Megha Patel
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
Amit Nirala
 
Database replication
Database replicationDatabase replication
Database replication
Arslan111
 

What's hot (20)

Database users
Database usersDatabase users
Database users
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
 
Database systems
Database systemsDatabase systems
Database systems
 
2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts
 
CLIENT SERVER IN OS.ppt
CLIENT SERVER IN OS.pptCLIENT SERVER IN OS.ppt
CLIENT SERVER IN OS.ppt
 
File organisation
File organisationFile organisation
File organisation
 
Distributed deadlock
Distributed deadlockDistributed deadlock
Distributed deadlock
 
Server configuration
Server configurationServer configuration
Server configuration
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
 
Introduction to distributed file systems
Introduction to distributed file systemsIntroduction to distributed file systems
Introduction to distributed file systems
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
 
Communication primitives
Communication primitivesCommunication primitives
Communication primitives
 
Architecture of Mobile Computing
Architecture of Mobile ComputingArchitecture of Mobile Computing
Architecture of Mobile Computing
 
Naming in Distributed System
Naming in Distributed SystemNaming in Distributed System
Naming in Distributed System
 
Transaction management DBMS
Transaction  management DBMSTransaction  management DBMS
Transaction management DBMS
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
 
Database replication
Database replicationDatabase replication
Database replication
 

Similar to Client server architecture

Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11Tech_MX
 
SOFTWARE COMPUTING
SOFTWARE COMPUTINGSOFTWARE COMPUTING
SOFTWARE COMPUTING
DrThenmozhiKarunanit
 
Odbc and data access objects
Odbc and data access objectsOdbc and data access objects
Odbc and data access objects
Sangeetha Sg
 
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...pptx
Client Server Architecture...pptxClient Server Architecture...pptx
Client Server Architecture...pptx
praladbaral
 
Client server computing
Client server computingClient server computing
Client server computingjorge cabiao
 
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
 
Data center proposal
Data center proposalData center proposal
Data center proposal
Muhammad Ahad
 
client-server.pptx
client-server.pptxclient-server.pptx
client-server.pptx
EbukaChikodi
 
Lecture5 architecture styles.pdf
Lecture5 architecture styles.pdfLecture5 architecture styles.pdf
Lecture5 architecture styles.pdf
ssuser9d62d6
 
unit 4-1.pptx
unit 4-1.pptxunit 4-1.pptx
unit 4-1.pptx
prakashvs7
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecturesuks_87
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
sandeep54552
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
EidTahir
 
Client-Server Model
Client-Server ModelClient-Server Model
Client-Server Model
HTS Hosting
 
Server its functions and types.pptx
Server its functions and types.pptxServer its functions and types.pptx
Server its functions and types.pptx
DrIrfanulHaqAkhoon
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
tahir khan
 

Similar to Client server architecture (20)

Technical Architectures
Technical ArchitecturesTechnical Architectures
Technical Architectures
 
Clientserver
ClientserverClientserver
Clientserver
 
Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11
 
SOFTWARE COMPUTING
SOFTWARE COMPUTINGSOFTWARE COMPUTING
SOFTWARE COMPUTING
 
Odbc and data access objects
Odbc and data access objectsOdbc and data access objects
Odbc and data access objects
 
Client server computing
Client server computingClient server computing
Client server computing
 
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
 
Client Server Architecture...pptx
Client Server Architecture...pptxClient Server Architecture...pptx
Client Server Architecture...pptx
 
Client server computing
Client server computingClient server computing
Client server computing
 
Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad
 
Data center proposal
Data center proposalData center proposal
Data center proposal
 
client-server.pptx
client-server.pptxclient-server.pptx
client-server.pptx
 
Lecture5 architecture styles.pdf
Lecture5 architecture styles.pdfLecture5 architecture styles.pdf
Lecture5 architecture styles.pdf
 
unit 4-1.pptx
unit 4-1.pptxunit 4-1.pptx
unit 4-1.pptx
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
 
Client-Server Model
Client-Server ModelClient-Server Model
Client-Server Model
 
Server its functions and types.pptx
Server its functions and types.pptxServer its functions and types.pptx
Server its functions and types.pptx
 
3 tier architecture
3 tier architecture3 tier architecture
3 tier architecture
 

More from RituBhargava7

Bigdata the technological renaissance
Bigdata the technological renaissanceBigdata the technological renaissance
Bigdata the technological renaissance
RituBhargava7
 
File organization
File organizationFile organization
File organization
RituBhargava7
 
Data Models
Data ModelsData Models
Data Models
RituBhargava7
 
Data models
Data modelsData models
Data models
RituBhargava7
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
RituBhargava7
 
Open Source Concepts
Open Source ConceptsOpen Source Concepts
Open Source Concepts
RituBhargava7
 
Role of a DBA
Role of a DBARole of a DBA
Role of a DBA
RituBhargava7
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
Database tachnologies
Database tachnologiesDatabase tachnologies
Database tachnologies
RituBhargava7
 

More from RituBhargava7 (9)

Bigdata the technological renaissance
Bigdata the technological renaissanceBigdata the technological renaissance
Bigdata the technological renaissance
 
File organization
File organizationFile organization
File organization
 
Data Models
Data ModelsData Models
Data Models
 
Data models
Data modelsData models
Data models
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 
Open Source Concepts
Open Source ConceptsOpen Source Concepts
Open Source Concepts
 
Role of a DBA
Role of a DBARole of a DBA
Role of a DBA
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Database tachnologies
Database tachnologiesDatabase tachnologies
Database tachnologies
 

Recently uploaded

Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
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
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
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
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
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
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
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
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 

Recently uploaded (20)

Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
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...
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
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
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 

Client server architecture

  • 1. CLIENT SERVER ARCHITECTURE Presented By Dr.Ritu Bhargava Department of Computer Science Sophia Girls’ College (Autonomous) Ajmer
  • 2. What Is Client Server Architecture ? • Client/server architecture is a computing model in which the server hosts, delivers and manages most of the resources and services to be consumed by the client. This type of architecture has one or more client computers connected to a central server over a network or internet connection. This system shares computing resources. • Client/server architecture is also known as a networking computing model or client/server network because all the requests and services are delivered over a network.
  • 4. Client Server DBMS • Client Server Architecture of database system has logical components A. Server B. Client
  • 5. SERVER • The SERVERS are provided with specific functionalities. Server is a large workstation,miniframe or mainframe computer system. • The DBMS software resides on the server .The server computer is called backend computer. Back-end: manages access structures, query evaluation and optimization, concurrency control and recovery. • For example :- number of PC’s or small workstation as clients can connect to a file server that maintains the files of the client machines. • Print server can be connected to various printers, therefore all print requests by the clients are forwarded to this machine. • Web servers and E-mail Servers are also specialized servers. • The resources provided by specialized servers can be accessed by many client machines.
  • 6. CLIENT • CLIENTS are personal computers or workstations. • The applications and tools run on one or more client machines. • The client computer is called front-end . Front-end: consists of tools such as forms, report-writers, and graphical user interface facilities. • The client machines provide the user with the interface to utilize these servers,as well as with local processing power to run the local applications. • The interface between the front-end and the back-end is through SQL or through an application program interface.
  • 7. • The server and client computers are connected with network.
  • 8. Advantages of client-server software • The client-server software architecture is a versatile, message-based and modular infrastructure that is intended to improve usability, flexibility, interoperability and scalability as compared to centralized, mainframe, time sharing computing.
  • 9. Advantages of Client Server Architecture • Simplicity and modularity – Client and server components are loosely coupled and therefore modular. • These are easy to understand and develop. • Flexibility – Both client and server software can be easily migrated across different machines in case some machine becomes unavailable or crashes. • The client can access the service anywhere. Also, clients and servers can be added incrementally. • Concurrency – The processing is naturally divided across several machines. Clients and servers reside in different machines which can operate in parallel and thus processing becomes faster.
  • 10. • Fault-tolerance – Client-server based systems are usually fault- tolerant. There can be many servers. If one server crashes then client requests can be switched to a redundant server. • Cost Effectiveness – Clients can be cheap desktop computers whereas severs can be sophisticated and expensive computers. To use a sophisticated software, one needs to own only a cheap client and invoke the server. • Specialization – One can have different types of computers to run different types of servers. Thus, servers can be specialized to solve some specific problems. • Extensibility – More servers and clients can be effortlessly added. Cost Effectiveness – Clients can be cheap desktop computers whereas severs can be sophisticated and expensive computers. To use a sophisticated software, one needs to own only a cheap client and invoke the server. Specialization – One can have different types of computers to run different types of servers. Thus, servers can be specialized to solve some specific problems.
  • 11. Disadvantages of client-server • Security – In a monolithic application, implementation of security is very easy. But in a client-server based development a lot of flexibility is provided and a client can connect from anywhere. This makes it easy for hackers to break into the system. Servers can be bottlenecks – Servers can turn out to be bottlenecks because many clients might try to connect to a server at the same time. This problem arises due to the flexibility given that any client can connect anytime required. • Compatibility – Clients and servers may not be compatible to each other., they may not be compatible with respect to data types, language, etc. Inconsistency – Replication of servers is a problem as it can make data inconsistent.
  • 12. Types Of Client –Server Architecture Two tier architecture: Two tier architecture is similar to a basic client-server model. The application at the client end directly communicates with the database at the server side. API’s like ODBC,JDBC are used for this interaction. ODBC provides an API ,which allows client side programs to call the DBMS. Most DBMS vendors provide ODBC drivers for their systems. The server side is responsible for providing query processing and transaction management functionalities. On the client side, the user interfaces and application programs are run. The application on the client side establishes a connection with the server side in order to communicate with the DBMS. An advantage of this type is that maintenance and understanding is easier, compatible with existing systems.
  • 13. • 2-tier DBMS architecture includes an Application layer between the user and the DBMS, which is responsible to communicate the user's request to the database management system and then send the response from the DBMS to the user. • An application interface known as ODBC(Open Database Connectivity) provides an API that allow client side program to call the DBMS. Most DBMS vendors provide ODBC drivers for their DBMS. • Such an architecture provides the DBMS extra security as it is not exposed to the End User directly. Also, security can be improved by adding security and authentication checks in the Application layer too.
  • 14. FIGURE :- Two Tier Architecture
  • 15. Advantages: 1. Easy to maintain and modification is bit easy. 2. Communication is faster. Disadvantages: 1. In two tier architecture application performance will be degrade upon increasing the users. 2. Cost-ineffective.
  • 16. Three Tier architecture: In this type, there is another layer between the client and the server. The client does not directly communicate with the server. Instead, it interacts with an application server which further communicates with the database system and then the query processing and transaction management takes place. This intermediate layer acts as a medium for exchange of partially processed data between server and client. This type of architecture is used in case of large web applications.
  • 17. • It is an extension of the 2-tier architecture. • In the 2-tier architecture, we have an application layer which can be accessed programmatically to perform various operations on the DBMS. • The application generally understands the Database Access Language and processes end users requests to the DBMS. • In 3-tier architecture, an additional Presentation or GUI Layer is added, which provides a graphical user interface for the End user to interact with the DBMS. • For the end user, the GUI layer is the Database System, and the end user has no idea about the application layer and the DBMS system.
  • 18. Three-Tier Architecture Three layers in the three tier architecture are as follows: • Client layer • Business layer • Data layer • Client layer: Represents Web browser, a Java or other application, Applet, WAP phone etc. The client tier makes requests to the Web server who will be serving the request by either returning static content if it is present in the Web server or forwards the request to either Servlet or JSP in the application server for either static or dynamic content. • Business layer: This layer provides the business services. This tier contains the business logic and the business data. All the business logic like validation of data, calculations, data insertion etc. Are centralized into this tier as opposed to 2-tier systems where the business logic is scattered between the front end and the backend. The benefit of having a centralized business tier is that same business logic can support different types of clients like browser, WAP (Wireless Application Protocol) client, other standalone applications written in Java, C++, C# etc. This acts as an interface between Client layer and Data Access Layer. This layer is also called the intermediary layer helps to make communication faster between client and data layer.
  • 19. • Data layer: This layer is the external resource such as a database, ERP system, Mainframe system etc. responsible for storing the data. This tier is also known as Data Tier. Data Access Layer contains methods to connect with database or other data source and to perform insert, update, delete, get data from data source based on our input data. Following diagram representing the 3-tier architecture.
  • 21. Advantages: • Enhanced scalability due to distributed deployment of application servers. Now,individual connections need not be made between client and server. • Data Integrity is maintained. Since there is a middle layer between client and server, data corruption can be avoided/removed. • Security is improved. This type of model prevents direct interaction of the client with the server thereby reducing 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 layers.