Introduction To Server Client
Introduction To Server Client
Introduction To Server Client
Different application technologies could be purchased from different venders Examples: server platform, client platform, network protocols, middleware software, etc.
software
Client-server is a computing architecture which separates a client from a server It is almost always implemented over a computer network
The most basic type of client-server architecture employs only two types of nodes: clients and servers.
This type of architecture is sometimes referred to as two-tier. It allows devices to share files and resources. Server provides the service Client is considered as the customer requesting the service The server service can be shared among a number of clients Clients must request or initiate the service The location of the server in the network is transparent to clients Transaction between C/S is message-passing based C/S architecture is scalable
horizontally (more clients can added) Vertically (more servers can be added)
The server is centrally maintained where as clients are independent of each other
File servers
File sharing and file processing Passing file results Example: Query in DBMS server Typically one single request/reply
Client
Server
Transaction servers
Transaction server includes DBMS and transaction monitoring Server has remote procedures run online by the client Super-fat servers and thin clients Uses HTTP protocol Java was first to introduce interactive C/S forms
web servers
Internet
Server
Application
Client/Server Models
Where to push the application to Fat clients
The bulk of the application is running on the client The client knows how the data is organized and where it is Different clients access the same applications different ways The server more complicated The clients are less complex More of the code runs on the server The network interaction is minimized
Fat servers
Application
Client Server
Middleware Software
It is the (/) between client and server which glues them together
Allowing the client request for a service and the server providing it Middleware can also be between server/server Two broad classes General
LAN servers, TCP/IP, Communication stacks, Queuing services, etc. Used to accomplish a specific task Groupware specific: SMTP Internet specific: HTTP Database specific: SQL
Application specific
and the client Two-tier servers Examples: file servers and database server In this case the process (application logic) is buried within the client or server (or both) Three-tier servers Examples: Web and distributed objects In this case the process is run on the middle-tier separated from the user and data interface They can integrate the data from multiple sources More robust and more scalable
How to divide the application between the client and server What are different functionalities of client and server Basic client server model Fits various applications
Client
Middle ware
Server
Single Machine
Middle ware Client Server
Client
Middle ware
Server
Client
Server
C/S
Middle ware
C/S
C/S
C/S
Service-Specific; DSM NOS (securit, peer-to-peer, directory, distributed files); Transport stack (TCP/IP)
Server Scalability
Multiservers
Server Scalability
Superserver
A very powerful server Single-server or multiserver Each server can have a single processor or multiprocessor Multiprocessing can be Asymmetric or Symmetric
Multiprocessing
Asymmetric: each processor is dedicated to a specific task Fully symmetric (SMP): applications are divided into threads and threads are sent to available processors
Examples: 32-bit NT, Unix, NetWare Requires 3 basic functionalities: Global scheduling I/O sharing structure OS access sharing
Multiservers
Pool of servers, providing more processing power (also called a cluster) They divide the task between different servers As opposed to full blown servers Provides a background process on the client machine that can accept unsolicited networks request (refreshing database, synchronizing time, etc.)
Server lite
OS Wars
General trends
More powerful PCs (fat PCs, Network PCs, Multimedia PCs) Embedded devices (cell phones) Clients Super clients Servers SMP servers Clusters DOS and Windows 3.x/95 JAVA OS OS/2 Wrap NT/XP/2000/2003/VISTA NetWare (Novells, poor application server, fast file server) Unix Linux Specialized parallel OS for clusters
OS players
In Windows the server program called service In Linux the server program called daemon in Linux
UNIX/Linux
UNIX was introduced in 1969 Linux is from the early 1990s Based on MINIX Three basic components Kernel central portion of OS File system provides input and output mechanisms Shell provides user interface
Linux Introduction
Source code is freely available
(called disro)
Linux Resource
List of Linux compatible hardware: http://www.linuxquestions.org/hcl/ List of hardware issues and forums for Linux http://www.linuxcompatible.org/ Third-party utilities allowing Windows to read the
Fedora Linux
Installation CD Download and burn your own CD Read to see how to burn a DVD http://fedoraproject.org/wiki/Distribution/Download http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/iso/ http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/iso/
Obtain a copy
Fedora core 6, i386 Intel x86 processor compatible, first CD ISO image
FC-6-i386-disc1.iso
Popular Windows CD burning tools: http://iso.snoekonline.com/iso.htm You can also use CD BurnerXP Pro http://www.cdburnerxp.se/
When you have dowloaded the ISO images, you need to burn them on CD/DVD
Summary
Got it?
Fedora? Burn a copy of Fedora Core 4 on CDs or DVD. You must have this in order to install Linux on your machine You are not allowed to do the lab without your own CD. Search for Linux Commands and obtain a one or two-page long list of some of Linux commands used with Fedora Core 4 version In your own words, list 5-10 differences between Fedora Core 4 and Fedora Core 7 version. You must tabulate your answer. Do a little research and briefly explain the sequence involved in installing Windows and Linux. What will you do if Windows is already installed? NOTE: Submit a hardcopy only.
references
http://www.sei.cmu.edu/str/descriptions/clientserver_body.html