Mod qos

Mod qos

mod_qos is a Quality-of-Service (QoS) module for the Apache HTTP server implementing control mechanisms that can provide different priority to different requests.

A web server can only serve a limited number of concurrent requests. QoS is used to ensure that important resources stay available under high server load. mod_qos is used to reject requests to unimportant resources while granting access to more important applications. It is also possible to disable access restrictions, e.g. for requests to very important resources or for very important users.

Control mechanisms are available on the following levels:
*Request level control: mod_qos controls the number of concurrent requests to a name space (URL). It is used to define different priorities to different pages or applications within a web server.
*Connection level control: mod_qos controls the number of TCP connections to the web server. This helps to limit the connections coming from a single client or from unknown networks, to reduce the maximum of concurrent connections to a virtual server or to implement dynamic HTTP keep-alive settings.
*Bandwidth level control: throttles requests/responses to certain URL on the web server.
*Generic request line and header filter dropping suspicious request URLs or HTTP headers.

The module can be useful when used in a reverse proxy in order to divide up resources to different webserver.

Use Cases

low Application

The first use case shows how mod_qos can avoid service outage of a web server due slow responses of a single application. In case an application (here /ccc) is very slow, requests wait until a timeout occurs. Due many waiting requests, the number of free TCP connections goes out and the web sever is not able to process other requests to application /aaa or /bbb. mod_qos limits the concurrent requests to an application in order to assure the availability of other resources.

HTTP Keep-Alive

The keep-alive extension to HTTP 1.1 allows persistent TCP connections for multiple request/responses. This accelerate access to the web server due less and optimised network traffic. The disadvantage of these persistent connections is, that server resources are blocked even no data is exchanged between client and server. mod_qos allows a server to support keep-alive as long as sufficient connections are free but stopping the keep-alive support when reaching a defined connection threshold.

Client Opens Many Concurrent Connections

A single client may open many TCP connections simultaneously in order to download different content from the web server. So the client gets many connections while other users may not be able accessing the server due no free connections remain for them. mod_qos can limit the number of concurrent connections for a singe IP source address.

Many Requests to a Single URL

If you have to limit the number of requests to a URL, mod_qos can help with that too. mod_qos limits the maximum number of requests per second to this URL. The module may also control bandwidth. Simply specify the maximum allowed bandwidth and moq_qos starts throttling when it becomes necessary.

External links

* [http://mod-qos.sourceforge.net/ Main website]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • mod_qos — Quality of Service for the Apache HTTP Server Stable release 9 Written in C Operating system Cross platform Available in English …   Wikipedia

  • Tomato (firmware) — Infobox Software name= Tomato Firmware caption= Tomato Firmware s real time QOS graphs, running on a Buffalo AirStation WHR HP G54 as rendered by the Opera web browser collapsible= yes Description= Open Source RouterOS developer= Jonathan Zarate… …   Wikipedia

  • Abkürzungen/Luftfahrt/L–R — Dies ist der vierte Teil der Liste Abkürzungen/Luftfahrt. Liste der Abkürzungen Teil 1 A A Teil 2 B–D B; C; D Teil 3 E–K …   Deutsch Wikipedia

  • ITU-T — The ITU Telecommunication Standardization Sector (ITU T) is one of the three sectors (divisions or units) of the International Telecommunication Union (ITU); it coordinates standards for telecommunications. The standardization work of ITU dates… …   Wikipedia

  • Network neutrality in the United States — Network Neutrality Related issues and topics Automatic telephone exchange Data discrimination End to end principle Internet Protocol Tiered Internet Bandwidth Throttling …   Wikipedia

  • Abkürzungen/Computer — Dies ist eine Liste technischer Abkürzungen, die im IT Bereich verwendet werden. A [nach oben] AA Antialiasing AAA authentication, authorization and accounting, siehe Triple A System AAC Advanced Audio Coding AACS …   Deutsch Wikipedia

  • Liste der Abkürzungen (Computer) — Dies ist eine Liste technischer Abkürzungen, die im IT Bereich verwendet werden. A [nach oben] AA Antialiasing AAA authentication, authorization and accounting, siehe Triple A System AAC Advanced Audio Coding AACS …   Deutsch Wikipedia

  • Liste von Abkürzungen (Computer) — Dies ist eine Liste technischer Abkürzungen, die im IT Bereich verwendet werden. Inhaltsverzeichnis A B C D E F G H I J K L M N O P Q R S T U V W X Y Z siehe auch: Liste von Dateiendu …   Deutsch Wikipedia

  • Liste de sigles de trois lettres — Sigles d’une seule lettre Sigles de deux lettres Sigles de trois lettres Sigles de quatre lettres Sigles de cinq lettres Sigles de six lettres Sigles de sept lettres Sigles de huit lettres Cette page liste des sigles de trois lettres. Vous pouvez …   Wikipédia en Français

  • OÏRAT — En 1207, Gengis khan, proclamé depuis l’année précédente empereur, envoyait son fils aîné face= EU Caron イö face= EU Caron カi à la conquête des peuples de la forêt de la Sibérie méridionale (cf. MONGOLIE Histoire, tabl. 2 et carte 2). C’est ainsi …   Encyclopédie Universelle

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”