Channels ▼

Eric Bruno

Dr. Dobb's Bloggers

Terracotta Extends Ehcache for Java

February 16, 2011

Yesterday, Terracotta introduced Ehcache Search (see the press release), which is built upon their leading enterprise data cache product, Ehcache. Terracotta helps Java developers get the most in terms of scalability, performance, and latency for their data-intensive enterprise applications. Whether you're caching data from a database, a REST-based web service, or other system, Terracotta has solutions that, many times, simply plug-in with very little configuration, and just work.

With more and more customers caching larger amounts of data, Terracotta released BigMemory, which can store hundreds of gigabytes of data in memory, but outside of the Java heap to avoid Java garbage collection issues. In turn, Terracotta's customers have been caching more and more data and, in many cases, entire databases worth of data are stored in memory. This has begged the question, is it possible to perform basic queries against the cached data instead of the database itself, to further improve performance? With Ehcache Search, the answer is yes!

To implement this solution, Terracotta simply extended the Ehcache API and has included the feature in their latest version, v2.4. It's not a new product or additional plug-in that requires an additional purchase, but is instead available to existing Terracotta customers. The new API and other attributes of the cache now make it possible to perform search-like queries against the database data in memory, as opposed to hitting the actual database and its disk-backed storage each time.

If you're an existing Ehcache user, simply upgrade to version 2.4, which is released as open-source software, with commercial licensing and support available if you require. To get the most in terms of performance and scalability, Terracotta offers Enterprise Ehcache with BigMemory that allows for low-latency and high-scalability with extremely large caches, which can further be distributed across servers.

If you're not currently an Ehcache user, you can join the millions of Java developers who are by checking out Terracotta's open-source offerings at

Happy Coding! -EJB

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.