J
J
jtag2018-02-08 18:28:45
Node.js
jtag, 2018-02-08 18:28:45

How to transfer data between servers?

I have mysql with central nodejs server on one pc. The second node.js server is also located remotely. What is the best way to transfer data from the server center to the remote one: net, websocket, ajax? The request from the remote server will be about once an hour, approximately 10 thousand rows from mysql need to be transferred.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2018-02-08
@Azperin

Since this is not some kind of sqllite3, it may make sense to simply create a separate user on this database with read-only rights and already pull directly from that server? The strange intermediary turns out.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question