erquhart
erquhart2y ago

Convex

Guessing the answer was “migrate to convex” 😄
2 Replies
philipsman
philipsman2y ago
Convex doesn't have built in rate limiting and server side auth afaik (I can authenticate the user and then tell pusher to establish the websocket connection) Pusher has a client side library and a server side library. Only the server side library can push updates to all clients Convex on the other hand doesn't allow you to have only the server be able to push out updates to everyone afaik
jamwt
jamwt2y ago
I think all this should be possible (although built-in rate limit, that is true, convex doesn't have that) but everything else should work just fine in convex the server can push out updates via actions or crons or webhooks or any other mechanism not driven by another user (aka another client) and you can just not expose any mutations--then (provably) no client can do anything except listen to updates from somewhere (like the server)

Did you find this page helpful?