Skip to Content.
Sympa Menu

devel - # of subscribers and % of bounces in wwsympa

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Fil <address@concealed>
  • To: Sympa-Dev <address@concealed>
  • Subject: # of subscribers and % of bounces in wwsympa
  • Date: Thu, 8 Mar 2001 10:24:05 +0100


Is it worth to take so long on each wwsympa call to compute the number of
subscribers to the list and the % of bounces ?

As a first try I've commented out this computation and the wwsympa is so
much quicker! (10 seconds faster: the list is 125 000 subscribers with
currently 18% bouncers)

--- wwsympa/wwsympa.fcgi Thu Mar 8 10:12:34 2001
+++ wwsympa/wwsympa.fcgi~ Tue Mar 6 11:06:54 2001
@@ -792,7 +792,7 @@ sub check_param_in {
$param->{'subtitle'} = $list->{'admin'}{'subject'};
$param->{'subscribe'} = $list->{'admin'}{'subscribe'}{'name'};
$param->{'send'} =
$list->{'admin'}{'send'}{'title'}{$param->{'lang'}};
-# $param->{'total'} = $list->get_total();
+ $param->{'total'} = $list->get_total();
$param->{'list_as_x509_cert'} = $list->{'as_x509_cert'};

## privileges

Of course this is not satisfying, as we need this information. But maybe it
should be computed once in a while and cached: I was thinking we could use
the expl/listname/stats file to store it (let sympa.pl and bounced.pl do
it), and have wwsympa.fcgi simply read it.

-- Fil



  • # of subscribers and % of bounces in wwsympa, Fil, 03/08/2001

Archive powered by MHonArc 2.6.19+.

Top of Page