adplus-dvertising
frame-decoration

Question

How can a client-server-based system ensure that the server remains robust in the face of client failures?

a.

Have the server wait for responses from clients

b.

Use blocking network operations for all communication

c.

Ensure that the server is event-driven or uses non-blocking network operations

d.

Limit the number of clients connecting to the server

Answer: (c).Ensure that the server is event-driven or uses non-blocking network operations Explanation:To ensure server robustness, a client-server-based system should have the server be event-driven or use non-blocking network operations, preventing the server from waiting indefinitely for responses from clients.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How can a client-server-based system ensure that the server remains robust in the face of client failures?

Similar Questions

Discover Related MCQs

Q. What should the server do when a client fails in a client-server architecture?

Q. What is the purpose of resynchronization in a groupware system after a workstation/client recovers from a failure?

Q. In a replicated architecture, what additional challenge arises when one replicate detects a failure before the others?

Q. What type of application failures may be more difficult to detect as they don't crash the application, but lead to inconsistencies in data structures?

Q. What programming approach helps ensure algorithm correctness by proving its correctness using formal methods?

Q. What can be done to minimize the impact of errors in data consistency between clients and the server in a groupware system?

Q. What is the primary concern when dealing with unforeseen sequences of events in a distributed system?

Q. What is a common scenario that can lead to a deadlock in a distributed system?

Q. What programming practice can help avoid deadlock in a distributed system?

Q. What is a key consideration when making assumptions about the ordering of incoming events in a groupware system?

Q. Which factor can affect the form in which messages sent from one computer arrive at another in a groupware system?

Q. What can be done to ensure consistent message interpretation in a groupware system where message length may vary?

Q. What programming approach can help avoid algorithmic errors when scaling up a groupware system to larger numbers of users?

Q. Why is it important to take into account the future scaling of a system during its initial design?

Q. What practice should be followed when early versions of a system have fixed-size assumptions that may not hold in the future?

Q. How can a system handle the situation when the number of open files/network connections reaches its limit?

Q. What is a potential consequence if the number of clients exceeds the allowable open files/network connections limit?

Q. What system-dependent modification can be made to overcome the limitation of open files/network connections on the server?

Q. What is a potential solution to address the issue of the server's open files/network connections limit?

Q. Why is testing the functionality of an application with multiple windows on the same workstation insufficient to catch certain types of problems?