WebSockets on Deno Deploy
Hi all, I've been looking into Deno Deploy for a creative web development class. We used Glitch in the past but with that platform now sunsetting, we're looking for a new home for students to learn and host their projects.
Deno Deploy has jumped out as a great alternative with a very easy interface, a free tier that doesn't require a credit card, rich support, and very importantly: websockets support!
I did some testing, both raw/native websockets and socket.io seem to work just fine. Only, we had some problems with clients getting sent a different state of our server running on Deploy. Client to server communication seemed flawless, however server to client thus acted a bit weirdly. I ended up switching things out for Deno KV.watch, but I'd still like some help on how I can best look into the websocket issues I was having.
Cheers!
0 Replies