开发者社区> cloudcoder> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

What are the differences between Akka and Netty?

简介:
+关注继续查看
        Akka is a concurrency framework built around the notion of actors and composable futures, Akka was inspired by Erlang which was built from the ground up around the Actor paradigm. It would usually be used to replace blocking locks such as synchronized, read write locks and the like with higher level asynchronous abstractions.

        Akka是一个建立在Actors概念和可组合Futures之上的并发框架,,Akka设计灵感来源于Erlang,Erlang是基于Actor模型构建的。它通常被用来取代阻塞锁如同步、读写锁及类似的更高级别的异步抽象。

        Netty is an asynchronous network library used to make Java NIO easier to use.

        Netty是一个异步网络库,使JAVA NIO的功能更好用。

        Notice that they both embrace asynchronous approaches, and that one could use the two together, or entirely separately.

        注意:它们两个都提供了异步方法,你可以使用其中一个,或两个都用

        Where there is an overlap is that Akka has an IO abstraction too, and Akka can be used to create computing clusters that pass messages between actors on different machines. From this point of view, Akka is a higher level abstraction that could (and does) make use of Netty under the hood

        Akka针对IO操作有一个抽象,这和netty是一样的。使用Akka可以用来创建计算集群,Actor在不同的机器之间传递消息。从这个角度来看,Akka相对于Netty来说,是一个更高层次的抽象

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
The 3 Keys to Virtual Reality
For a beginner, it could be difficult to comprehend the technical aspects within VR. It is essential to have a two-fold knowledge of partial graphics
1679 0
The Differences between AI, Machine Learning, and Deep Learning
In the past two years, the growth of artificial intelligence and machine learning has been immense. Machine learning, as a type of artificial intellig
1850 0
the differences of DataRelation class between 1.1 and 2.0
when u use the follow code on 1.1.it will compile without error.          /**////         /// Test table relation.
382 0
OpenGL ES From the Ground Up, Part 4: Let There Be Light!
FRIDAY, MAY 1, 2009 OpenGL ES From the Ground Up, Part 4: Let There Be Light! Continuing on with OpenGL ES for the iPhone, let's talk about light.
1144 0
The Expressive Web:最具创意的HTML5和CSS3特性展示
  不久前,Adobe发布了一个展示HTML5和CSS3特性的网站项目:The Expressive Web,该网站以形象生动的例子演示了加入到现代Web中最有创造性和表现力的功能,另外还提供了众多具有视觉冲击力的HTML5和CSS3学习资源。
704 0
The efficiency of different C++ constructs4
The efficiency of different C++ constructs4
0 0
Node.js+Express+mongoDB 实现邮箱注册
前言 很多网站都会有用户注册这一个功能模块,其中大多数网站都会让用户填写手机号,然后通过手机验证码来实现用户的注册。但是大家都知道手机验证码都会收取一定的费用,所以有一些网站可能资金不够,但是又想尽大可能的留住用户,所以他们就采用使用邮箱验证码的方式来进行注册。
0 0
+关注
cloudcoder
热衷于大数据处理技术研究、使用 关注中间件技术
文章
问答
文章排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载