OrleansContrib/Orleankka
关于
Microsoft Orleans 的函数式 API:http://orleanscontrib.github.io/Orleankka
开发工具可以做什么
- Message-based API with zero performance overhead
- Switchable actor behaviors with built-in hierarchical FSM (behaviors)
- Additional api to simplify programming long-running background tasks (jobs)
- Poweful actor/proxy middlewares (interceptors)
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
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 overhead
- Switchable 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.Client
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.
On MacOS\Linux distributions use below script to build, package or run tests:
$> ./nake.sh
Packages
| Package | Description |
|---|---|
| Orleankka | Core abstractions lib |
| Orleankka.Client | Client-side lib |
| Orleankka.Runtime | Server-side runtime lib |
| Orleankka.TestKit | Unit testing kit |
Examples
- Hello, world! [demo]
- "WebScan" [demo]
- TestKit [demo]
- Event Sourcing
- Reentrant messages [rw-x]
- Client-side observers [chat]
- Streams [chat]
- Switchable behaviors
Documentation
At present, documentation is undergoing a major overhaul. Please, check the unit tests and examples above to get up-to-date information on API usage.
Community
- Join Gitter chat
- Follow the @Orleankka Twitter account for announcements
License
Apache 2 License
探索相关项目
加载中…