Date: Tue, 24 Feb 1998 22:09:12 +0100 (CET) From: Alfredo Herrera Hernandez <alf@narcisa.sax.de> To: freebsd-java@FreeBSD.ORG Subject: Re: Socket IO problems using Java Sockets on FreeBSD Message-ID: <199802242109.WAA00432@narcisa.sax.de> In-Reply-To: <Pine.BSF.3.95q.980223210235.3627A-100000@teel.info-noire.com> References: <34F1F777.BEC2F180@internetdevices.com> <Pine.BSF.3.95q.980223210235.3627A-100000@teel.info-noire.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Boisvert writes: > On Mon, 23 Feb 1998, Iyer Mahadevan wrote: > > I noticed some serious performance problems with Java Socket I/O. [...] > The second alternative (which I have never tried), is to use the > TCP_NODELAY option of sockets which completely disables the > fragmentation-reduction algorithm. Have a look at the SocketOptions class > in java.net.* This is a new feature implemented in JDK 1.1.x. I've been using TCP_NODELAY for a while and it works fine at least under Solaris, FreeBSD and Win/NT. I've found this alternative more elegant than having flush()'es all over the code. best wishes, Alfredo. -- _____________________________________________________________________ Alfredo Herrera Hernandez alf@narcisa.sax.de http://www.sax.de/~alf/ pgp key available fingering alf@sax.sax.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802242109.WAA00432>