J
J
jenya77712019-06-18 13:15:07
Node.js
jenya7771, 2019-06-18 13:15:07

What temporary storage to choose?

Hello, the task is to simultaneously execute several scripts on NodeJs.
For example, one script collects data, and the second one processes this data, and it should happen in parallel.
The data will be either just strings or objects, that is, you need to store everything as an array, so that the first script throws the data at the beginning of the array, and the second gets it at the end of the array, and after it gets it deleted.
Can you tell me what can be used for such a task?

{ id: '48348734783746346253292376237',
    date: 73267890587443920-4983,
    user: { id: 9487920142598345208325 } }

Here is an example of an object that will be saved.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question