Re: How should I connect via DBD::Oracle to efficiently obtain 2000+ simultaneous connections?
- From: hjp@xxxxxxxxx (Peter J. Holzer)
- Date: Tue, 21 Nov 2006 11:11:16 +0100
On 2006-11-19 18:43:15 +1100, Ron Savage wrote:
On Sat, 18 Nov 2006 13:02:26 +1100, Chris wrote:
Doing some digging around, I discover that each Oracle connection
consumes 4megs of RAM when "doing nothing".
:-(.
Is that with or without MTS?
It would seem that I will definitely need some kind of connection
pooling - does anyone disagree ?
Lateral thinking would suggest a smarter database server :-).
MTS *is* designed to allow many concurrent connections to the database
with (relatively) little RAM usage. The arguments against MTS I've read
in the articles referenced in this thread were all along the lines of
"modern database servers have more than enough RAM, so MTS is obsolete".
(Probably not only because of increasing RAM sizes but also because
people are migrating from forms-based applications to web-based
applications, which can support many per DB connection).
I'm wondering about the design of the web application, though: 2000+
apache processes all pounding on the same database does sound a bit
strange. I suspect that there would be some optimization potential in
the web server configuration (I haven't seriously played with mod_perl2
yet, but I vaguely remember seeing parameters which might be helpful for
this. Reverse proxy has already been mentioned. Fastcgi might also be
a possible solution.)
hp
--
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@xxxxxxxxx | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users
Attachment:
pgpNfMynUFRIo.pgp
Description: PGP signature
- References:
- Prev by Date: Re: Out of memory during "large" request
- Next by Date: Re: Out of memory during "large" request
- Previous by thread: Re: How should I connect via DBD::Oracle to efficiently obtain 2000+ simultaneous connections?
- Next by thread: RE: How should I connect via DBD::Oracle to efficiently obtain 2000+ simultaneous connections?
- Index(es):
Relevant Pages
|