Skip to content

StreamProxy GrainService #8170

Answered by GeroL
GeroL asked this question in Q&A
Discussion options

You must be logged in to vote

I found this in the Discord chat. I will give it a try

https://discord.com/channels/333727978460676096/333727978460676096/1045424809036742666

@MarkNickeson — 24.11.2022 20:44
One solution I use for the above "observer scale out" is to have a proxy grain defined like so: [PreferLocalPlacement]public class LocalObserverProxy {}, and then use a grain key of siloID+targetGrainToObserveID. That way requests for the "observer proxy" on local silo resolve the proxy. And the proxy implementation itself is the only observer of the actual target, wherever it is in the cluster. In the model, if you have 1000 observers in a 10 node cluster, you get ~100 observers per node that are all local calls an…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GeroL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant