I am implementing a game application using orleans framework. Every game instance is a separate GameGrain and there are some associated grains with every instance of GameGrain like PlayerGrain (for every player in the game), WeaponsGrain (weapons inventory).
The primary key of these grains are:
GameGrain : <GameGuid>
PlayerGrain : <GameGuid>-<PlayerGuid>
WeaponsGrain: <GameGuid>
Now, I want to implement grains placement strategy that makes sure that GameGrain, PlayerGrain and WeaponsGrain for any game instance is activated on same silo as the GameGrain
Would appreciate if you can provide some inputs as how I should do this?