Orleankka是Microsoft Orleans框架的一个函数式API

网友投稿 940 2022-10-26

Orleankka是Microsoft Orleans框架的一个函数式API

Orleankka是Microsoft Orleans框架的一个函数式API

Orleankka is a functional extension for Microsoft Orleans framework. It provides a message-based API similar to Akka/ProtoActor, carefully layered on top of the Orleans (that's what in a name). Orleankka is an excellent choice for use-cases which can benefit from composable, uniform communication interface, such as CQRS, event-sourcing, FSM, etc.

References: intro, features, slides and discussion.

Features

Message-based API with zero performance overheadSwitchable actor behaviors with built-in hierarchical FSM (behaviors)Additional api to simplify programming long-running background tasks (jobs)Poweful actor/proxy middlewares (interceptors)Convenient unit testing kit (stubs, mocks, expectations)

How to install

To install client Orleankka library via NuGet, run this command in NuGet package manager console:

PM> Install-Package Orleankka

For server-side library:

PM> Install-Package Orleankka.Runtime

Check out "Getting started" guide

Build sources

You will need VS2019 and .NET Core 3.x installed in order to build and open the solution. Clone repository and run the following in CLI from solution's root folder:

PM> Nake.bat

This will restore dependencies and build everything in debug mode. Run Nake.bat with -T switch to see available commands.

Packages

PackageDescription
OrleankkaCore and client lib
Orleankka.RuntimeServer-side runtime lib
Orleankka.TestKitUnit testing kit

Examples

Hello, world! [demo]"WebScan" [demo]TestKit [demo]Event Sourcing Idiomatic (CQRS) [see]Persistence: GetEventStore [see]Persistence: Streamstone [see] Serialization ProtoBuf [see]Hyperion [see] Reentrant messages [rw-x]Client-side observers [chat]Streams [chat]Switchable behaviors Basics [see]Durable FSM with supervision[see]

Documentation

Documentation can be found here.

Community

Join Gitter chatFollow the @Orleankka Twitter account for announcements

License

Apache 2 License

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:最大堆和最小堆
下一篇:Qt 之 QuaZIP(zip 压缩/解压缩)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~