Is it possible to probe servers in .Net like we can in Delphi?
Maybe I overlooked it, but I can’t seem to find things like ServerLocators and DispatchOptions.
Is it possible to have a .Net client ‘load balancing’?
AFAIK it is not possible to do it via .Net client.
Second question will be, why not? which I will like also to know. It is quite useful and in a lot of (work)places load balancing servers/options are not that available.
No, there is no ServerLocators and DispatchOptions in Remoting SDK for .NET.
Yes, it is always possible to define a list of available servers (one can even fill it using ZeroConf) and to wrap server calls into a simple code that will switch to other server if one fails - this will just require sime more code.
Still instead of writing own solutions it might be better to setup a reverse-proxy (f.e. nginx) and use dedicated solutions for load balancing.
Even if we write some extra code or even use reverse-proxy solutions, our Delphi clients will not be able to probe .Net services. So, our problem persists…
Isn’t it safer to have these things deprecated in Delphi to avoid these problems in ‘mixed environments’ (or implement this functionality in .Net).
I see what is the issue now.
So the main issue is to let Delphi clients to probe .NET servers? I think we can provide a solution for this in a few days. Or you do need a some kind of server probing for the .NET client part as well?
I’ll start with the server-side support implementation.
Please note that most probably the client-side support wll be limited to synchronous calls only.