Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

perlbal::manual::highpriority(3pm) [debian man page]

Perlbal::Manual::HighPriority(3pm)			User Contributed Perl Documentation			Perlbal::Manual::HighPriority(3pm)

Perlbal::Manual::HighPriority - Perlbal's high/low priority queueing system. VERSION Perlbal 1.78. DESCRIPTION This document describes Perlbal's high/low priority queueing system. Queuing system Perlbal has three queues: normal, high priority and low priority. As their names suggest, this means that usually requests get to the normal queue and are dispatched in FIFO order, with high priority requests going to a different queue that gets ahead of the normal one and a low priority queue that only gets done when the high and normal queues are empty. In a nutshell, whenever Perlbal needs to select which request to take care of next, it first looks for requests in the high priority queue; if that one is empty, it then looks into the normal queue; and, if the normal queue is empty too, it finally looks in the low priority queue. High priority with cookies Perlbal can use cookies to determine if a request should go to the high priority queue (configurable). The parameters to configure this are "high_priority_cookie" and "high_priority_cookie_contents"; the first defines the name of the field to check for on the cookie and the second one defines the content in that field that will trigger the request going to the fast queue: SET myservice.high_priority_cookie = name_of_the_field SET myservice.high_priority_cookie_contents = required_content_on_that_field Here's a clearer example: SET myservice.high_priority_cookie = highpriority SET myservice.high_priority_cookie_contents = yes High priority with plugins The plugin Perlbal::Plugin::Highpri supports making requests high priority by URI or Host. Also check "make_high_priority" under Perlbal::Manual::Hooks. Queue relief Sometimes if the high priority queue is really busy, the standard queue will suffer from resource starvation. The queue relief system helps prevent this. When there are "queue_relief_size" or more connections in the standard queue, newly available backends have a "queue_relief_chance" percent chance of taking a request from the standard priority queue instead of the high priority queue. SET web_proxy.queue_relief_size = 2000 SET web_proxy.queue_relief_chance = 30 # 0-100, in percent SEE ALSO "make_high_priority" and "make_low_priority" in Perlbal::Manual::Hooks, Perlbal::Plugin::HighPriority. perl v5.14.2 2011-01-23 Perlbal::Manual::HighPriority(3pm)

Check Out this Related Man Page

Perlbal::Plugin::Palimg(3pm)				User Contributed Perl Documentation			      Perlbal::Plugin::Palimg(3pm)

Perlbal::Plugin::Palimg - plugin that allows Perlbal to serve palette altered images VERSION
This documentation refers to "Perlbal::Plugin::Palimg" that ships with Perlbal 1.50 DESCRIPTION
Palimg is a perlbal plugin that allows you to modify "GIF" and "PNG" on the fly. Put the images you want to be able to modify into the "DOCROOT/palimg/" directory. You modify them by adding "/pSPEC" to the end of the url, where SPEC is one of the below defined commands (gradient, tint, etc). CONFIGURING PERLBAL
To configure your Perlbal installation to use Palimg you'll need to "LOAD" the plugin then add a service parameter to a "web_server" service to activate it. Example "perlbal.conf": LOAD palimg CREATE SERVICE palex SET listen = ${ip:eth0}:80 SET role = web_server SET plugins = palimg SET docroot = /usr/share/doc/ SET dirindexing = 0 ENABLE palex GRADIENTS
You can change the gradient of the image by adding "/pg0011111164ffffff" to the end of the url. 00 is the index where the gradient starts and 111111 is the color (in hex) of the beginning of the gradient. 64 is the index of the end of the gradient and "ffffff" is the color of the end of the gradient. Note that all colors specified in hex should be lowercase. Example: TINTING
You can tint the image by adding "/pt000000aaaaaa" to the end of the url. 000000 should be replaced with the color to tint towards. "aaaaaa" is optional and defines the "dark" tint color. Both colors should be specified as lowercase hex numbers. Example: PALETTE REPLACEMENT
You can specify a palette to replace the palette of the image. Do this by adding up to six sets of seven hex lowercase numbers prefixed with "/p" to the end of the URL. Example: BUGS AND LIMITATIONS
There are no known bugs in this module. Please report problems to the Perlbal mailing list, Patches are welcome. AUTHORS
Brad Fitzpatrick <> Mark Smith <> LICENSE AND COPYRIGHT
Artistic/GPLv2, at your choosing. Copyright 2004, Danga Interactive Copyright 2005-2007, Six Apart Ltd perl v5.14.2 2010-12-20 Perlbal::Plugin::Palimg(3pm)
Man Page

Featured Tech Videos