mod_cache VS memcached

mod_cache VS memcached

am 06.11.2009 17:18:22 von nima chavooshi

--0016e6dab1715b3d050477b631ed
Content-Type: text/plain; charset=UTF-8

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

--0016e6dab1715b3d050477b631ed
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 sugges=
t ?
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 be=
tween mod_cache and memcached??

Thanks for any help or guidance=C2=
=A0

--
N.Chavoshi


--0016e6dab1715b3d050477b631ed--

Re: mod_cache VS memcached

am 06.11.2009 17:55:33 von john doe

From: nima chavooshi
>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 for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org