Java Async Programming [closed]
I was wondering if any of you guys have done any high performance async based programs in java. If you have what sort of structure did you setup... How did things work? Any special APIs for working wi开发者_StackOverflow社区th async calls I should know about?
Thanks.
In terms of network asynchronous programming you could definitely use JBoss Netty, in which you define handlers for different network events and build pipelines of encoders, decoders and mentioned handlers. It's a NIO framework proven stable in lots of large apps.
In terms of asynchronous concurrency without locking it would be AKKA, which is implementation of Actor Model in Java, similar to Erlang Actors.
精彩评论