Sie sind auf Seite 1von 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 be
different Web designs available 24 hours a day,
Intranets seven days a week
Corporate networks that Content-delivery sites
house internal memos,
Deliver content such as
corporate policy
news, histories, summaries,
handbooks, and a variety
and other digital information
of other 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 Web
response to a Web clients server create Web pages
request before sending them back to
Dynamic page the requesting Web clients
Dynamic page-generation
Web page whose content is technologies include:
shaped by a program in
response to user requests Active Server Pages (ASP)
JavaServer Pages (JSP)
Static page
PHP: Hypertext
An unchanging page Preprocessor (PHP)
retrieved from disk
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 client
Contains a command, the
and one server
name of the target resource,
Request message and the protocol name and
Message that a Web client version number
sends to request a file or Request headers
files from a Web server
Can contain information
Typical request message about types of files that the
contains: client will accept in response
Request line 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 include The most popular Web server


running programs and allocating programs are:
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 of Netcraft
programmers who make it A networking consulting
available for download at no company in Bath, England
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 in incoming
Control exposure of an e-mail messages
address White list spam filter
Use multiple e-mail addresses Examines From addresses
and compares them to a list
Content filtering strategy of known good sender
addresses
Require software that
identifies content elements Challenge-response technique
that indicate if a message is Compares all incoming
(or is not) spam messages to a white list
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 visitors 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

Das könnte Ihnen auch gefallen