Subject | Re: [IBO] Does IBO have connection pooling? |
---|---|
Author | Jason Wharton |
Post date | 2002-09-26T01:08:19Z |
I can't think of a circumstance where a connection pool would be useful that
threads aren't used. I designed it with threads in mind. Is all it does is
go into a global pool of handles that is gated to be thread safe. Not a bit
of rocket science needed here.
I'd appreciate it if you would just use it and report your results so that
we've got something to go on here. If there is a problem, then we can work
on that. I designed to to be braindead simple to use. Perhaps that is what
has you nervous?
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
threads aren't used. I designed it with threads in mind. Is all it does is
go into a global pool of handles that is gated to be thread safe. Not a bit
of rocket science needed here.
I'd appreciate it if you would just use it and report your results so that
we've got something to go on here. If there is a problem, then we can work
on that. I designed to to be braindead simple to use. Perhaps that is what
has you nervous?
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "mp527" <mp527@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, September 25, 2002 12:42 PM
Subject: Re: [IBO] Does IBO have connection pooling?
> Ok,
> but if I create instance of a connection in a thread, for instance
> in a INDY TCP/IP server running as a NT service, where does the
> disconnect to pool go?
> It does not sound like this will work in a thread.
>
> I did look this up in the help file but the docs are sparse at best
> on disconnecttopool.
>
> Thanks,
>
> Tony Caduto
>
>
>
> --- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > It's all built in. Just Connect normally.
> > Just remember to call DisconnectToPool and be aware of the need to
> flush
> > handles out of the pool if necessary. Can't remember the method I
> provided
> > for that. I don't remember things I can easily look up.
> >
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
> >
> > -- We may not have it all together --
> > -- But together we have it all --