Hi,

In the distributed environment, when the client tries to talk to remote service, it could be some latency before the service is available. For example, it takes time for the endpoint registry to be updated with a remote service.

In general, there are a few typical options to handle such latency.

1) The client programming model has a timeout, for example, OSGi ServiceTracker.getService(timeout). SCA doesn't have such concept though. Potentially, we can use some intents to express that.

2) The service proxy retries for a few times. For example, Axis2. I also saw some code in our endpoint registry that retries for a few times when the target endpoint cannot be found.

Any thoughts?

Thanks,
Raymond
---
Raymond Feng
Apache Tuscany PMC Member: http://tuscany.apache.org
Co-author of Tuscany In Action (A book on Tuscany SCA): http://tuscanyinaction.com/
www.enjoyjava.com


Reply via email to