Skip to content


Java: Distributed Caching

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Q: Why would you use a distributed cache in your application?
A:

  • In a standard java process on 32 bit JVM, each process can only have a heap of 2GB. If we want to store more data the heap size becomes a problem. By having a distributed cache we can bypass that limitation by being able to store as much data as possible. Now we have a large cloud of data running across multiple machines. This approach is very scalable. As the requirements grow, we just need to add more machines to the cache cluster.
  • To store data inside memory instead of a database, for faster access to the data.
  • StumbleUpon
  • Digg
  • del.icio.us
  • Reddit
  • Facebook
  • Technorati
  • IndiaGram
  • Print this article!
  • TwitThis
  • Slashdot
  • SphereIt

No related posts.

Posted in Interview Questions, Java. Tagged with , , , .

2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Nice answer. May i suggest using NCache. A ASP.NET Distributed Cache which can enhance your application tremendously with lots of Topologies which you can use in different scenarios. It also has a Free Version called NCache Express. I do recommend to have a look at it.

    BTW nice name for the blog. Although Bhaigiri khatam hoti ja rahe hai. but still a nice effort.

Continuing the Discussion

  1. Interview Account - IB2 | Tech BhaiGiri linked to this post on May 8, 2009

    [...] View further details and comments [...]

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.