I am working on a web based game, and I worry that I will hit the limitations on updates. The information I am sending is the position of each user in a game level. It seems to me that I could somehow leverage Realtime sockets to allow all the players to send their positions - sockets are 2 way I assume, but it seems like the Realtime updates are only server push?
Summary
User is wondering if it is possible to send and receive data via Realtime. Another user confirms that it is possible and currently working fine for them. There is a suggestion to create a document to trigger a new event. However, another user disagrees and states that Realtime is only meant for receiving new events. The original user is concerned about hitting limitations on updates for their web-based game. They want to send the position of each user in the game level using Realtime sockets but are unsure if Realtime updates are only server push.
Solution: Realtime is primarily designed for receiving new events rather than sending data. It may not be
Drake
Aug 12, 2023, 16:07
No, realtime is only meant for receiving new events
Drake
Aug 12, 2023, 16:08
You would create a document to trigger a new event
Triptych
Rank 1: Thread
Aug 12, 2023, 22:54
Yeah - that's how it's working for me right now - and it's working fine. Everything is turn - based right now so I think I'll be ok with rate limiting.