Fy
Fy2w ago

How do I use Convex in Node.js with a persistent client connection (in a non-serverless environment)

My architecture is as follows: Server 1: Node.js with persistent connection — stores data only (does not read). ----Both servers are isolated from each other.---- Server 2: Vercel deployment with Next.js backend and React frontend, serverless — reads data and needs to update it live, doesn't need to write
3 Replies
Convex Bot
Convex Bot2w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
kfiroo
kfiroo2w ago
why do you need a persistant connection in the node server and not use ConvexHttpClient?
Fy
FyOP2w ago
i am having headache with this convex stuff.. i am trying to learn, but i just can't find any right resource

Did you find this page helpful?