In my quest to solve the 1000’s of clients, each with individual ArangoDB’s, recording individual information as something is running…We need to aggregate this information back to a collection in a singular Master Node server so that queries and reports can be made on it. Looking into the power of JavaScript and actions within ArangoDB… Is this possible and fast enough to ‘replicate’ data back to the Master Node..
1) Local run data is being logged on each client
2) An action trigger is executed (let’s take the holy crap scenario first, no bulk uploading or anything)…for each insert, take the locally inserted data and make that exact request to the Master Node for insertion into the common collection (the document data stored on each client has properties that uniquely identify it etc).
3) This would effectively ‘replicate’/aggregate each client’s unique data to the single Master Node collection.
Thoughts?
Thanks,
Ken