InterviewSolution
| 1. |
Why Would Applications Require Asynchronous Communications? |
|
Answer» Performance is the most common reason. Applications that perform a series of tasks that must be done sequentially cannot benefit from asynchronous COMMUNICATION. Applications that make only short duration remote operations have little need for asynchronous communication. Asynchronous communication can allow an application to perform ADDITIONAL tasks instead of waiting for tasks to complete. Applications that have a NUMBER of tasks that can be performed in any order can often benefit from distributed asynchronous communication. This becomes more important for applications that call lengthy remote operations. In order to benefit from asynchronous communication, an application must be able to perform some task after the request is issued but before the response is available. Tasks might include prompting for additional USER input, displaying information, or making additional remote operation requests. Typical asynchronous communication candidates include applications that need to perform several lengthy database queries or COMPLEX calculations. Performance is the most common reason. Applications that perform a series of tasks that must be done sequentially cannot benefit from asynchronous communication. Applications that make only short duration remote operations have little need for asynchronous communication. Asynchronous communication can allow an application to perform additional tasks instead of waiting for tasks to complete. Applications that have a number of tasks that can be performed in any order can often benefit from distributed asynchronous communication. This becomes more important for applications that call lengthy remote operations. In order to benefit from asynchronous communication, an application must be able to perform some task after the request is issued but before the response is available. Tasks might include prompting for additional user input, displaying information, or making additional remote operation requests. Typical asynchronous communication candidates include applications that need to perform several lengthy database queries or complex calculations. |
|