Currently, a service invocation between different SwitchYard applications is done with no performance impact as an in-memory method call if the two applications reside in the same JVM (SwitchYard runtime) and the SCA binding is chosen for the communication.
This in-VM optimisation may be extended further to whatever binding is explicity chosen. The idea of the optimisation (by Keith) is as follows:
if references with other bindings also had an SCA binding, then we could add some logic which automatically invoked a local SCA service if it was available, otherwise just use the binding.
|