Minh Doan
curious questions
October 27, 2010 12:40AM
Hi folks,

Sorry for the following stupid question.

I've got the idea of memcached. Memcached data are stored in multiple
memcached servers which run independently. Whenever you need to lookup a
(key/value), just calculate a hash to find the server id, and then call a
lookup-service on the server. So:

what are the advantages of memcached against a normal server which store
data in ram-memory?
Thanks
---
Minh
Shi Yu
Re: curious questions
October 27, 2010 01:10AM
In my understandings, memcached server supports protocol-based
retrieval. This makes the design and implementation more flexible and
distributable. As a cache, the server would prioritize the frequently
retrieved records than the less frequently retrieved ones. So useful
information will be obtained much faster, in contrast, the useless
information will be obtained slower and eventually be replaced by new
information. Cache also has security advantages cause most of the
applications are web-based, simply in that case it is not good to
explore the ram-memory of a machine directly to the web.

Shi

On Tue, Oct 26, 2010 at 5:29 PM, Minh Doan <[email protected]> wrote:
> Hi folks,
>
> Sorry for the following stupid question.
>
> I've got the idea of memcached. Memcached data are stored in multiple
> memcached servers which run independently. Whenever you need to lookup a
> (key/value), just calculate a hash to find the server id, and then call a
> lookup-service on the server. So:
>
> what are the advantages of memcached  against a normal server which store
> data in ram-memory?
> Thanks
> ---
> Minh
>
>
Sorry, only registered users may post in this forum.

Click here to login