Amazon Interview Question
Software Engineer / DevelopersIf it is talking about security in between ......
Then host1 will say apply lock1 to file and send it , then user2 will apply lock2 to file and return back . User1 will unlock the file and then send it , and then user2 will
unlock the file.
In this way nobody in between would be able to get the content.
Split file into chunks..Something like maintaining a Sliding Window Protocol... waiting for some time to retransmit. based on acknowledgements. like TCP
- garyb January 31, 2011