Wednesday, 15 February 2012

operating system - Atomic upload of many files to dropbox? -



operating system - Atomic upload of many files to dropbox? -

this asked in 1 of interviews. know possible answers question.

"you have shared folder, can see. want upload 100 files. upload of 100 files should atomic i.e either files available download user or no file available download.

one can argue delete uploaded files if operation fails in between not alternative because 1 time file uploaded, becomes visible other users.

what can possible solutions?

my solution - upload them first private folder , share folder within main shared folder.

it impossible accomplish isolation if using these cloud services. can if have own server. distributed systems topic deals similar kind of problems.

you can set lock on folder , upload files , can alter lock on folder.

operating-system cloud dropbox atomic

No comments:

Post a Comment