Re: TDsPool

"ZIGLIO, Frediano, VF-IT" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> 
> Federico Alves wrote:
> > Any chance we could update tdspool? 
> 
> I myself have no intention on working on tdspool.  Patches 
> are of course
> welcome!  
> 

I can confirm, personally I have very few time to improve it.
However to solve the problem personally I would work on odbc pooling.
The reasons are
- you are using odbc
- it's easier to implement cause 
 - you have just to reset connection, put in the pool and retrieve on a
new connection
 - you have the clear password to check (tdspool require network parsing
which is difficult using ntlm or kerberos)
- it's faster (you don't need an extra process which add latency)
The only problem I see is that odbc pooling work on a single process,
but with current multi-thread applications it's not a big problem. It
could be fixed duplicating file descriptors across processed but I don't
know a way to do it under *nix.

freddy77
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.