Yeah back account may have been a bad example, but still solvable:
You can use MySQL's SELECT FOR UPDATE (not currently implemented in graphp) to do this transaction safely.
Alternatively, within the framework you can do the reserve amount as a time stamped node and connect it to the user. Then you query for reserve nodes and process them in order.
You can use MySQL's SELECT FOR UPDATE (not currently implemented in graphp) to do this transaction safely.
Alternatively, within the framework you can do the reserve amount as a time stamped node and connect it to the user. Then you query for reserve nodes and process them in order.