orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Custom BroadcastChannel provider?

Open turowicz opened this issue 1 year ago • 4 comments

We have recently wrote our custom PersistentStream provider (https://github.com/Surveily/Orleans.Streaming.Grains) which does a great job but is not comparable in performance to BroadcastChannels. Would it be feasible to write a custom BroadcastChannel in an attempt to achieve a similar performance level but with a persistance layer attached to it?

@ReubenBond @benjaminpetit @sergeybykov

turowicz avatar Jan 02 '24 14:01 turowicz

What would be the use case for a persistence layer in this case? "Subscribers" cannot go back in time in case of BroadcastChannels.

benjaminpetit avatar Jan 05 '24 14:01 benjaminpetit

Not going back, I just need a stateful queue.

turowicz avatar Jan 07 '24 10:01 turowicz

Just for logging/audit purpose?

benjaminpetit avatar Jan 08 '24 10:01 benjaminpetit

In case of power outage of the silo cluster (all of it) we don't want to lose the in-memory messages that have been processing. When power comes back we want the cluster to process them.

turowicz avatar Jan 08 '24 11:01 turowicz