Re: mod_cache VS memcached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: nima chavooshi <nima0102@xxxxxxxxx>
>In order to speed up loading time for our dynamic site, what solutions do you suggest ?
>On some documents I have read about "memcached", but with this solution I have to change some codes of site!!
>In addition to I have read about mod_cache in Apache. what difference is between mod_cache and memcached??

mod_cache (experimental): caches the pages apache serves, for xxxx seconds.

memcache is a "key=value store" ("distributed variables") shared among many clients.
client1: set session_5463541431 = user123
client3: get session_5463541431 => user123
It is all in RAM (lost if crash/restarted), it is fast, values can be set to expire...
Used to avoid querying your db too much/often.

Read the first paragraphs from both homepages for a better explanation:
http://httpd.apache.org/docs/2.0/mod/mod_cache.html
http://www.danga.com/memcached/

JD


      

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux