Git Product home page Git Product logo

orleankka's Introduction

Orleankka

Orleankka is a functional API for Microsoft Orleans framework. It is highly suitable for scenarios where having composable, uniform communication interface is preferable, such as: CQRS, event-sourcing, re-routing, FSM, etc.

Orleankka is not just a translation layer on top of Orleans. Besides improved language support, Orleannka brings several new important features and fixes a lot of small-to-medium annoyances, constraints and some of the major limitations, currently present in Orleans' programming model.

References: video, slides and discussion.

Features

Runtime
  • Pluggable serialization protocols
  • Dependency injection support
  • Simplified configuration via fluent DSL (client, cluster, azure, embedded)
  • Programmable from any .NET language
Actors
  • Message interception via higher-order catch-all function (AOP)
  • Automatic GC with configurable keep-alive timeouts
  • Runtime independence (isolated testing)
  • Reentrant messages
  • Special api for F# (DU, Pattern Matching, Tasks, Custom DSL)
Other
  • Convenient unit testing kit (stubs, mocks, expectations)
  • Push-based notifications with observers
  • Reactive Extensions (RX) support (client-side observers only)
  • Improved exception handling

How to install NuGet

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

PM> Install-Package Orleankka

Check out "Getting started" guide (F#).

Add-ons

[inside]
Orleankka.FSharp NuGet Special api for F#
Orleankka.TestKit NuGet Unit testing kit
Orleankka.Azure NuGet Fluent configuration for Azure

Examples

C#
F#
Serialization
  • .NET binary [default]
  • Orleans native (codegened) [built-in]
  • Newtonsoft.JSON [see]
Dependency Injection

Documentation

Complete documentation could be found on wiki.

Known issues

Integration tests (those using real actor system) won't work with XUnit visual studio runner due to inability to disable shadow copy xunit/visualstudio.xunit#9

Contributing

Any bug-fix pull request goes without a saying. For new features or modifications, please first create an issue, so we can discuss it before any effort is made. Add-ons, like new serialization or communication protocols, DI container support, FSM, etc - are highly welcomed!

Community

Gitter

License

Apache 2 License

orleankka's People

Contributors

yevhen avatar antyadev avatar elanhasson avatar attilah avatar mhertis avatar aprooks avatar mbernard avatar gitter-badger avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.