Re: DBI Connectons accumulate under Mod_perl

2009-10-23 Thread William T
On Tue, Oct 20, 2009 at 9:59 AM, Artem Kuchin mat...@itlegion.ru wrote:

 however, whe i do in mysql

 show processlist;

 I see many connection hanging in sleep state and they grow and grow slowly!
 Any idea why this happens?

Could be many things.  Maybe multiple hits to different Apache
children are opening new DB connections before anyone of them finish.
If your experiencing slow page load as time goes on you may also have
table locking or row locking issues.

Or it could be that some code other than yours brings in Apache DBI.

I suggest turning on DBI debugging for a short while.

-wjt


Re: GnuPG module producing empty file

2009-10-23 Thread Laurent MARTIN
Has anyone on the list some experience with mod_perl and an  
alternative

to GnuPG module (which is simply a wrapper around pgp binary).


I use GnuPG::Interface, and it works fine.

Thank you! I'll try that.
Laurent.


RE: Why people not using mod_perl

2009-10-23 Thread Ihnen, David
My first response is, “What makes you think they don’t?”

But I must point out that at the scale that Amazon runs at, the technology used 
for front end web page rendering – as critical as it is – not what runs Amazon.

Can you run service calls to caches and systems from a mason-based mod_perl 
interface?

Load Amazon.com to find out.

Does that mean its running on mod_perl?

Debatable.

There are so many systems that are loosely coupled – they respond to, accept 
data from, and otherwise interact with the web site end of the system – but 
they’re java and c++ as well as perl – and THOSE – in my opinion at least – are 
‘what amazon runs on’.

And when you’re talking about what amazon runs on - these ‘back end’ type 
systems (those which are not specifically involved in the rendering of a page 
for display via http) mod_perl is of course *not* what they use, because – even 
if they ARE written in perl – they don’t work in that particular paradigm.

So is ‘what you run on’ defined by your web server page view controller 
software – or the software that actually runs the heart your business and 
processes?  Hmm.  Does Coca-Cola run on a factory, or on a delivery truck?

David

From: Brad Van Sickle [mailto:bvs7...@gmail.com]
Sent: Wednesday, September 16, 2009 3:32 PM
To: mod_perl list
Subject: Re: Why people not using mod_perl

But I'm very interested to know at what point (if any) a site/app grows too 
large or too complex for mod_perl and what defines that turning point.   Could 
Amazon run on mod_perl for example?