I don\'t necessarily want to use UUIDs since they are fairly long.
The file just needs to be unique within its directory.
One thought which comes to mind is
Problem is synchronization. Separate out regions of conflict.
Name the file as : (server-name)_(thread/process-name)_(millisecond/timestamp).(extension) example : aws1_t1_1447402821007.png
(server-name)_(thread/process-name)_(millisecond/timestamp).(extension)
aws1_t1_1447402821007.png