Which concurrent map to use in scala

2,179 views
Skip to first unread message

Leon Ma

unread,
May 14, 2014, 1:05:40 AM5/14/14
to akka...@googlegroups.com
Hi,

Any suggestions on how to choose concurrent map impl in scala?

java's ConcurrentHashMap or scala's TrieMap?

Any performance comparison?


Thanks
Leon


Björn Antonsson

unread,
May 14, 2014, 7:52:14 AM5/14/14
to akka...@googlegroups.com
Hi Leon,

Have you looked at the paper for the TrieMap? It has some performance comparisons with ConcurrentHashMap and ConcurrentSkipListMap.


B/
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

Leon Ma

unread,
May 14, 2014, 9:11:40 AM5/14/14
to akka...@googlegroups.com
Thanks for pointing out! I'll have a look.

在 2014年5月14日星期三UTC+8下午7时52分14秒,Björn Antonsson写道:
Reply all
Reply to author
Forward
0 new messages