Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8686623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:54:04+00:00 2026-06-12T22:54:04+00:00

I am using EHCache as second level cache for my application’s Hibernate DAO layer.

  • 0

I am using EHCache as second level cache for my application’s Hibernate DAO layer. To implement distributed cache I am planning to include Terracotta Server.
Recently I came to know about Terracotta’s another product Big Memory.

Few questions regarding that:

  • How is Big Memory will help on top of Terracotta/EhCache?
  • Will it compliment Terracotta/EhCache implementation?
  • Will it be worth giving a try?

I work on a Java EE application which has a flex UI, Hibernate ORM layer, SQL Server 2008 and Tomcat application server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:54:05+00:00Added an answer on June 12, 2026 at 10:54 pm

    How will Big Memory help on top of Terracotta/EhCache?

    The way I’ve understood the point of BigMemory is that it stores large amounts of data on the memory outside JVM. This will help if you have lots of stuff you want to be cached, so much so that the GC times are impacting your performance like explained here.

    If your stuff fits with your cache just fine and you don’t experience such slowups, I would imagine Big Memory can even slow you down in contrast to terracotta, as heap within JVM would be faster than outside JVM. At least, it would not improve much.

    Will it compliment Terracotta/EhCache implementation?

    Based on the documentation, integration to ehcache/terracotta should be quite seamless. So, yes.

    Will it be worth giving a try?

    I’d go first with Terracotta, measuring memory usage, GC times and the impact, and if it would seem like Big Memory could help some more, then sure. If it looks ok, no reason to add extra stuff.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I configured Second Level Cache using Ehcache in hibernate.cfg.xml ,ehcache.xml.And setting the cache-usage property
When using Hibernate and Ehcache as a second-level cache (2LC) implementation, is (or can)
I successfully setup hibernate 3.6.2 to use second level cache, using the ehcache 2.5.2
Is there a difference between using Ehcache as Hibernate's second-level cache provider and distributing
I'm wondering if it's possible for Hibernate second level cache (we're using EHCache) to
I have configured ehcache for hibernate 2nd level cache to use a Terracotta server.
I have an JPA/Hibernate/Spring/Tomcat web application with second level data cache enabled for performance
I am using ehcache with hibernate in my application. I am able to cache
I currently have a distributed cache using EHCache via RMI that works just fine.
I am using Spring 3.1 Cache using EhCache currently to implement method caching. Consider

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.