Re: caching for ispman

Wim Kerkhoff <[email protected]>
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
Atif Ghaffar wrote:

> Hi all,
>
> Lately in a project I have been using "memcahed" for object caching to 
> avoid high database access.
>
> I think we can benifit by using this in ispman too. Cache the object 
> on request and reset it only on change.
>
> What do you think?


What would you cache?

slapd already has some of it's own in-memory caching.

My (and many other people's) experience has been that the bottleneck in 
the ISPMan web control panels has been Perl - it's parsing/compiling 
every perl package on every single request which is pretty wasteful. The 
actual LDAP queries are pretty quick. For example, PAM and Postfix are 
super fast at looking up things in LDAP.

That said, memcached looks really nifty; but it could unnecessarily 
complicate things when their's other solutions available.

Regards,

Wim



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.