Back to Practical Aspnetcore

Microsoft Orleans (5)

projects/orleans/README.md

latest3.1 KB
Original Source

Microsoft Orleans (5)

These are simple samples to play with Microsoft Orleans, a cross-platform framework for building robust, scalable distributed applications.

Orleans 8

  • Orleans - 1

    This sample shows how to use Orleans 8 in a minimal API application. It shows the new way on how to configure an Orleans server.

  • Orleans - 2

    This is a sample project that shows how to use Redis as a persistence provider for Orleans.

  • Orleans - 3

    This sample demonstrates the functionality of Orleans' Timer via Grain.RegisterTimer. It's useful to trigger actions to be repeated frequently (less than every minute).

  • Orleans - 4

    This sample demonstrates the functionality of Orleans' Reminder via Grain.RegisterOrUpdateReminder. It's useful to trigger actions to be repeated infrequently (more than every minute, hours or days). This is a persistent timer that survives grain restarts. Reminder is much expensive than Timer.

  • Orleans - 5

    This sample demonstrates using HttpClient in a grain and also introduces the concept of a Stateless Worker grain.

<!-- ## Samples - [Timer](timer) This sample demonstrates the functionality of `Grain.RegisterTimer`. It's useful to trigger actions to be repeated frequently (less than every minute). - [Reminder](reminder) This sample demonstrates the functionality of `Grain.RegisterOrUpdateReminder`. It's useful to trigger actions to be repeated infrequently (more than every minute, hours or days). This is a persistent timer that survives grain restarts. [Reminder is much expensive than Timer](https://github.com/dotnet/orleans/issues/4218#issuecomment-373162275). - [HttpClient and Stateless Worker Grain](http-client) This sample demonstrates using HttpClient in a `grain` and also introduces the concept of a Stateless Worker `grain`. - [RSS Reader - Simple](rss-reader) This is a simple RSS Reader that reads syndication items and only store and display unique ones. - [RSS Reader with Reminder](rss-reader-2) This is an RSS Reader that reads syndication items and refresh each feed source every x minutes (configurable). - [RSS Reader with Reminder + Subscription List](rss-reader-3) This is an RSS reader that read RSS feed sources from an OPML subscription list and refresh each feed source every x minutes (configurable). It uses a single Reminder grain to handle all the reminders created for each feed. - [RSS Reader with Reminder + Subscription List 2](rss-reader-4) This is an RSS reader that read RSS feed sources from an OPML subscription list and refresh each feed source every x minutes (configurable). It uses one Reminder grain for each feed. - [RSS Reader with Reminder + Subscription List + Orleans Streams](rss-reader-5) This is an RSS reader that read RSS feed sources from an OPML subscription list and publish it into a single stream with a single channel. The data then processed by implicit susbcriber. -->