Orleans: IoT sample

Created on 2 Dec 2017  路  7Comments  路  Source: dotnet/orleans

Hi, thanks for your efforts.
Does there exist a sample using Orleans with Azure IoT (and maybe IoT Edge)?
Currently, I implement an IoT solution using SF Actors (it is customer's requirement) and I can find some limitations, especially when the Actor Model becomes more complex. (e.g. actually in SF, each actor type runs in its separate process). It would be very useful to have a sample (or any other help) about Orleans and Azure IoT, like this https://github.com/paolosalvatori/servicefabriciothubdemo . In this project, the communication with Actors system, it is implemented either through a Rest API, or using the IoT EventHub (ServiceBus).
I'm very interested also for the Orleans co-hosting with ASP.Net Core. I suppose that co-hosting (when it would be implemented), it means I'd run only one silo, (please, correct me if I am wrong). Co-hosting is needed in specific use cases. I suppose, it could be implemented as middleware or IHostedService?
Also, if in the co-hosting Orleans-ASP.Net Core, we could have a TCP server (with security) for amqp/mqtt, it would help a lot.
thanks

Most helpful comment

Pegasus team will be releasing OSS code for a generic IoT communications system based on Orleans. Will support HTTP, Web Socket, TCP, and UDP channels and CoAP and MQTT protocols, along with HTTP-POST/GET. Trying to get this done prior to holidays.

All 7 comments

I guess https://github.com/dotnet/orleans/tree/master/Samples/GPSTracker is the only sample that could be considered remotely related to IoT. Very old though.

If somebody in the community has done a proof of concept kind of project in the IoT space, that could be a good sample.

I've seen that the pegasusmission used MS Orleans IoT, there is some code somewhere in GitHub.
I wish to have time, after my current project, to create a sample with Orleans+Azure IoT.
What is needed really is the amqp listeners - publishers to communicate through the Azure IoT Hub EventHub queues, using the Service Bus.

Ah, yes, I should ask Matt Long about Pegasus code. Forgot about that.

What is needed really is the amqp listeners - publishers to communicate through the Azure IoT Hub EventHub queues, using the Service Bus.

That's one design option - to configure Orleans Streaming to pull events from EventHubs and process them in grains.

Pegasus team will be releasing OSS code for a generic IoT communications system based on Orleans. Will support HTTP, Web Socket, TCP, and UDP channels and CoAP and MQTT protocols, along with HTTP-POST/GET. Trying to get this done prior to holidays.

We are planing to update our IoT communications system based on Orleans. It would be beneficially for all if we can work together on released OSS code. Is there anything new regarding this?

what's the situation now?have passed one year

I am also interested in this. I could not find Pegasus anywhere.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

galvesribeiro picture galvesribeiro  路  4Comments

pherbel picture pherbel  路  4Comments

bwanner picture bwanner  路  5Comments

jt4000 picture jt4000  路  3Comments

luciobemquerer picture luciobemquerer  路  4Comments