Re: Amazon

2008-02-22 Thread John ORourke
Jie Gao wrote: and quirks of virtualisation, performance is actually weird (a new way of describing performance). I tend to achieve an average 0.6 wierds, although in the summer it can reach 0.72 wierds. John

Re: Amazon

2008-02-22 Thread Jie Gao
On Fri, 22 Feb 2008, c chan wrote: > Date: Fri, 22 Feb 2008 23:21:34 -0800 (GMT-08:00) > From: c chan <[EMAIL PROTECTED]> > To: Jonathan Vanasco <[EMAIL PROTECTED]>, > modperl > Subject: Re: Amazon > > Hi there, > > I normally don't borge into a thread like this since I am not an active u

Re: Amazon

2008-02-22 Thread Jie Gao
On Sat, 23 Feb 2008, Foo JH wrote: > Can be anything really, though I admit I'm not in the know. Sometimes > it's simply a business decision: perhaps moving development off-shore to > companies that are full of Java/ .NET people? Can't find enough > competent mp developers? It is certainly har

Re: Amazon

2008-02-22 Thread c chan
Hi there, I normally don't borge into a thread like this since I am not an active user of mod_perl. But have you noticed how cheap memory is these days? You can set up a dual 64 bit processers server with 4Gig bytes of memory and set up 10 VM on the same machine. It is extremely fast and eff

Re: Amazon

2008-02-22 Thread Michael Lackhoff
On 23.02.2008 02:59 Jonathan Vanasco wrote: I've heard from a few reputable sources that Amazon is looking to drop mod_perl, and push into another technology ( which I've also head is likely to be Java ). They have a HUGE deployment on mp, and have been my prime "Um, not enterprise? Hell

Re: Amazon

2008-02-22 Thread Foo JH
Can be anything really, though I admit I'm not in the know. Sometimes it's simply a business decision: perhaps moving development off-shore to companies that are full of Java/ .NET people? Can't find enough competent mp developers? Jonathan Vanasco wrote: I've heard from a few reputable source

Re: apache process size

2008-02-22 Thread Colin Wetherbee
John ORourke wrote: Might be showing off my lack of unix admin knowledge here but using 'top', it's the value of the 'virt' column - ie. the biggest possible process size if the whole thing was resident. I've been using it to work out how many clients I should limit apache to, but looking at i

Re: Amazon

2008-02-22 Thread David Scott
Doesn't sound right to me that they would jettison the existing deployment unless it was really dysfunctional, which doesn't seem to be the case...I'm curious what the real story is. d Jonathan Vanasco wrote: I've heard from a few reputable sources that Amazon is looking to drop mod_perl, and

Amazon

2008-02-22 Thread Jonathan Vanasco
I've heard from a few reputable sources that Amazon is looking to drop mod_perl, and push into another technology ( which I've also head is likely to be Java ). They have a HUGE deployment on mp, and have been my prime "Um, not enterprise? Hello, AMAZON." repsonse. I know that people 'i

Re: A question about wiring up filehandles for direct dump to HTTP pipe

2008-02-22 Thread Victor Danilchenko
This solution ended up being perfect, and SIMPLE. I just had to sprinkle a little Mime::FileInfo::Magic over the request, to get the content-type to work right, and POOF! it worked. Just like that. My entire wrapper code (without the accounting, ACL, and somesuch stuff) is under 10 lines, and

Re: apache process size

2008-02-22 Thread John ORourke
Roberto C. Sánchez wrote: On Fri, Feb 22, 2008 at 09:52:30AM +, John ORourke wrote: Mine start at around 60MB, jump to 80MB when my app is initialised, and can peak at 120MB during their lifetime. For reference I tried making the tiniest possible one with everything stripped out, and th

Re: apache process size

2008-02-22 Thread Clinton Gormley
On Fri, 2008-02-22 at 09:52 +, John ORourke wrote: > Hi folks, > > I'm trying to make my apache processes as small as possible, and one > thing I find lacking in optimisation guides is actual real world process > sizes. > > So... how big is yours? ;) I'm running on 32-bit linux 2.6, using

Re: A question about wiring up filehandles for direct dump to HTTP pipe

2008-02-22 Thread Victor Danilchenko
Torsten Foertsch wrote: On Fri 22 Feb 2008, Victor Danilchenko wrote: or to grab a given file from disk? Perhaps $r->sendfile($filename)? Defined in Apache2::RequestIO. There is precious little documentation on it, so I will have to experiment with it a little, but this sounds like it migh

Re: A question about wiring up filehandles for direct dump to HTTP pipe

2008-02-22 Thread Victor Danilchenko
Michael Peters wrote: Victor Danilchenko wrote: Is there any way, to, uhhh, tell Apache programatically to simply slurp up the file from an open filehandle I could be wrong, but I doubt you can pass a Perl file handle to a C program that is not Perl aware (like Apache). I am hoping you

Re: A question about wiring up filehandles for direct dump to HTTP pipe

2008-02-22 Thread Torsten Foertsch
On Fri 22 Feb 2008, Victor Danilchenko wrote: > or to grab a given file from disk? Perhaps $r->sendfile($filename)? Defined in Apache2::RequestIO. Torsten

Re: A question about wiring up filehandles for direct dump to HTTP pipe

2008-02-22 Thread Michael Peters
Victor Danilchenko wrote: > Is there any way, to, uhhh, tell Apache programatically to simply > slurp up the file from an open filehandle I could be wrong, but I doubt you can pass a Perl file handle to a C program that is not Perl aware (like Apache). > or to grab a given file from > disk?

A question about wiring up filehandles for direct dump to HTTP pipe

2008-02-22 Thread Victor Danilchenko
Is it possible? Hi all, Here is my situation. I would like a mod-perl script (a Mason script actually, but from the mod_perl API POV it's the same thing) to act as a gatekeeper for file access -- regulate access by application-specific ACLs, do the accounting on download stat

Re: apache process size

2008-02-22 Thread Roberto C . Sánchez
On Fri, Feb 22, 2008 at 09:52:30AM +, John ORourke wrote: > Hi folks, > > I'm trying to make my apache processes as small as possible, and one > thing I find lacking in optimisation guides is actual real world process > sizes. > > So... how big is yours? ;) > > Mine start at around 60MB, j

apache process size

2008-02-22 Thread John ORourke
Hi folks, I'm trying to make my apache processes as small as possible, and one thing I find lacking in optimisation guides is actual real world process sizes. So... how big is yours? ;) Mine start at around 60MB, jump to 80MB when my app is initialised, and can peak at 120MB during their li