Hello , My backend is a traditional transactional backend that serves multiple games at the same time . it stores balance , open chests , give rewards etc , but nothing like a "game server" for real time things , however recently for some games I want to implement real time events such as user is playing (think of it like subway surf) , he reaches some checkpoint/num of minutes , need to grab this event from the game and check if he matches the event requirements and then reward the user with keys , I already have this system with request/response , but now the key should actually directly be spanned into the game , so the game should have a direct instant reward
would having web sockets between the game and my server + my server and prisma pulse solve that
#Live events with prisma pulse for games
3 messages · Page 1 of 1 (latest)
Hello @wooden sundial 👋
I assume you have a long running server on which your backend is hosted. You can have listen for database changes on your sever end and then propogate it to your frontend using Websocket:
https://www.prisma.io/docs/pulse/known-limitations#prisma-pulse-is-server-side
Yes I am on AWS with kubernates with postgres 16
okay is their a way I can test it and see if it fits the needs before paying or so?