Perlbal

 view release on metacpan or  search on metacpan

lib/Perlbal/Manual/HighPriority.pod  view on Meta::CPAN

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 l...


=head3 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 C<high_priority_cookie> and C<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 g...

    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


=head3 High priority with plugins

The plugin L<Perlbal::Plugin::Highpri> supports making requests high priority by URI or Host. Also check C<make_high_priority> under L<Perlbal::Manual::Hooks>.



( run in 0.236 second using v1.01-cache-2.11-cpan-0d8aa00de5b )