Live events with prisma pulse for games
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
3 Replies
Hello @Mohammad Orabi π±π§ π
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
Pulse: Known limitations | Prisma Documentation
Learn about known limitations of Pulse.
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?
Hi @Mohammad Orabi π±π§ You can look at the free tier on our pricing page to see if it meets your needs. https://www.prisma.io/pricing?utm_source=website&utm_medium=pulse-page
Prisma
Pricing - Prisma Data Platform
Get started for free with Prisma. Choose the rightΒ plan for your workspace based on your project requirements.