The Artima Developer Community
Sponsored Link

Java Buzz Forum
Distributed Queue and Map with Eviction Support

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Talip Ozturk

Posts: 103
Nickname: talip
Registered: May, 2003

Talip Ozturk is founder of Hazelcast, distributed queue, set, map and lock implementation.
Distributed Queue and Map with Eviction Support Posted: May 14, 2009 2:46 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Talip Ozturk.
Original Post: Distributed Queue and Map with Eviction Support
Feed Title: Shared Memory
Feed URL: http://www.jroller.com/talipozturk/feed/entries/rss
Feed Description: about java, jcache, jini, javaspaces, distributed data structures and a little bit of me and life.
Latest Java Buzz Posts
Latest Java Buzz Posts by Talip Ozturk
Latest Posts From Shared Memory

Advertisement
I feel quite productive these days. Spring effect on me probably. I finished adding eviction support to both queue and map. Eviction for queue is time based. You specify TTL (TimeToLive) for the entries in your queue. Entries (objects) older than TTL will get auto-evicted from the queue. For the distributed map, eviction can be based on LRU (Least Recently Used) or LFU (Least Frequently Used). Just specify your eviction policy and max-size in the hazelcast.xml, you are good to go.

Eviction is implemented in a way that there is no pausing when evicting. LRU and LFU ordering happens during get/update operations in a very optimized way. Overhead is quite ignorable. Do not hesitate to use it :)

Now we have evictable distributed map, it means Hazelcast can easily become a level 2 cache for Hibernate! We are also very close to 1.6 release, which means we will start working on load/store interface for persistence; the most requested song of the day!

Read: Distributed Queue and Map with Eviction Support

Topic: Top 10 MySpace Editors Previous Topic   Next Topic Topic: Ajax: Tools of the trade

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use