Events between machines
From: Magne Ryholt (magne.ryholt_at_bluezone.no)
Date: 12/18/04
- Next message: Ingo Rammer: "Re: Events between machines"
- Previous message: Klaus Holster: "Re: static/shared variables and single call SAO's"
- Next in thread: Ingo Rammer: "Re: Events between machines"
- Reply: Ingo Rammer: "Re: Events between machines"
- Messages sorted by: [ date ] [ thread ]
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 ?
- Next message: Ingo Rammer: "Re: Events between machines"
- Previous message: Klaus Holster: "Re: static/shared variables and single call SAO's"
- Next in thread: Ingo Rammer: "Re: Events between machines"
- Reply: Ingo Rammer: "Re: Events between machines"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|