Re: pooled connection myth
From: David McDivitt (x12code-del_at_del-yahoo.com)
Date: 03/17/05
- Next message: Richard Wheeldon: "Re: Embedded Database for Java Desktop"
- Previous message: David McDivitt: "Re: pooled connection myth"
- In reply to: Lee Fesperman: "Re: pooled connection myth"
- Next in thread: Lee Fesperman: "Re: pooled connection myth"
- Reply: Lee Fesperman: "Re: pooled connection myth"
- Reply: Chris Smith: "Re: pooled connection myth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Mar 2005 16:59:27 -0600
>From: Lee Fesperman <firstsql@ix.netcom.com>
>Subject: Re: pooled connection myth
>Date: Thu, 17 Mar 2005 22:31:32 GMT
>
>Thanks for responding (and for inline posting). I don't know the connection manager that
>you are using. Note: ConnectionManager is a specific facility in JCA; this is probably
>not the JCA one. The one you're using may be a poor facility, however you also made
>assertions about connection pooling in general which aren't valid.
>
>I think I did list the major benefits of connection pooling. The one I missed was
>reduced resource requirements and better control of such by the containing software (for
>one thing, it gives the container the ability to say: you can't have another connection
>at this time.) If those are not of interest to you, fine, though tighter control of
>resources is quite important to many containers. For instance, JCA gives the container
>control over the use of threads by connectors.
>
>As to shared connections, I see that to be of very limited use. I made comments on that
>in the other sub-thread and would be interested in your counter. If you also look at the
>thread on comp.lang.databases (I'll get the title if you wish), you will see arguments
>why a server would not want to increase that capability.
Yes, please give me something for a text search in that newsgroup. I do not
download it so should start.
If a database driver will handle multiple threads on one connection, even if
serialized, that is by far the best scenario. The connection manager I made
makes my application incredibly fast. All it does is return the same three
connections round robin. I had ten people hit it as fast as they could, over
and over, at the same time for a test. No one has said what is actually
"pooled" in connection pooling. It is a myth. When closed the connections go
away. If their number increases and decreases dynamically, that means they
are being opened and closed. Realize that each open is a separate login to
the database server requiring user name and password. There is no possible
way you can show that to be more efficient than sharing a few connections
and never closing them. Limited functionality is given to a caller, yes, but
the only limitation is trans blocks. For those a standalone can be obtained.
- Next message: Richard Wheeldon: "Re: Embedded Database for Java Desktop"
- Previous message: David McDivitt: "Re: pooled connection myth"
- In reply to: Lee Fesperman: "Re: pooled connection myth"
- Next in thread: Lee Fesperman: "Re: pooled connection myth"
- Reply: Lee Fesperman: "Re: pooled connection myth"
- Reply: Chris Smith: "Re: pooled connection myth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|