Cysharp / MagicOnion

Unified Realtime/API framework for .NET platform and Unity.
MIT License
3.9k stars 433 forks source link

Where to store game state in hub? #620

Closed feritzcan2 closed 1 year ago

feritzcan2 commented 1 year ago

Hello, thanks in advance for your response.

We are building a turn-based game using magic onions hubs. We should store a game state object somewhere for example named GameRoom. Our servers will be accessed under a loadbalancer so that we shouldn't store it inside a variable and we have to access to same object for all players.

Where do you suggest to store that data? I couldn't find any documentation about IInMemoryStorage. Does it use redis backplane? Only thing that comes to my mind is redis.. Is redis only way to go?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.