GithubHelp home page GithubHelp logo

lanicon / road-to-orleans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piotrjustyna/road-to-orleans

0.0 1.0 0.0 1.15 MB

This repository illustrates the road to orleans with practical, real-life examples. From most basic, to more advanced techniques.

License: MIT License

C# 73.85% F# 3.33% Dockerfile 6.31% Shell 16.52%

road-to-orleans's Introduction

road to orleans

Gitter

This repository illustrates the road to orleans with practical, real-life examples as .NET solutions. From most basic, to more advanced techniques. The code is written using .NET 5 and was tested on MacOS (Catalina 10.15.7) and, wherever docker is supported, Linux (Alpine 3.12).

build & run

  • IDE: build + run (first the cluster, then the client)
  • docker (where supported): run.sh

monitoring

Silo dashboards are available by default on localhost:8080 unless configured otherwise in the code/dockerfile/run.sh.

code

solutions

solution description docker support clustering clustered silos grains clients *visual studio code support *remote containers support
solution1 One basic silo, no grains. - 1 0 0
solution2 One basic silo, one grain, one console client. - - 1 1 C# grain 1 - console
solution3 One basic silo, one grain, one console client, everything containerized. - 1 1 C# grain 1 - console
solution3a Solution3 + grain persistence. - 1 1 C# grain 1 - console
solution4 First in-memory clustering example. Many silos, many clients. in-memory n 1 C# grain n - console
solution5 Solution4 where the grain interfaces F# library code. Additionally, F# unit tests covering the F# library code. in-memory n 1 C# grain interfacing F# library code. n - console
solution6 Solution5 where the cluster is being called from a Web API. in-memory n 1 C# grain interfacing F# library code n - web api
solution7 Solution6 + FeatureManagement, dependency injection in grains, unit tests for grains using OrleansTestKit. in-memory n 1 C# grain interfacing F# library code n - web api
solution8 Solution7 + Persistent Membership Table in DynamoEB, ECS hosting, CloudFormation Template. Dynamo n 1 C# grain interfacing F# library code n - web api

*visual studio code support:

  • [ctrl/cmd]+shift+b: builds selected projects
  • f5: runs selected projects

*remote containers support: ability to develop/build/run/debug code inside containers. This is to support those who just want to quickly pull the repository code and experiment with it with e.g. Visual Studio Code. Code + batteries included.

further reading

road-to-orleans's People

Contributors

camiloterevinto avatar dependabot[bot] avatar mereta avatar mrblonde91 avatar piotrjustyna avatar

Watchers

 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.