Yahoo Interview Question for Software Engineer / Developers






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

We can use distributed hash tables where each node in the distributed system manages some set of predefined keys. Along with hash table, functionality exists to route hashing/retrieval request to the other nodes in the DHT system.

- Dumbo February 15, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Cases like what to do when one of the systems goes down, how would you deal with the loss of data.. etc.

- anon May 10, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

There can be various ways to deal with churn in distributed systems. In the case of DHT, the following methods are popular:
(1) Replication at different nodes in the system; where to replicate is an interesting issue: the naive approach is to replicate in the successor/predecessor nodes (assuming DHT nodes are organized in a ring topology such as Chord or hyper-plane as CAN); a better approach would be to dynamically replicate by using content placement strategies to optimize total search cost considering the popularity ratios of the query workload
(2) Caching can be used a solution where the content is cached at various intermediate nodes in the query resolution path which also reduces the search cost.
The successor node takes up the responsibility of the failed node by default for answering future queries and quickly recover from node/link failures.

- Avatar April 30, 2012 | Flag


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