SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
Client-Server Architecture

   King Fahd University of Petroleum & Minerals
   SWE 316: Software Design & Architecture
   Semester: 072
Objectives
       To understand client-server architecture

            2-tier

            3-tier




 SWE 316 (072)            Client-Server Architecture   2
Client-Server Architecture
       The application is modelled as a set of services that
       are provided by servers and a set of clients that use
       these services.

       Clients know of servers but servers need not know of
       clients.

       Clients and servers are logical processes.




 SWE 316 (072)             Client-Server Architecture          3
Application Layers
       Presentation layer
            Concerned with presenting the results of a computation to
            system users and with collecting user inputs.


       Application processing layer
            Concerned with providing application specific functionality
            e.g., in a banking system, banking functions such as open
            account, close account, etc.


       Data management layer
            Concerned with managing the system databases.




 SWE 316 (072)                  Client-Server Architecture                4
Application Layers (Cont’d)




 SWE 316 (072)   Client-Server Architecture   5
Types of Client-Server Architectures

       Two-tier
            The three application layers are mapped onto two computer
            systems – the client and the server.
            Client can be
                 Thin client; or
                 Fat client


       Three-tier
            The three application layers are mapped onto three logically
            separate processes that executes on different processors.




 SWE 316 (072)                     Client-Server Architecture              6
Thin and Fat Clients
       Thin-client model
            In a thin-client model, all of the application processing and
            data management is carried out on the server. The client is
            simply responsible for running the presentation software.


       Fat-client model
            In this model, the server is only responsible for data
            management. The software on the client implements the
            application logic and the interactions with the system user.




 SWE 316 (072)                  Client-Server Architecture                  7
Thin and Fat Clients (Cont’d)




 SWE 316 (072)   Client-Server Architecture   8
Thin-Client Model
       Used when legacy systems are migrated to client
       server architectures.

            The legacy system acts as a server in its own right with a
            graphical interface implemented on a client.


       A major disadvantage is that it places a heavy
       processing load on both the server and the network.




 SWE 316 (072)                  Client-Server Architecture               9
Fat-Client Model
       More processing is delegated to the client as the
       application processing is locally executed.

       Most suitable for new C/S systems where the
       capabilities of the client system are known in advance.

       More complex than a thin client model especially for
       management. New versions of the application have to
       be installed on all clients.




 SWE 316 (072)            Client-Server Architecture             10
A Client-Server ATM System




SWE 316 (072)   Client-Server Architecture   11
Three-Tier Architecture
       Each of the application layers may execute on a
       separate processor.

       Allows for better performance than a thin-client model
       and is simpler to manage than a fat-client model.

       A more scalable architecture - as demands increase,
       extra servers can be added.




 SWE 316 (072)            Client-Server Architecture            12
A 3-tier Client-Server Architecture




 SWE 316 (072)   Client-Server Architecture   13
An Internet Banking System




 SWE 316 (072)   Client-Server Architecture   14
Use of Client-Server Architectures

   Architecture        Applications
   Two-tier C/S        Legacy system applications where separating application processing and
   architecture with   data management is impractical.
   thin clients        Computationally-intensive applications such as compilers with little or
                       no data management.
                       Data-intensive applications (browsing and querying) with little or no
                       application processing.
   Two-tier C/S        Applications where application processing is provided by off-the-shelf
   architecture with   software (e.g. Microsoft Excel) on the client.
   fat clients         Applications where computationally-intensive processing of data (e.g.
                       data visualisation) is required.
                       Applications with relatively stable end-user functionality used in an
                       environment with well-established system management.
   Three-tier or       Large scale applications with hundreds or thousand s of clients
   multi-tier C/S      Applications where both the data and the application are volatile.
   architecture        Applications where data from multiple sources are integrated.


 SWE 316 (072)                        Client-Server Architecture                                15
Summary
      Tow basic client-server architecture

           2-tier
                Thin client: all of the application processing and data
                management is carried out on the server
                Fat clients: run some or all of the application logic.


           3-tier
                Allows for better performance than a thin-client approach and is
                simpler to manage than a fat-client approach.




SWE 316 (072)                      Client-Server Architecture                      16

Contenu connexe

Tendances

File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbmsRituBhargava7
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Client server architecture
Client server architectureClient server architecture
Client server architectureRituBhargava7
 
Cloud computing and service models
Cloud computing and service modelsCloud computing and service models
Cloud computing and service modelsPrateek Soni
 
Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture Ravindra Dastikop
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
SOA And Cloud Computing
SOA And Cloud ComputingSOA And Cloud Computing
SOA And Cloud ComputingDavid Chou
 
E-R Diagram of College Management Systems
E-R Diagram of College Management SystemsE-R Diagram of College Management Systems
E-R Diagram of College Management SystemsOmprakash Chauhan
 
Report on cloud computing by prashant gupta
Report on cloud computing by prashant guptaReport on cloud computing by prashant gupta
Report on cloud computing by prashant guptaPrashant Gupta
 
The Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian BanduletThe Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian BanduletChristian Bandulet
 
Vision of cloud computing
Vision of cloud computingVision of cloud computing
Vision of cloud computinggaurav jain
 
Data base management system
Data base management systemData base management system
Data base management systemashirafzal1
 
Data center virtualization
Data center virtualizationData center virtualization
Data center virtualizationmazin Salih
 
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured ChartStock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chartgrandhiprasuna
 

Tendances (20)

File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Web services
Web servicesWeb services
Web services
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Cloud computing and service models
Cloud computing and service modelsCloud computing and service models
Cloud computing and service models
 
Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
SOA And Cloud Computing
SOA And Cloud ComputingSOA And Cloud Computing
SOA And Cloud Computing
 
Software as a service
Software as a serviceSoftware as a service
Software as a service
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
 
E-R Diagram of College Management Systems
E-R Diagram of College Management SystemsE-R Diagram of College Management Systems
E-R Diagram of College Management Systems
 
Report on cloud computing by prashant gupta
Report on cloud computing by prashant guptaReport on cloud computing by prashant gupta
Report on cloud computing by prashant gupta
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
The Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian BanduletThe Evolution of Database Technologies Christian Bandulet
The Evolution of Database Technologies Christian Bandulet
 
IaaS, SaaS, PasS : Cloud Computing
IaaS, SaaS, PasS : Cloud ComputingIaaS, SaaS, PasS : Cloud Computing
IaaS, SaaS, PasS : Cloud Computing
 
Vision of cloud computing
Vision of cloud computingVision of cloud computing
Vision of cloud computing
 
Data base management system
Data base management systemData base management system
Data base management system
 
Data center virtualization
Data center virtualizationData center virtualization
Data center virtualization
 
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured ChartStock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
Stock Maintenance System-Problem Statement, SRS, ERD, DFD, Structured Chart
 

Similaire à 2 08 client-server architecture

Similaire à 2 08 client-server architecture (20)

Client computing evolution ppt11
Client computing evolution ppt11Client computing evolution ppt11
Client computing evolution ppt11
 
Client server computing
Client server computingClient server computing
Client server 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
 
Clientserver
ClientserverClientserver
Clientserver
 
Software Architecture
Software ArchitectureSoftware Architecture
Software Architecture
 
J2 ee archi
J2 ee archiJ2 ee archi
J2 ee archi
 
Client server architecture in .net by varun tiwari
Client server architecture in .net by varun tiwariClient server architecture in .net by varun tiwari
Client server architecture in .net by varun tiwari
 
Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad Client/Server Architecture By Faisal Shahzad
Client/Server Architecture By Faisal Shahzad
 
Distributed Services Scheduling and Cloud Provisioning
Distributed Services Scheduling and Cloud ProvisioningDistributed Services Scheduling and Cloud Provisioning
Distributed Services Scheduling and Cloud Provisioning
 
Cloud architecture
Cloud architectureCloud architecture
Cloud architecture
 
Chapter2
Chapter2Chapter2
Chapter2
 
client-server-architecture.ppt
client-server-architecture.pptclient-server-architecture.ppt
client-server-architecture.ppt
 
client-server-architecture ss.ppt
client-server-architecture ss.pptclient-server-architecture ss.ppt
client-server-architecture ss.ppt
 
Part 1 network computing
Part 1 network computingPart 1 network computing
Part 1 network computing
 
Client server computing_keypoint_and_questions
Client server computing_keypoint_and_questionsClient server computing_keypoint_and_questions
Client server computing_keypoint_and_questions
 
SOFTWARE COMPUTING
SOFTWARE COMPUTINGSOFTWARE COMPUTING
SOFTWARE COMPUTING
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
 
Distributed architecture (SAD)
Distributed architecture (SAD)Distributed architecture (SAD)
Distributed architecture (SAD)
 
Estructura Cliente
Estructura ClienteEstructura Cliente
Estructura Cliente
 

2 08 client-server architecture

  • 1. Client-Server Architecture King Fahd University of Petroleum & Minerals SWE 316: Software Design & Architecture Semester: 072
  • 2. Objectives To understand client-server architecture 2-tier 3-tier SWE 316 (072) Client-Server Architecture 2
  • 3. Client-Server Architecture The application is modelled as a set of services that are provided by servers and a set of clients that use these services. Clients know of servers but servers need not know of clients. Clients and servers are logical processes. SWE 316 (072) Client-Server Architecture 3
  • 4. Application Layers Presentation layer Concerned with presenting the results of a computation to system users and with collecting user inputs. Application processing layer Concerned with providing application specific functionality e.g., in a banking system, banking functions such as open account, close account, etc. Data management layer Concerned with managing the system databases. SWE 316 (072) Client-Server Architecture 4
  • 5. Application Layers (Cont’d) SWE 316 (072) Client-Server Architecture 5
  • 6. Types of Client-Server Architectures Two-tier The three application layers are mapped onto two computer systems – the client and the server. Client can be Thin client; or Fat client Three-tier The three application layers are mapped onto three logically separate processes that executes on different processors. SWE 316 (072) Client-Server Architecture 6
  • 7. Thin and Fat Clients Thin-client model In a thin-client model, all of the application processing and data management is carried out on the server. The client is simply responsible for running the presentation software. Fat-client model In this model, the server is only responsible for data management. The software on the client implements the application logic and the interactions with the system user. SWE 316 (072) Client-Server Architecture 7
  • 8. Thin and Fat Clients (Cont’d) SWE 316 (072) Client-Server Architecture 8
  • 9. Thin-Client Model Used when legacy systems are migrated to client server architectures. The legacy system acts as a server in its own right with a graphical interface implemented on a client. A major disadvantage is that it places a heavy processing load on both the server and the network. SWE 316 (072) Client-Server Architecture 9
  • 10. Fat-Client Model More processing is delegated to the client as the application processing is locally executed. Most suitable for new C/S systems where the capabilities of the client system are known in advance. More complex than a thin client model especially for management. New versions of the application have to be installed on all clients. SWE 316 (072) Client-Server Architecture 10
  • 11. A Client-Server ATM System SWE 316 (072) Client-Server Architecture 11
  • 12. Three-Tier Architecture Each of the application layers may execute on a separate processor. Allows for better performance than a thin-client model and is simpler to manage than a fat-client model. A more scalable architecture - as demands increase, extra servers can be added. SWE 316 (072) Client-Server Architecture 12
  • 13. A 3-tier Client-Server Architecture SWE 316 (072) Client-Server Architecture 13
  • 14. An Internet Banking System SWE 316 (072) Client-Server Architecture 14
  • 15. Use of Client-Server Architectures Architecture Applications Two-tier C/S Legacy system applications where separating application processing and architecture with data management is impractical. thin clients Computationally-intensive applications such as compilers with little or no data management. Data-intensive applications (browsing and querying) with little or no application processing. Two-tier C/S Applications where application processing is provided by off-the-shelf architecture with software (e.g. Microsoft Excel) on the client. fat clients Applications where computationally-intensive processing of data (e.g. data visualisation) is required. Applications with relatively stable end-user functionality used in an environment with well-established system management. Three-tier or Large scale applications with hundreds or thousand s of clients multi-tier C/S Applications where both the data and the application are volatile. architecture Applications where data from multiple sources are integrated. SWE 316 (072) Client-Server Architecture 15
  • 16. Summary Tow basic client-server architecture 2-tier Thin client: all of the application processing and data management is carried out on the server Fat clients: run some or all of the application logic. 3-tier Allows for better performance than a thin-client approach and is simpler to manage than a fat-client approach. SWE 316 (072) Client-Server Architecture 16