01 Client Server Architecture + Web Hosting
01 Client Server Architecture + Web Hosting
• Client/server Model:
– Describes the relationship between two computer
programs - the client, makes a service request from
another program, the server, which fulfills the request.
• Deployed on a network.
• Specific types of servers include web servers,
application servers, file servers, terminal
servers, and mail servers. While their purposes
vary somewhat, the basic architecture remains
the same.
Server
host
“I want to
collaborate
with my
colleague”
“I want to access
some information”
Client
Server Peer-to-peer
Client/server
CT053-3-1 Fundamentals of Web Design and Development Client Server Architecture
Client-server vs. Peer-to-peer
• Client-server
– Asymmetric relationship
– Client predominately makes requests, server
makes replies
• Peer-to-peer
– Symmetric relationship
Local-area network
Application
logic
Presentation
1. Presentation Tier
2. Application Tier/Logic
Tier/Business Logic Tier
3. Data Tier
Local-area network
Application
logic
Presentation
logic layer
presentation layer
?
http/https Web
Server data layer
front-end
back-end
• Characteristics of a server:
– Passive (slave)
– Waits for requests
– Upon receipt of requests, processes them and then
serves replies
• Characteristics of a client:
– Active (master)
– Sends requests
– Waits for and receives server replies
• Monthly Traffic
– A small or medium website will consume between 1
to 5 GB of data transfer per month.
– Average page size X number of expected page view
per month.
• Example :
– Average page size 30KB
– 50,000 pages view per month
– Bandwidth = 0.03MB X 50,000 = 1.5 GB
• Windows Hosting
– hosting of web services that runs on the Windows operating
system
– Choose this hosting if you plan to use any other Microsoft
software for your server
– Unix Hosting
– hosting of web services that runs on the Unix operating system.
• Unix
– Was the first (original) web server operating system, and it is
known for being reliable and stable.
– Often less expensive than Windows.