starting, with akka 2.0.x

17 views
Skip to first unread message

Lee Mighdoll

unread,
Dec 6, 2012, 12:42:03 AM12/6/12
to scala-stm-e...@googlegroups.com
I was thinking of giving scala STM a try tomorrow in an scala 2.9 / akka 2.0.3 actor system.  I see some notes in 0.7-SNAPSHOT about integration with a BlockingContext in scala 2.10.

The system has around 100,000 actors, but I expect very little contention.  Each chunk of state is shared between only three or four actors.  

Anything to watch for?  Ought I expect different behavior at scale in 2.10?

Thanks!

Nathan Bronson

unread,
Dec 6, 2012, 12:09:38 PM12/6/12
to scala-stm-e...@googlegroups.com
With low to medium contention you should be fine.

You can check if there is a problem by using jstack (or ctrl-\) to dump the stack traces. If lots of the forkjoin pool threads are inside scala.concurrent.stm.ccstm.WakeupManager.blocking, then it is an issue.

 - Nathan

--
 
 
 



--
Nathan Grasso Bronson
ngbr...@gmail.com

Lee Mighdoll

unread,
Dec 6, 2012, 1:18:54 PM12/6/12
to scala-stm-e...@googlegroups.com
Hi Nathan, thanks for the advice and useful tip.

Cheers,
Lee

--
 
 
 

Reply all
Reply to author
Forward
0 new messages