Inteface speed up patch.

Alessandro Ren alessandro.ren at opservices.com.br
Thu Mar 26 20:44:47 CET 2009


     Hendrik,

attached is the xsddefault.c from nagios-3.0.6 already patched.
     When any  CGIs is accessed, my patch them get the data from the 
memcache, if the cache has expired, normal parser will be done and the 
structures will be serialized to memory, compressed with LZO and written 
to memcache for the next access ou user to get it from memcache.
     The patch needs http://tpl.sourceforge.net, the serialization 
library, LZO, libmemcache and the memcache daemon.
     The good thing about the way it´s done  is that if it can not get 
from the memcache or if the memcache crashes, the CGis will work as 
normal, parsing all the content all the time.
     In the code the part that should handle comments are commented out, 
because our comments are in database.

     []s.

     Alessandro Ren
     OpServices
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xsddefault.zip
Type: application/octet-stream
Size: 12035 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090326/d3ecb506/attachment.obj>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list