On Tue, Oct 9, 2012 at 10:41 PM, Toriq Pria Digfora
<[email protected]> wrote:
> Dear All ,
> I need a help to implement memcache , because I am a newbie on it.
> by the way , I want to ask what is different between memcache and ehcache on
> terracotta

Memcached is a distributed cache system which provides clients for
different languages implementing a relatively simple "get and set"
protocol. The implementation of the "cache logic", in terms of the
decision of when go to the cache or to the database and when to
invalidate/update the cache is left for the client consumer to
implement. Memcached is a service, it is written on C and runs as a
standalone service.

EhCache is a Java solution that allows for caching in memory java
objects. It is based in java and runs in the context of the virtual
machine.

> and how to implement it on linux like Ubuntu ?

You can install Memcache using aptitude in Ubuntu. If you are a java
developer you have a couple of client implementations with different
features, I would start by looking at SpyMemcached as a java client.


>
> Thx before

That;s my humble opinion. Hope it helps.

Best regards,
Gonzalo

Reply via email to