nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] TCP vs. UDP


From: David Mentre
Subject: Re: [Nel] TCP vs. UDP
Date: 06 Jul 2001 09:54:59 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.4

Hi,

>From all other posters, it seems that performance result is highly
dependent on implementation. So to make the Really Good Choice(tm), you
should have both and choose according to *figures*. So I would do that
in the following order :
 
 1. design a "packet sending" layer which allows messages
    sending/receiving with semantics in mind (see Vincent's post in the
    same thread). Maybe NeL has already that, I haven't check the
    source, sorry.

 2. implement this layer using TCP. Should be straightforward.

   => gives you a backup implementation

   => gives you basic performance figures

 3. design and implement UDP implementation_s_ with various
    requirements depending on the following parameters:

     - packet loss or not

     - in order delivery or not

    You could start from the easiest (packet loss && out of order <=>
    raw UDP) and incrementally develop more complicated ones.

 4. substitute parts of TCP implementation (chat, position packets, ...)
    with the corresponding UDP based protocol

 5. implement a benchmark and test, test, test, ... ; then go to step 4
    and loop


Ok. I don't propose any line of code so you could directly throw this
post to /dev/null but you asked for comments. ;)

BTW, what is your Linux configuration? I've been stuck with the need to
reinstall everything (X, STLport, freetype) on my debian machine. So it
may be easier to install the Linux distribution your are using at Nevrax
on some spare partition to try to "enter the loop".

Best regards,
d.
-- 
 address@hidden
 Opinions expressed here are only mine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]