PDA

View Full Version : Memcached Support



daibach
10-04-2007, 08:11 AM
Hi,

What are the chances of dekiwiki getting memcached support. I had several other web applications take advantage of it with great improvements in performance, including mediaWiki. Is this something that DekiWiki can take advantage of as well?

I know part of Dekiwiki is written in .NET / Mono and have found these projects which might be of use
https://sourceforge.net/projects/memcacheddotnet/
http://www.codeplex.com/EnyimMemcached/

Any thoughts?

MaxM
10-04-2007, 09:46 PM
It's very possible to use memcache as a cache store for Deki Wiki--the API was designed in a way that'll allow cache providers to be switched in and out without many code changes at all. But even though it's easy to plug in, I'm not sure if it's the most effective way to go to improve performance. Although Deki Wiki is pretty fast now with times to first byte being as low as 300ms, there are quite a few optimizations that can be made that doesn't involve caching at all. We're slowly optimizing every release and taking out bottlenecks as we see them. So far most of these include removing db calls from the php front end and replacing them with api calls (nearly 100% here), reducing the number of api calls, performing batch operations, etc.

If you want to integrate memcache into Deki Wiki, by all means please do and send us a patch! It should be pretty straightforward. I haven't heard of the Enyim lib but I've made several contributions to the memcacheddotnet project and would prefer to use this as it's quite stable.

Good luck,
Max