i just uploaded a new snapshot of ganglia-3.0.0 to
http://matt-massie.com/ganglia/ganglia-3.0.0.200410131908.tar.gz

this snapshot has a number of changes... the best of which is on-the-fly
gzip compression of data.

to see it in action... download it and get into the root directory

% ./configure && make
% cd gangliad
% ./gangliad -c ganglia.conf
% curl -vvv --compressed http://localhost:8666/load/one

the -vvv allows you to see the headers.

curl will send a "Accept-Encoding: deflate, gzip" header.
gangliad will respond with a "Content-Encoding: gzip" header and then
send all output to the client compressed.  you will not see the
compressed data because curl will decompress it before it writes it to
the terminal.

if you want to see the raw gzip data (i know steve likes to view raw
data :)... you can..

% telnet localhost 8666
GET / HTTP/1.0
Accept-Encoding: gzip
\n

... and you'll get lots of junk.  :)

i've rearranged the code to allow format modules (which i'll discuss
later)... it required configuration file format changes.. no biggy.

hope you guys had a chance to watch the presidential debates tonight
(it's just finishing up now).  if you haven't registered to vote,
http://www.fec.gov/votregis/vr.htm.  


-matt

-- 
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E F40B 242A 5984 ACBC 91D3'

   They that can give up essential liberty to obtain a little 
      temporary safety deserve neither liberty nor safety. 
  --Benjamin Franklin, Historical Review of Pennsylvania, 1759

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to