Amazon Interview Question for Software Engineer / Developers






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

1) Partition of database
a) Different tables to different servers
b) Divide large table into multiple partitions to different servers
2) Partition of queries accordingly
3) Develop query cache system to avoid frequent query of database with identical conditions.

- jzhu May 18, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Lets assume that single data server can handle one million request. we need 100 data server . same time we need to distribute this data on 100 server. create partition table so that request can routed to correct server.

- Anonymous July 02, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Well I think he is looking for Map Reducer logic.
It has two phase.

map Phase:
Say if you have n computer then use (n-1) to serve pages each capable of storing say 1 million results.

reducer Phase:
It maintains a list of all the request from all the n-1 server but there is not need to join the result.
When ever a request is place just forward it to the appropriate server. :)

- Prince August 30, 2010 | 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