WEB SERVER
Table of contents Overview Features Virtual hosting Large file support Bandwidth throttling Server-side scripting Path tra...
Web server  It is a computer program It delivers content such as web pages The primary function of a web server is to deli...
Cont… <ul><li>A client, commonly a web browser initiates  communication by making a request for a  specific resource using...
the server responds with the content of that  resource
Otherwise display error message if unable to  do so  </li></ul>
Cont...  <ul><li>It is not always used for serving WWW
Also be found embedded in devices such as
Printers
Routers
Web cams
Serving a local network </li></ul>
Cont....  It is used as a part of a  system for monitoring  and administrating the  device.
Common features <ul><li>Virtual hosting
Large file support
Bandwidth throttling
Server-side scripting   </li></ul>
<ul>Virtual hosting </ul><ul><li>It  is for hosting multiple
domain names using a
single IP address.
This allows one machine
to share its resources such
as
Memory
Processor cycle
use its resources more efficiently.  </li></ul>
Domain name <ul><li>A name that identifies one or more IP addresses.
For example  the domain name  microsoft.com  represents about a dozen IP addresses.
Domain names are used in URLs to identify particular Web pages.
For example,  in the URL
http://www.pcwebopedia.com/index.html
the domain name is pcwebopedia.com.  </li></ul>
<ul>Large file support </ul><ul><li>Large file support  to be able to serve files  whose size is greater than 2 GB on 32 b...
.  </li></ul>
<ul>Bandwidth throttling </ul><ul><li>It is to limit the speed of responses in order to not  saturate the network
Its to be able to serve more clients.  </li></ul>
Upcoming SlideShare
Loading in …5
×

web server

2,085
-1

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,085
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
165
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

web server

  1. 1. WEB SERVER
  2. 2. Table of contents Overview Features Virtual hosting Large file support Bandwidth throttling Server-side scripting Path translation Load limits Services Top web servers Apache web server Microsoft web server Protocols used My conclusion
  3. 3. Web server It is a computer program It delivers content such as web pages The primary function of a web server is to deliver web pages to clients.
  4. 4. Cont… <ul><li>A client, commonly a web browser initiates communication by making a request for a specific resource using HTTP
  5. 5. the server responds with the content of that resource
  6. 6. Otherwise display error message if unable to do so </li></ul>
  7. 7. Cont... <ul><li>It is not always used for serving WWW
  8. 8. Also be found embedded in devices such as
  9. 9. Printers
  10. 10. Routers
  11. 11. Web cams
  12. 12. Serving a local network </li></ul>
  13. 13. Cont.... It is used as a part of a system for monitoring and administrating the device.
  14. 14. Common features <ul><li>Virtual hosting
  15. 15. Large file support
  16. 16. Bandwidth throttling
  17. 17. Server-side scripting </li></ul>
  18. 18. <ul>Virtual hosting </ul><ul><li>It is for hosting multiple
  19. 19. domain names using a
  20. 20. single IP address.
  21. 21. This allows one machine
  22. 22. to share its resources such
  23. 23. as
  24. 24. Memory
  25. 25. Processor cycle
  26. 26. use its resources more efficiently. </li></ul>
  27. 27. Domain name <ul><li>A name that identifies one or more IP addresses.
  28. 28. For example the domain name microsoft.com represents about a dozen IP addresses.
  29. 29. Domain names are used in URLs to identify particular Web pages.
  30. 30. For example, in the URL
  31. 31. http://www.pcwebopedia.com/index.html
  32. 32. the domain name is pcwebopedia.com. </li></ul>
  33. 33. <ul>Large file support </ul><ul><li>Large file support to be able to serve files whose size is greater than 2 GB on 32 bit OS
  34. 34. . </li></ul>
  35. 35. <ul>Bandwidth throttling </ul><ul><li>It is to limit the speed of responses in order to not saturate the network
  36. 36. Its to be able to serve more clients. </li></ul>
  37. 37. <ul>Server-side scripting </ul><ul><li>web server technology
  38. 38. its running a script directly on the web server to generate dynamic web pages.
  39. 39. It is usually used to provide interactive web sites </li></ul>
  40. 40. Path translation <ul><li>Web servers are able to map the path component of a URL into:
  41. 41. for static request
  42. 42. a local file system resource
  43. 43. for dynamic requests
  44. 44. an internal or external program name </li></ul>
  45. 45. Load limits <ul><li>it can handle only a limited number of concurrent client connections
  46. 46. usually between 2 and 80,000, by default between 500 and 1,000 per IP address </li></ul>
  47. 47. Kernel-mode vs User-mode web server <ul><li>will usually work faster
  48. 48. it can directly use all the hardware resources it needs, such as non-paged memory, CPU time-slices, network adapters, or buffers. </li></ul><ul><li>will usually work slowly compared to that
  49. 49. Ask permission to the system to use more memory or more CPU resource </li></ul>
  50. 50. Overload causes <ul><li>Too much Web traffic </li></ul><ul><li>Computer worms </li></ul>sometimes cause abnormal traffic because of millions of infected computers <ul><li>XSS viruses </li></ul>can cause high traffic because of millions of infected browsers and/or Web servers; <ul><li>Internet (network) slowdowns. </li></ul>that client requests are served more slowly and the number of connections increases so much that server limits are reached;
  51. 51. Overload symptoms <ul><li>requests are served with delays </li></ul>(from 1 second to a few hundred seconds); <ul><li>500, 502, 503, 504 ,404HTTP errors are returned to clients </li></ul><ul><li>TCP connections are refused or reset before any content is sent to clients </li></ul><ul><li>In very rare cases, only partial contents are sent </li></ul>
  52. 52. Too much traffic
  53. 53. Error
  54. 54. Anti-overload techniques Managing network traffic, by using : * Firewalls to block unwanted traffic coming from bad IP sources or having bad patterns. * HTTP traffic managers to drop, redirect or rewrite requests having bad HTTP patterns. * Bandwidth management and traffic shaping , in order to smooth down peaks in network usage.
  55. 55. Firewall protection
  56. 56. Trafiic usage
  57. 57. Bandwidth management
  58. 58. Market structure <ul>Top web servers <li>Apache
  59. 59. Microsoft
  60. 60. Igor Sysoev
  61. 61. Google
  62. 62. Lighttpd </li></ul><ul>Percentage of use <li>54%
  63. 63. 24%
  64. 64. 8%
  65. 65. 7%
  66. 66. 0.46% </li></ul>
  67. 68. Apache web server <ul><li>Playing a key role in the initial growth of the World Wide Web
  68. 69. In 2009 it became the first web server software to surpass the 100 million web site milestone
  69. 70. Apache is developed and maintained by an open community of developers under Apache Software Foundation </li></ul>
  70. 71. Cont... The application is available for a wide variety of operating systems including <ul><li>Unix
  71. 72. GNU
  72. 73. FreeBSD
  73. 74. Linux,
  74. 75. Solaris
  75. 76. Novell NetWare
  76. 77. Mac OS X
  77. 78. Microsoft Windows OS/2 </li></ul>Released under the Apache License, Apache is characterized as open-source software.
  78. 79. Features <ul><li>Common language interfaces support
  79. 80. Perl
  80. 81. Python
  81. 82. Tcl
  82. 83. PHP
  83. 84. Popular authentication modules include mod_access, mod_auth, mod_digest, and mod_auth_digest </li></ul>
  84. 85. Uses <ul><li>Apache is primarily used to serve both static content and dynamic Web pages on the World Wide Web
  85. 86. Apache is used for many other tasks where content needs to be made available in a secure and reliable way
  86. 87. Programmers developing web applications often use a locally installed version of Apache in order to preview and test code as it is being developed. </li></ul>
  87. 88. Performance <ul><li>Instead of implementing a single architecture, Apache provides a variety of MultiProcessing Modules (MPMs) which allow Apache to run in a process-based, hybrid or event-hybrid mode, to better match the demands of each particular infrastructure.
  88. 89. the design of Apache is to reduce latency and increase throughput
  89. 90. relative to simply handling more requests
  90. 91. Ensuring consistent and reliable processing of requests within reasonable time-frames. </li></ul>
  91. 92. Microsoft (iis) web server Execution Environment <ul><li>Available to work only within the Windows environment.
  92. 93. With IIS 6.0 the only platform currently supported is Windows Server 2003. </li></ul>
  93. 94. Cont... it also provides a number of benefits including <ul><li>greater cooperation with the host operating system
  94. 95. easier management
  95. 96. control through a variety of standard OS tools and utilities. </li></ul>
  96. 97. Apache... Execution Environment <ul><li>Available on a variety of platforms, including Windows.
  97. 98. The redesign enables it to support a wide array of platforms in more efficient ways that lead toUnix- and Windows-specific execution models that make the best use of the OS. </li></ul>
  98. 99. Feature IIS Apache Independent Request Handler Yes Yes (limited) Multiple Process Request Handlers Yes Yes Thread Support Yes Yes (on a suitable OS)
  99. 100. Http protocol <ul><li>The HTTP is used by web servers to communicate web pages to web browsers. </li></ul><ul><li>HTTP is used when your browser connects to a web server, requests a web page from the server, and downloads the page. </li></ul><ul><li>It is the common standard that enables any browser to connect to any server, anywhere in the world . </li></ul>
  100. 101. My conclusion <ul><li>I can run the Apache web server on Windows XP and also in linux environment. </li></ul><ul><li>If i am going to use PHP or Perl for web sites,then Apache web server is best one because It supports both the languages </li></ul>And also the performance is better than others
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×