freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] new network timeout code
- Date: Mon, 8 Jan 2007 21:54:57 -0500
ZIGLIO, Frediano, VF-IT wrote:
> I see you call tds_select before write. Well... this was the way some
> months ago. I changed to call write before in an (paranoid) attempt to
> reduce system calls using operating system tcp buffers. The idea is to
> use always unblocking sockets and call select only when needed.
"Premature optimization is the root of all evil." I'm following Stevens's
example. When this settles down and we know cancel & timeout processing
works, we can look at optimizing reads & writes in the same way.
Whether we do or don't won't matter IMHO. Syscalls are very cheap
compared to network I/O, and the memory consumed is minimal. I doubt the
client will show any performance change.
--jkl
-
Re: [freetds] new network timeout code
, (continued)
-
Re: [freetds] new network timeout code,
James K. Lowden, 01/06/2007
-
Re: [freetds] new network timeout code,
Peter Deacon, 01/06/2007
-
Re: [freetds] new network timeout code,
James K. Lowden, 01/06/2007
-
Re: [freetds] new network timeout code,
Peter Deacon, 01/06/2007
- Re: [freetds] Terminology? new network timeout code, crawford charles, 01/08/2007
-
Re: [freetds] new network timeout code,
Peter Deacon, 01/06/2007
-
Re: [freetds] new network timeout code,
James K. Lowden, 01/06/2007
-
Re: [freetds] new network timeout code,
Peter Deacon, 01/06/2007
- Re: [freetds] new network timeout code, James K. Lowden, 01/06/2007
- Re: [freetds] new network timeout code, ZIGLIO, Frediano, VF-IT, 01/05/2007
-
Re: [freetds] new network timeout code,
ZIGLIO, Frediano, VF-IT, 01/08/2007
-
Re: [freetds] new network timeout code,
James K. Lowden, 01/08/2007
- Re: [freetds] new network timeout code, michael . peppler, 01/09/2007
- Re: [freetds] new network timeout code, James K. Lowden, 01/08/2007
- Re: [freetds] new network timeout code, James K. Lowden, 01/09/2007
-
Re: [freetds] new network timeout code,
James K. Lowden, 01/08/2007
- Re: [freetds] new network timeout code, ZIGLIO, Frediano, VF-IT, 01/08/2007
- Re: [freetds] new network timeout code, ZIGLIO, Frediano, VF-IT, 01/08/2007
- Re: [freetds] new network timeout code, Lowden, James K, 01/08/2007
-
Re: [freetds] new network timeout code,
ZIGLIO, Frediano, VF-IT, 01/09/2007
- Re: [freetds] new network timeout code, James K. Lowden, 01/15/2007
-
Re: [freetds] new network timeout code,
James K. Lowden, 01/06/2007
Archive powered by MHonArc 2.6.24.