Ciao amici,

        I have committed changes on Retriever.cc, Server.cc and Document.h as
explained last days. You can try your environment in these 3 situations and
then choose the best solution for you:

1) Persistent Connections: OFF (traditional retrieving system).
2) Persistent Connections: On
        a) with HEAD calls made before GET (attribute head_before_get: true)
        b) with them disabled.

For example, on my system the fastest is 2a, then 2b and, obviously, 1.

======================
VOTE the new attribute
======================

        I want you to vote on the new configuration attribute called
'max_connection_requests', only available for persistent connections. This
set the maximum number of repeated requests on the same server if
persistent connections are activated. After this limit has been reached (or
when the server queue of document gets empty), we can close the connection
and request the next server. The valid range of this value is [1;
infinite). I suggest to issue a value (for example '-1') representing
'infinite'. And I vote for this to be the default value.

So, here is the text to put in the defaults.cc code (please correct any
language mistakes ;-):

<<

{ "max_connection_requests", "-1",
        "integer", "htdig", "max_connection_requests: 100", "
        With HTTP persistent connections activated (see
        persistent_connections attribute), this attribute sets
        the limit for requesting a server with the same TCP connection.
        Range of values is [ 1 ; 'infinite' ), but is possible to set
        it to '-1' too, which makes a server be requested until his queue
        of documents gets empty.
"},

>>

Ciao Ciao
-Gabriele


-------------------------------------------------

Gabriele Bartolini
Computer Programmer (are U sure?)
U.O. Rete Civica - Comune di Prato
Prato - Italia - Europa

e-mail: [EMAIL PROTECTED]
http://www.po-net.prato.it

-------------------------------------------------
Zinedine "Zizou" Zidane. Just for soccer lovers.
-------------------------------------------------
-------------------------------------------------

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to