Events between machines

From: Magne Ryholt (magne.ryholt_at_bluezone.no)
Date: 12/18/04


Date: Sat, 18 Dec 2004 13:57:25 +0100

Div. articles (e.g. Ingo Rammer
http://www.thinktecture.com/Resources/RemotingFAQ/RemotingUseCases.html)
concludes with the advice: Don't use events (callback) between machine, even
in an intranet environment.

Assume one server and several clients, all on the same subnet (datalayer is
100Mb ethernet)..
The server wants to update the clients with *something*, but don't want to
use callback.

Assume the server send small udp packets without actual data, but with info.
regarding how the clients (which are listening for these udp packets) could
get the changed, actual data from the server by using *normal* method calls
with return values.
It is not neccessary for the server to know if the clients receive these
packets, it is nothing it can do about it anyway.

This way callbacks could be avoided, however a little extra overhead is
introduced and an extra thread is needed on the clients.
To make it working simple, the UDP packet should not be fragmented.

Any comments on this approach ? Reliability ?
How to make sure that udp packets are not fragmented ? Is there any managed
or unmanaged method returning the MTU ?



Relevant Pages

  • Re: Events between machines
    ... > destination queues at the same time without relying on IP multicasting. ... > I've attached the source code for a small client and a small server to ... >> Assume one server and several clients, all on the same subnet (datalayer ... >> regarding how the clients (which are listening for these udp packets) ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: SOAP applicable in this scenario ?
    ... SOAP is an expensive protocol, I don't know how many UDP packets per ... When all your clients run a SOAP server, you can push the SOAP envelopes ...
    (comp.lang.java.programmer)
  • Re: Events between machines
    ... The problem with UDP is that it is generally not reliable. ... would also work if no single event would ever reach the clients. ... Windows Server 2003) which allows you to send a message to multiple ... > regarding how the clients (which are listening for these udp packets) ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Config File for remoting.
    ... In a callback from server I call Invoke method. ... Also if there are multiple clients subscribed for a event in the server. ...
    (microsoft.public.dotnet.framework.remoting)
  • SOAP applicable in this scenario ?
    ... The server collects UDP packets from somewhere else. ... clients must somehow get these packets from the server in real time. ...
    (comp.lang.java.programmer)