Questions tagged «reactor»

3
Akka或Reactor [关闭]
已关闭。这个问题是基于观点的。它当前不接受答案。 想改善这个问题吗?更新问题,以便通过编辑此帖子以事实和引用的形式回答。 3年前关闭。 改善这个问题 我正在启动一个新项目(基于Java)。我需要将其构建为模块化,分布式和弹性架构。 因此,我希望业务流程能够相互通信,可互操作且独立。 我现在看的是两个框架,除了年龄不同外,它们还表达两种不同的观点: 阿卡(http://akka.io) 反应堆(https://github.com/reactor/reactor) 选择上述框架之一时应该考虑什么? 据我到目前为止所知,Akka仍然以某种方式耦合在一起(以某种方式我必须“选择”我想向其发送消息的演员),但非常有弹性。当Reactor松动时(基于事件发布)。 有人可以帮助我了解如何做出正确的决定吗? 更新 在更好地回顾了Akka 的事件总线之后,我认为Akka已经包含了Reactor所表达的功能。 例如,可以在Akka中表示为https://github.com/reactor/reactor#events-selectors-and-consumers上记录的订阅和事件发布: final ActorSystem system = ActorSystem.create("system"); final ActorRef actor = system.actorOf(new Props( new UntypedActorFactory() { @Override public Actor create() throws Exception { return new UntypedActor() { final LoggingAdapter log = Logging.getLogger( getContext().system(), this); @Override public …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.