You are on page 1of 20

Chapter 8:

Web Server Hardware and Software


Web Server Basics

 The main job of a Web server computer is to


respond to requests from Web client computers
 Three main elements of a Web server:
 Hardware
 Operating system software
 Web server software
Types of Web Sites

 Development sites  Transaction-processing sites


 Used to evaluate  Commerce sites that must
different Web designs be available 24 hours a
 Intranets day, seven days a week
 Corporate networks  Content-delivery sites
that house internal
 Deliver content such as
memos, corporate
news, histories,
policy handbooks, and a
summaries, and other
variety of other
digital information
corporate documents
 Extranets
 Intranets that allow
authorized parties
outside the company to
access information
stored in the system
Web Clients and Web Servers

 Client/server architectures

 Client computers typically request services

 A server processes the clients’ requests

 Web software

 Lets different types of computers running different


operating systems communicate
Client Server Architecture and Software
Dynamic Content

 Dynamic content is nonstatic  Server-side scripting


information constructed in  Programs running on a
response to a Web client’s Web server create Web
request pages before sending
 Dynamic page them back to the
requesting Web clients
 Web page whose content  Dynamic page-generation
is shaped by a program in technologies include:
response to user requests
 Active Server Pages
 Static page (ASP)
 JavaServer Pages (JSP)
 An unchanging page
retrieved from disk  PHP: Hypertext
Preprocessor (PHP)
Various Meanings of “Server”

 Server
 Computer used to provide files or make programs available to
other computers
 Server software
 Used by a server computer to make files and programs
available to other computers
 Database server
 Server computer on which database management software
runs
Server Architecture

 Two-tier architecture
A web server responds to requests for web pages and a database server provides
backend data storage
 Multi-tier architecture
A web server is linked to a middle-tier layer that typically includes a series of
application servers that perform specific tasks, as well as to a backend layer
of existing corporate systems
Two-Tier Client/Server Architecture

 Two-tier client/server  Request line


architecture has only one
 Contains a command, the
client and one server
name of the target
 Request message resource, and the
 Message that a Web protocol name and version
client sends to request a number
file or files from a Web  Request headers
server
 Can contain information
 Typical request message about types of files that
contains: the client will accept in
 Request line response to a request

 Optional request headers  Entity body

 Optional entity body  Used to pass bulk


information to the server
Three-Tier and N-Tier Client/Server Architectures
Web Application Servers
 Software programs that provide the specific business
functionality required of a web site. Include:
 Catalog display
 Transaction processing
 Audio/video server
 Auction server
 B2B server

APACHE has 62% of the market of Web server software


Exercise: For more information, go to: www.apache.org
Right-sizing Your Hardware Platform: The Supply Side

 Scalability: the ability of a site to increase in size as


demand warrants
 Scale hardware vertically or horizontally
 Improve processing architecture of the site
Vertically and Horizontally Scaling a System
Software for Web Servers

 Operating system tasks  The most popular Web server


include running programs and programs are:
allocating computer resources  Apache HTTP Server
 Linux
 Microsoft Internet
 Open-source operating Information Server (IIS)
system that is easy to
install, fast, and efficient  Sun Java System Web
Server (JSWS)
 Open-source software
 Developed by a community  Netcraft
of programmers who make  A networking consulting
it available for download company in Bath, England
at no cost
 Accumulates popularity
rankings
Go to www.netcraft.com and check out some data and surveys
Solutions to the Spam Problem

 Reduce the likelihood that a  Content-filtering techniques


spammer can automatically  Black list spam filter
generate e-mail addresses  Looks for known
spammer From addresses
 Control exposure of an e-mail in incoming messages
address  White list spam filter
 Use multiple e-mail addresses  Examines From
addresses and compares
 Content filtering strategy them to a list of known
good sender addresses
 Require software that
identifies content  Challenge-response technique
elements that indicate if  Compares all incoming
a message is (or is not) messages to a white list
spam
Indexing and Searching Utility Programs

 Search engines or search tools


 Search either a specific site or the entire Web for
requested documents
 Indexing program
 Can provide full-text indexing that generates an index
for all documents stored on a server
 Can often index documents stored in many different
file formats
Data Analysis Software

 Web servers can capture:


 Data about who is visiting a Web site
 How long the visitor’s Web browser viewed the site
 Date and time of each visit
 Which pages a visitor viewed
 Data captured by Web servers are stored in a log file
Web Server Performance Evaluation

 Benchmarking
 Testing used to compare the performance of hardware
and software
 Throughput
 Number of HTTP requests that a hardware and
software combination can process in a unit of time
 Response time
 Time required by a server to process one request
Load-Balancing Systems
 Load-balancing switch

 Piece of network hardware that monitors the workloads of


servers attached to it

 Assigns incoming Web traffic to a server that has the most


available capacity at that instant in time

You might also like