0% found this document useful (0 votes)
408 views

Seminar Presentation1

A web server is system software that handles HTTP requests to deliver web pages and content to clients. It processes requests, stores and retrieves files from its file system, and delivers responses using HTTP and related protocols. A web server can run as part of the operating system kernel or as a user-mode application. It has limits on the number of concurrent connections and requests it can handle before becoming overloaded.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
408 views

Seminar Presentation1

A web server is system software that handles HTTP requests to deliver web pages and content to clients. It processes requests, stores and retrieves files from its file system, and delivers responses using HTTP and related protocols. A web server can run as part of the operating system kernel or as a user-mode application. It has limits on the number of concurrent connections and requests it can handle before becoming overloaded.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

WEB

SERVER
A web server (or Web server) is server software, or
hardware dedicated to running said software, that
can satisfy World Wide Web client requests. A web
server can, in general, contain one or more
websites. A web server processes incoming network
requests over HTTP and several other related
protocols.
FUNCTION

• Store, process and deliver web


pages to clients.
• The communication between
client and server takes place
using the Hypertext Transfer
Protocol (HTTP).
• Pages delivered are most
frequently HTML documents,
which may include images, style
sheets and scripts in addition to
the text content.
Path translation
Web servers are able to map the path component of a Uniform Resource Locator (URL) into

A local file system resource (for static requests)


An internal or external program name (for dynamic requests)
For a static request the URL path specified by the client is relative to the web server's root
directory.

Consider the following URL as it would be requested by a client over HTTP:

http://www.example.com/path/file.html
The client's user agent will translate it into a connection to www.example.com with the
following HTTP 1.1 request:

GET /path/file.html HTTP/1.1


Host: www.example.com
The web server on www.example.com will append the given path to the path of its root
directory. On an Apache server, this is commonly /home/www (on Unix machines, usually
/var/www). The result is the local file system resource:

/home/www/path/file.html
The web server then reads the file, if it exists, and sends a response to the client's web
browser. The response will describe the content of the file and contain the file itself or an
error message will return saying that the file does not exist or is unavailable.
Kernel-mode and user-
mode web servers
• A web server can be either incorporated into the
OS kernel, or in user space (like other regular
applications).
• Web servers that run in user-mode have to ask the
system for permission to use more memory or more
CPU resources.
• Not only do these requests to the kernel take
time, but they are not always satisfied because the
system reserves resources for its own usage and
has the responsibility to share hardware resources
with all the other running applications.
Load limits
A web server (program) has defined load limits, because it can handle
only a limited number of concurrent client connections (usually
between 2 and 80,000, by default between 500 and 1,000) per IP
address(and TCP port) and it can serve only a certain maximum number
of requests per second (RPS, also known as queries per second or QPS)
depending on:
• its own settings,
• the HTTP request type,
• whether the content is static or dynamic,
• whether the content is cached, and
• the hardware and software limitations of the OS of the
computer on which the web server runs.
When a web server is near to or over its limit, it becomes
unresponsive
Causes of overload

At any time web servers can be overloaded due to:

• Excess legitimate web traffic. Thousands or even


millions of clients connecting to the web site in a short
interval, e.g., Slashdot effect;

• Distributed Denial of Service attacks. A denial-of-


service attack (DoS attack) or distributed denial-of-service
attack (DDoS attack) is an attempt to make a computer or
network resource unavailable to its intended users;

• Computer worms that sometimes cause abnormal


traffic because of millions of infected computers (not
coordinated among them)
1. Application servers are system software upon which web
applications or desktop applications run.
2. Application servers consist of web server connectors,[clarification
needed] computer programming languages, runtime libraries,
database connectors, and the administration code needed to
deploy, configure, manage, and connect these components on a
web host.

3. An application server runs behind a web Server (e.g. Apache or


Microsoft Internet Information Services (IIS)) and (almost always) in
front of an SQL[citation needed] database (e.g. PostgreSQL, MySQL,
or Oracle).
Java Application Servers

J2EE defines the core set of API and features of Java


Application Servers.

The Java EE infrastructure is partitioned into logical


containers.

• EJB container
• Web container
• JCA container (Java EE Connector Architecture)
• JMS provider (Java Message Service)
Deployment models

An application server
can be deployed :
• On premises
• Cloud
• Private cloud
• Platform as a
service (PaaS)
HTTP compression
• HTTP compression is a
capability that can be built
into web servers and web
clients to improve transfer
speed and bandwidth
utilization.
CONCLUSION
A theoretical analysis of Web Server
Is done in this presentation. Web Server rules
the world with
Its huge volume of data and the protocols that
make it
Possible is dynamic and needs more
refined analysis.

You might also like