Hi, we are running JBoss apps for many years now (> 10 y) - don't ask me why.
But since Akka Version 2.0.x we have integrated actors to get rid of the static thread pools in that AS. We need to adjust the pools at runtime and sometimes dynamically - without JMX. But don't be surprised when you see that akka is dynamically adapting the number of threads according to number of cores. I have never seen too many threads at all. Only JBoss is spawning senseless number of threads for each incoming request (but they will get it some day - undertow has learned something yet). Finally when I see spray.io with web-sockets integrated into akka, I will push my company forward to abandon JEE at all. Cheers Rick Am Donnerstag, 30. Januar 2014 23:06:05 UTC+1 schrieb Tin Tvrtković: > > Hello, > > I'm contemplating whether running Akka inside of a JBoss/Wildfly 8 > instance is a good idea. First of all, I'm kind of an Akka newbie so don't > hesitate to correct me if any of my assumptions are incorrect. > > I'm not really interested in using JCA; I'd much prefer using the new JSR > 236 managed thread pools. Assuming I've configured my AS to provide me with > an adequate executor service, is there a way to spawn an actor system it? > Looking at the development Java API, there's an ActorSystem$ create method > taking an execution context, which can be created from an executor service. > Exactly what kind of thread pool does an actor system expect (bounded, > unbounded...)? > > Would this be a good way of embedding Akka? Am I missing something (like a > detail that would render this whole exercize futile)? Is there a > better/canonical way of doing something like this? > > Thanks in advance, girls and guys! > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
