Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_cache VS memcached

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


nima0102 at gmail

Nov 6, 2009, 8:18 AM

Post #1 of 2 (90 views)
Permalink
mod_cache VS memcached

Hi everybody
Thanks for your guidance on this mailing list.
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??

Thanks for any help or guidance

--
N.Chavoshi


jdmls at yahoo

Nov 6, 2009, 8:55 AM

Post #2 of 2 (79 views)
Permalink
Re: mod_cache VS memcached [In reply to]

From: nima chavooshi <nima0102[at]gmail.com>
>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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.