This should help making the project more robust and scaleable.
You should also consider using somesort of external database+exclusive locks on the files, so multiple RPC servers could be used (again, more robust, and scaleable).
Thanks for the suggestions. I have noted it down. I'll try to work on it and you'll see updates if I could figure out something :)