tim-concurrent-collections: NonBlockingHashMap

View: New views
2 Messages — Rating Filter:   Alert me  

tim-concurrent-collections: NonBlockingHashMap

by Artyom Sokolov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.

What can you say about NonBlockingHashMap which is part of
tim-concurrent-collections? How is it compared to ConcurrentStringMap
(by performance, scaling etc.)? When should it be used? What are pros
and cons for it?

Thanks.
_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users

Parent Message unknown Re: tim-concurrent-collections: NonBlockingHashMap

by Alex Miller-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

NBHM is used as the internal store for a CSM.  

NBHM is from Cliff Click's high-scale lib for highly concurrency collections here:
http://sourceforge.net/projects/high-scale-lib

We've found that it has better concurrency than other JDK alternatives with a tradeoff of slightly higher memory usage, especially during rehash.  I don't think we've really talked about recommending it for others but as far as I know, it should work.



----- Original Message -----
From: "Artyom Sokolov" <unnutz@...>
To: tc-users@...
Sent: Tuesday, May 19, 2009 8:49:06 PM GMT -06:00 US/Canada Central
Subject: [tc-users] tim-concurrent-collections: NonBlockingHashMap

Hello.

What can you say about NonBlockingHashMap which is part of
tim-concurrent-collections? How is it compared to ConcurrentStringMap
(by performance, scaling etc.)? When should it be used? What are pros
and cons for it?

Thanks.
_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users
_______________________________________________
tc-users mailing list
tc-users@...
http://lists.terracotta.org/mailman/listinfo/tc-users