Answer the question
In order to leave comments, you need to log in
Hosting a constantly running Node.js application?
Application for Node.js -- mqtt client. Subscribes to several topics of a third-party MQTT broker and parses / logs / accesses other services via http, etc. when messages arrive. Should always be in memory.
What I looked at allows you to run Node.js applications only from an external "kick": POST / GET requests (for example, phusion passenger does this in conjunction with hosting apache / nginx ).
Are there hostings for Node that will allow you to run the application after deployment and keep it in memory until a forced shutdown / restart? Or only on VPS?
Answer the question
In order to leave comments, you need to log in
Suddenly it will come in handy for someone ...
After a series of experiments with shared hosting, it turns out that this (see topic) can be implemented on most shared hostings (such as opennode, heroku, etc.), but you need to "load" a stub that constantly listens to HTTP traffic . However, it is possible and not a dummy. Hang an advertisement on it, authorization, admin panel, etc.
Thanks Andrey Lamzin , Vitaliy , hzzzzl
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question