Export the data storage and the locking system to an external database (mongo is a good idea by initial tests)