Recommendations for Realtime Service (Pusher, Supabase Realtime etc..)?
Hey,
im building a web app (t3 stack, trpc) with realtime capabilities. So im currently looking for a realtime framework/service that i can use. My webapp will be deployed on vercel, so custom WebSockets will not not work as vercel is not able to maintain a connection.
I've been looking into Pusher and Supabase Realtime, but cant really decide. It should require channels, broadcasting and auth integration.
Do you guys have any recommendations? Maybe with some repos or demos i can checkout the integrations?
Thanks in advance!
7 Replies
Although I answered in #tech-discussion, I'll say it here as well: if you're looking for a way to keep your application "live" and cannot support native websockets, it can be easily achieved with many other ways, where one of them is via a sessionID cookie, and redis' pub/sub 🤷♂️
hmm redis actually might be a great idea, thanks! ill look into it
The only reason to do a managed service is to skip the step of having to do it all yourself
I personally like ably but theres also pusher (paid) and soketi which is self hostable
Discord if you plan to go this route: https://discord.gg/zSYF6SVj
soketi seems amazing to go with in production. first use pusher for development, and self host soketi when going big. and all you have to do is swapping a url out.
Has anyone used Soketi? I have been trying to integrate it into my NextJS application, however, been stuck on it for over a week now with the incomplete documentation, inactive Discord channel, and lack of online discussions/videos.
Would love to hear how someone set theirs up with NextJS/node in place of Pusher 🙂