Elasticsearch as caching store

Hi All,

We want to use the Elasticsearch as caching store. We are planning to use
MMap store for that purpose.

Any suggestion would really be appreciable !!

Regards,
Ankit

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

It depends on what you want to cache. In most cases with ES, cache is
overkill because ES uses internal caching, and it easily ends up in the
double caching problem which affects performance.

Saving ES query results? Depends on your queries, their runtime,
concurrency, length of result set, network latency...

Saving Java objects on the heap? Look at Guava

Or a generic, volatile key/value memory cache? Look at memcached
http://memcached.org/

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Jorg,

Thank you very much for your response.

We are planning to store the 2 Elasticsearch cluster.

Cluster 1 will store the data using neoFs file-system.
Cluster 2 will store the data using mMap file-system and will store the
result of queries fired on cluster1. Later, we would search on cluster 2 to
apply some more filtering/condition on fetched records.

Regards,
Ankit Jain

On Wednesday, 20 November 2013 16:25:23 UTC+5:30, Jörg Prante wrote:

It depends on what you want to cache. In most cases with ES, cache is
overkill because ES uses internal caching, and it easily ends up in the
double caching problem which affects performance.

Saving ES query results? Depends on your queries, their runtime,
concurrency, length of result set, network latency...

Saving Java objects on the heap? Look at Guava
GitHub - google/guava: Google core libraries for Java

Or a generic, volatile key/value memory cache? Look at memcached
http://memcached.org/

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.