S
S
Sergey2020-01-29 12:53:46
Node.js
Sergey, 2020-01-29 12:53:46

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

4 answer(s)
S
Sergey, 2020-01-29
@dostrog

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

A
Andrey Lamzin, 2020-01-29
@Byte255

Possibly heroku.com

H
hzzzzl, 2020-01-29
@hzzzzl

https://www.openode.io/pricing

V
Vitaly, 2020-01-29
@vshvydky

Hatsner for 2 bucks...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question