Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server...

28
Chapter 8: Web Server Hardware and Software
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    220
  • download

    4

Transcript of Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server...

Page 1: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Chapter 8:

Web Server Hardware and Software

Page 2: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 2

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

Page 3: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 3

Server Connection

• WWW requests from the Client computer Browser are detected and handled on port 80 of the server.

• FTP requests on port 21 of the Server.• Mail on port 25• Telnet on port 23

Page 4: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 4

Types of Web Sites

• Development sites– Used to evaluate different Web designs

• Intranets– Corporate networks that house internal memos,

corporate policy handbooks, and a variety of other corporate documents

• Extranets– Intranets that allow authorized parties outside the

company to access information stored in the system

Page 5: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 5

Types of Web Sites (continued)

• Transaction-enabled sites– E-Commerce enabled sites (database, shopping

cart, payment processing capability).

– Examples: Web Catalog (e-store), Transaction Fee Model, Subscription Model, Auction Sites

• Content sites– Deliver content such as news, histories,

summaries, and other digital information.

– Examples: CNN.Com, IBM.com, Portals

Page 6: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 6

Page 7: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 7

Static Content

• Static HTML Web pages – Static information

• File Extension: .html or htm

Page 8: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 8

Dynamic Content

• Dynamic content (DHTML) is nonstatic information constructed on a “Dynamic Webpage” in response to a Web client’s request. (Server-side Scripting)

Programs that create dynamic content use these File Extensions:

.asp – (Microsoft) - Active Server Pages .jsp – (Sun Microsystems) - Java Server Pages .php – (Apache Open Source) - Hypertext Preprocessor .cfm – (Macromedia) - ColdFusion

Page 9: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 9

Page 10: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 10

Page 11: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 11

Web Server Operating System

• Operating system tasks include running programs and allocating computer resources.

• Unix• Windows • Open-source software

– Developed by a community of programmers who make it available for download at no cost (Example- Linux)

Page 12: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 12

Web Server Software

The most popular Web Server programs are: – Apache HTTP Server (Open Source)

(JSP, PHP, CFM)

– Microsoft (Internet Information Server (IIS) or Microsoft Server 2008)

(ASP, .Net)

– Sun Java System Web Server (JSWS) (JSP)

Page 13: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 13

Application Servers

– Database Server – Manages Product Catalog, Customer database, etc.).

– Mail Server – Manages Internet e-mail

– Proxy Server – Controls access to main computer

– Ad Server – Maintains database of banner ads

– List Server – Creates and manages special e-mail lists.

Page 14: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 14

Spam – Phishing - Virus

• Spam – Any Unsolicited e-mail.

• Phishing – Amateur & Professional hackers attempting to obtain Personal Information or access to Content.

• Virus – Malicious Content

Page 15: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 15

Spam – Unsolicited E-Mail

Page 16: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Spam by the Numbers (2006)

Source: http://spam-filter-review.toptenreviews.com/spam-statistics.html

Page 17: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 17

Dealing With the Spam Problem

• Industry – Can reduce the likelihood that a spammer can automatically generate e-mail addresses

• User – Can control exposure of an e-mail address

• User – Can use multiple e-mail addresses

• User/Server – Can employ content filtering software

Page 18: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 18

Some Filtering Strategies

1. Black List spam filter

--Checks incoming messages against a known bad e-mail address list.

2. White List spam filter

--Checks incoming messages against a known good e-mail address list.

3. Challenge-Response technique--Forces a reply to all incoming messages not on a white

list.

4. Advanced Content Analysis

--Utilizes contextual filtering

Page 19: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 19

Server Firewalls

• Network Layer Firewall - Filter network traffic based on many packet attributes like IP Address, Domain name and destination port.

• Application Layer Firewall- inspect all packets for improper application content.

• Proxy Server – Can serve as a firewall by blocking unwanted content.

Page 20: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 20

Server Data Analysis Software

• Web Server Log File can capture:

– IP Address of Visitor

– Type of Request & Pages Viewed or Files Downloaded

– Date and time of each activity (timestamp)

– Status Code (successful, “404” error etc.)

– Type of browser viewed on

– Referrer URL (not always available)

Page 21: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 21

Server Log File

Page 22: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 22

Web Server Hardware Terms

• Web server computers– More memory, larger hard disk drives, and faster

processors than typical PCs

• Blade servers– Placing small server computers on a single computer

board, then installing boards into a rack-mounted frame

• Virtual server (virtual host)– Maintains more than one server on one machine

Page 23: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 23

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

Page 24: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 24

Factors that can Influence Web Server Performance

There is always going to be a limit to the number of pages that a server can serve in a given time frame.

• Volume - Amount of Web Traffic (Hits)• Duty Cycle - No. of CPU-Intensive Operations• Capacity - Bandwidth Available

Page 25: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 25

More Web Server Hardware Terms

• Server farms

– Large collections of servers

• Centralized architecture

– Uses a few very large and fast computers

• Distributed/decentralized architecture

– Uses a large number of less powerful computers

– Divides the workload among them

Page 26: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 26

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

Page 27: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 27

Page 28: Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.

Electronic Commerce, Seventh Annual Edition 28