unknown Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
0
of 0 vote

Setup a NFS Server on the machine which has the large file.Create a exports file with all the 1000 machines and mount it on all the machines.

- krannycool March 11, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

so, what you said is to put the file on a network drive? :P

- Anonymous March 11, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes, the actual question was:

How to copy a very large file (let's say 10 TB) to 1000 computers within the same network in a timely and efficient way?

- montegobay March 11, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Use UDP mutlicast

- gago March 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

>> montegobay,
I mean "How to copy a very large file (let's say 10 TB) to 1000 computers within the same network in a timely and efficient way?" is solved by multicasting (IGMP protocol)
while
"Best way to share a large file to 1000 computers in the same network." is completely different story.
It seems you did not understand the question correctly during the interview.

- gago March 12, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

The interviewer was not looking for a one-word answer, but how you think thru a problem.

My answer was that we had the same problem is sharing a large SDK file at the last minute at a conference, and how we split up the work.

So, what is the algorithm behind UDP? What are the limits? Is it the ideal fit for this problem?

- montegobay March 15, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Having just read more on UPD and IP multicast, Gago's solution may not work since it requires routers and switches to do the caching / buffering of the data. Now I understand why the interviewer specified it had to be in the same LAN.

Looking for alternative ideas...

- montegobay March 15, 2011 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More