hello
i'm new here and i would ask about how to handle multiple client requests editing the same value at the same time
for example
on client client send getX() { excuteCloudScript("getX_server") } on server x = 25 handlers.getX_server() { x= getXfromdb or what ever x++ ; return ("x" : x } ; }
i don't want that 2 clients gets the same value of x while the server getting the request at the same time
i don't know exactly how the server engine work
the second one , is there a database i can use ?
the third one is the server built using node.js ?
the fourth question can i create a loop and a queue to add the clients on the queue and send them the value of x in order
thanks and i hope to get a detailed answer