A
A
Albert Kazan2018-03-23 20:51:20
Database
Albert Kazan, 2018-03-23 20:51:20

Storing non-long-term data in NodeJS?

Modding a game from PHP+AJAX to NodeJS+?
Two players play each other. Doing one thing in turn, passing move by move. All data about the match in an array (there can be several simultaneous matches). Therefore, each match is stored in a separate line. That is, you need to store and process such an array through NodeJS.
I want to store information about the current match, only data about which players are present in it. And the information about the numbers and other data is already in some kind of temporary place. After the match, these records will no longer be needed.
What can be used?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton fon Faust, 2018-03-24
@bubandos

Keep in mind. On nodejs, the variable will persist until you delete it or restart the application (which is essentially a server).

R
Roman Mirilaczvili, 2018-03-24
@2ord

Can be used as a key-value store, such as Memcached.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question