I have been asked a question during an java developer interview.
how do you identify which server the application is using during production issue in a multi server environment?
ex: lets take Amazon has several servers, there is an production issue, to address that issue where do you check, where you start your digging about the issue.
I googled for an answer did not get any to the point answer. Please throw some light.
Madhu Pendy wrote:at very external level - load balancer is , when there is heavy flow of requests , few requests will be transferred to another server(node) to address the request.
That wasn't Jayesh's question - and I suspect he already knows what a load-balancer's function is in general terms.
My problem is that I'm still not quite sure what your question is: At the elemental level, a data packet usually contains a source IP address; but there are all sorts of mangling processes like NAT that may obscure it from you, so without some knowledge of what those are, it may be quite difficult to track a problem back to its identifying "server".
Perhaps you could give us some more information on what this interview question was all about?
Isn't it funny how there's always time and money enough to do it WRONG?
Artlicles by Winston can be found here
I think this is a troubleshooting question. How do you know there is a production issue? How do you know it has something to do with one of the servers/ My guess is there would be something in the logs on that server to give a clue.
Well if a particular node is down, the load balancer UI will point that out.
If the interviewer meant without looking at the load balancer, I would say its not worth beating around the bush in a production environment.