Realtime application using NextJS hosted on a NodeJS server
Unanswered
robin posted this in #help-forum
robinOP
I'm planning to build a realtime NextJS application.
From what I could find online, NextJS has some caveats which make working with realtime data different from the usual server-based hosted frameworks, mostly stemming from the fact that it is serverless.
This is all fine, however I am planning to host my NextJS instance on my own NodeJS server. My question then is; if I am using a NodeJS instance hosted on a server, rather than Vercel's serverless infrastructure, is there any way for me to take advantage of this fact to "bypass" the limitations of a serverless infrastructure (in this case the verbosity of handling realtime data), or are these limitations simply a part of NextJS, even when not using serverless infrastructure?
I wasn't able to find any information on this online aside from "hosting on a NodeJS server supports all NextJS features", but I am practically asking the opposite; would hosting on a server allow me to "bypass" some limitations of a serverless infrastructure?
From what I could find online, NextJS has some caveats which make working with realtime data different from the usual server-based hosted frameworks, mostly stemming from the fact that it is serverless.
This is all fine, however I am planning to host my NextJS instance on my own NodeJS server. My question then is; if I am using a NodeJS instance hosted on a server, rather than Vercel's serverless infrastructure, is there any way for me to take advantage of this fact to "bypass" the limitations of a serverless infrastructure (in this case the verbosity of handling realtime data), or are these limitations simply a part of NextJS, even when not using serverless infrastructure?
I wasn't able to find any information on this online aside from "hosting on a NodeJS server supports all NextJS features", but I am practically asking the opposite; would hosting on a server allow me to "bypass" some limitations of a serverless infrastructure?
1 Reply
robinOP
I realise that I may just be completely misunderstanding the idea of what serverless actually means in the context of NextJS, in that case any source where I can find more information on this would also be sufficient :)