首页 > 代码库 > Akka和VertX比较
Akka和VertX比较
Akka和VertX都是scala写大数据框架的极其赞的technology
Akka是用来写高concurrent,distributed,和fault tolerant event-driven的一个工具箱/库
而vertx是一个具有类似功能的framework
他们背后的general idea是很相近的,不同点在于:
In Akka you would create an Actor subclass that would receive messages which are serialized objects.In vert.x you would create a verticle that would receive messages which are json objects.
其中actor和verticle都是lightweight concurrent entities
vertx的json格式使得他对语言的兼容性更好
vert.x is also more of a complete platform while akka is a library. vert.x uses modules to allow for the use of easy interop between different languages, and vertx provides for easy network development with vertx specific apis.
As far as speed/high-vulume goes, vertx‘s use of simple json and using the impressive netty framework as a base give it a lot better performance in raw benchmarks - but obviously the bulk of your application performance will probably come from your own code so this isn‘t that big a concern, but it definitely helps.
Akka和VertX比较
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。