J
J
Jiestie2018-10-16 21:24:48
Node.js
Jiestie, 2018-10-16 21:24:48

Can I somehow set up a connection to bind to events on a remote server some kind of execution of some actions on my local computer?

I have a server on digitalocean weak 1gb ram.
If I run several nodes on it, it runs out of memory. Can I somehow set up a connection via websockets or some protocol - so that when some action, let's say, happens on the server, then the event works on my local computer - on my computer, and the process takes place on my computer?
I am using node.js.
Also would like to know if using nsq . on a remote server, is there any way to put readers on my local computer that will subscribe to messages with nsq?
That is, is it still possible to subscribe to the message queue from the local area, which sends messages from a remote server?
Or in a node put event listeners on events that happen on a remote server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly, 2018-10-16
@vshvydky

vpn will help you

I
Ivan Shumov, 2018-10-16
@inoise

And where do you put the message broker if your server is already weak? If on the locale, then the connection will break and messages will disappear

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question