Dubbo The default is to retry two times when the service is not successfully invoked. In this way, when the server processing time exceeds the set timeout time, there will be repeated requests, such as when the e-mail, may be issued multiple copies of the message, the execution of the registration request, will be inserted multiple duplicate registration data, then how to solve the timeout problem? As follows
1. For the core Service center, remove the Dubbo timeout retry mechanism and re-evaluate the setup time-out.
2. The business processing code must be placed on the server side, the client only does the parameter verification and the service call, does not involve the business process processing
Of course Dubbo's retry mechanism is actually very good QoS guarantee, its routing mechanism, will help you to the time-out of the request to the other machine, rather than the local attempt, so the Dubbo retry machine can also be a certain degree of quality assurance service. However, please be sure to combine the online access and give a comprehensive assessment.
Dubbo Service Call Timeout problem solution