什么时候使用 Akka 微内核?
When to use Akka Microkernel?
我正在阅读 Akka 文档并且对一些真正没有很好解释的东西感到好奇。他们 mention 一种叫做 Akka 微内核 的东西,并暗示它是某种应用程序 bootstrapper/launcher,但他们并没有真正解释它是什么 什么时候使用它.
稍后在文档中有一个 entire page 专用于微内核,但它同样神秘和模糊,说明:
The Akka Microkernel is included in the Akka download found at downloads.
然后:
To run an application with the microkernel you need to create a Bootable class that handles the startup and shutdown the application. An example is included below.
但是其中没有任何地方解释微内核是什么以及为什么我需要使用它。想法?
根据微内核发明者 Viktor Klang 的说法:
The primary use-case was to create a bundle so one can easily package an Akka Application and deploy/run it somewhere else (without having to write launcher scripts or installing some kind of App Server).
和
It's a very lightweight packaging of an Akka application in a distributable archive.
This Google post 可能会为您提供更多信息。
我正在阅读 Akka 文档并且对一些真正没有很好解释的东西感到好奇。他们 mention 一种叫做 Akka 微内核 的东西,并暗示它是某种应用程序 bootstrapper/launcher,但他们并没有真正解释它是什么 什么时候使用它.
稍后在文档中有一个 entire page 专用于微内核,但它同样神秘和模糊,说明:
The Akka Microkernel is included in the Akka download found at downloads.
然后:
To run an application with the microkernel you need to create a Bootable class that handles the startup and shutdown the application. An example is included below.
但是其中没有任何地方解释微内核是什么以及为什么我需要使用它。想法?
根据微内核发明者 Viktor Klang 的说法:
The primary use-case was to create a bundle so one can easily package an Akka Application and deploy/run it somewhere else (without having to write launcher scripts or installing some kind of App Server).
和
It's a very lightweight packaging of an Akka application in a distributable archive.
This Google post 可能会为您提供更多信息。