[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster-devel] UDP messages
On Fri, 6 Aug 2004, Michal Masa wrote:
> > Isn't it a problem in terms of reliability of delivery of the messages by
> > using UDP?
>
> Yes, you are right. We want to use UDP only for some specific messages where
> losses can be tolerated.
> I was thinking about new SOCKETUDP protocol that would extend the original
> SOCKET.
> In sendUpdate method, it would search the message qos for <clientProperty
> name='udp' type='boolean'>true</clientProperty>.
> Such messages would be transmitted via UDP. It should also listen for UDP
> messages.
> Any other ideas that would better conform to the whole system concept?
How much performance gain do you expect?
I mean is it worth using UDP in opposition to TCP?
I've no idea how much the latency should decrease by just using UDP
instead of TCP.
I'm not quite sure, but shouldn't it be possible to just replace the
TCP-specific part in the SOCKET implementation by some UDP related code?
cheers
Heinrich
>
> Regards,
> Michal
>
> ----- Original Message -----
> From: "Heinrich Götzger" <Heinrich.Goetzger at exploding-systems.de>
> To: <xmlblaster-devel at server.xmlblaster.org>
> Sent: Friday, August 06, 2004 10:04 AM
> Subject: Re: [xmlblaster-devel] UDP messages
>
>
> > On Fri, 6 Aug 2004, Marcel Ruff wrote:
> >
> > > Michal Masa wrote:
> > > > Has anybody written a piece of code for transporting messages using
> UDP/IP?
> > > > (TCP socket:// is fine, but we would like something faster with lower
> > > > latency).
> > >
> > > Not that i know off,
> >
> > Isn't it a problem in terms of reliability of delivery of the messages by
> > using UDP?
> >
> > cheers
> >
> > Heinrich
> >
> > >
> > > regards
> > >
> > > Marcel
> > > >
> > > > Regards,
> > > > Michal
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > http://www.xmlBlaster.org