> On 20 Dec 2005 16:21:42 -0800, merlyn@stonehenge.com (Randal L. Schwartz)
> said:
> Are you already using a reverse-proxy? Make sure the front lightweight
> servers *do* use cache and *don't* use keep-alive to the backend...
> your heavy backend will spit the entire response, and
I usually go for the easy way out: buy more machines!
- Original Message -
From: "Andreas J. Koenig" <[EMAIL PROTECTED]>
To: "Matt Sergeant" <[EMAIL PROTECTED]>
Cc: "Stas Bekman" <[EMAIL PROTECTED]>; "JT Smith" <[EMAIL PROTECTED]>;
Sent: Wednesday, December 21, 2005 6:25 AM
Subject: Re:
I think from a business perspective it's more on perceived value. If the
client does not care about the choice of language, or is more concerned
about being able to easily find freelance support, then Perl sounds like a
Bad Idea. Most business people know only about Java, .NET, and ASP.
But if the
Have you tried syswrite()? If I read the manual right, it returns undef if
the socket is broken.
- Original Message -
From: "Ivan Heffner" <[EMAIL PROTECTED]>
To: "David Nicol" <[EMAIL PROTECTED]>
Cc: ; "Foo Ji- [EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
Sent: Wednesday, December 21, 2005 3:4
===http.conf===
LoadModule perl_module modules/mod_perl.so
PerlRequire "/usr/local/perlmods/startfile.pl"
===startfile.pl===
use Compress::Zlib;
#!/usr/bin/perl
use Compress::Zlib;
.
print Compress::Zlib::memGzip($htmlstr);
or
#!/usr/bin/perl
...
print Compress::Zlib::memGzip($htmlstr);
===http.conf===
LoadModule perl_module modules/mod_perl.soPerlRequire
"/usr/local/perlmods/startfile.pl"
===startfile.pl===
use Compress::Zlib;
The two type of code will work.But what is the proper code?
#!/usr/bin/perl
use Compress::Zlib;
.
print Compress::Zlib::memGzip($htmlstr);
> "Andreas" == Andreas J Koenig <[EMAIL PROTECTED]> writes:
Andreas> I'd also like to hear what people are doing when the apache model has
Andreas> scaling problems. We have one problematic project here: we're a
Andreas> gateway and must server a high number of very slow customers to a high
An
Andreas J. Koenig wrote:
On Tue, 20 Dec 2005 14:42:12 -0800, Ken Simpson <[EMAIL PROTECTED]> said:
> [note: Subject changed from "go crazy with me" -- LoL]
>> I'd also like to hear what people are doing when the apache model has
>> scaling problems. We have one problematic project here:
> On Tue, 20 Dec 2005 14:42:12 -0800, Ken Simpson <[EMAIL PROTECTED]> said:
> [note: Subject changed from "go crazy with me" -- LoL]
>> I'd also like to hear what people are doing when the apache model has
>> scaling problems. We have one problematic project here: we're a
>> gateway and m
> On Tue, 20 Dec 2005 09:40:43 -0500, Matt Sergeant <[EMAIL PROTECTED]>
> said:
> I'm curious as to how you've mixed things up though - if the details
> aren't private IP I'd love to know more.
Me too:-)
I'd also like to hear what people are doing when the apache model has
scaling p
On Tue, 20 Dec 2005, Gordon Stewart wrote:
List
How do you unsubscribe from this list?
mailto:[EMAIL PROTECTED]
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your lif
List
How do you unsubscribe from this list?
Thanks
Gordon
the send method might return a failure code. The underlying
libraries usually return -1 on failures. I don't know exactly
what the $sock object is, so the following suggestions
are completely untested. I've been doing networking in C
recently and I'm checking for -1s all over the place.
-m
No error is thrown to trap. That's part of the problem. :-/
On 12/20/05, David Nicol <[EMAIL PROTECTED]> wrote:
> On 12/20/05, Ivan Heffner <[EMAIL PROTECTED]> wrote:
> > pache2::Connection object. It then reads a message from the
> > socket (this is working correctly) and then goes off and does
On 12/20/05, Ivan Heffner <[EMAIL PROTECTED]> wrote:
> pache2::Connection object. It then reads a message from the
> socket (this is working correctly) and then goes off and does some
> work. When the work is finished, the handler needs to make sure that
> the client is still listening on the oth
Title: RE: How do I check a socket to know it is not closed?
Ivan,
My thought is that this general type of problem is solved by defining a protocol for the conversation. If you want to know if your client is [still] listening, send a challenge that it must answer.
Christian Werner
-Or
On Tue, 20 Dec 2005, LUKE wrote:
How to setup httpd.conf ? when i using static (non-DSO) mod_perl.
DSO mod_perl httpd.conf ===
LoadModule perl_module modules/mod_perl.so
Don't need that... See httpd -l
PerlRequire "/usr/local/perlmods/startfile.pl"
IF this is mp2, use PerlPostCo
Thanks for everybody who has mailed me already :)
As suggested by you all, my location is NYC.
Thanks!
On Tue, 2005-12-20 at 12:19 -0500, Chris wrote:
> Hi all,
>
> I have been working with mod_perl for a while now and want to start
> expanding into doing mod_perl only contract work.
>
> What
I'm not sure I was clear enough with my original question, so I am
going to restate it.
I have a custom Apache Connection handler. It grabs the socket from
the Apache2::Connection object. It then reads a message from the
socket (this is working correctly) and then goes off and does some
work. W
I don't know what US rates are like but I'd suggest taking into account
these:
+ mod_perl is a rare skill in a world full of php 'coders'
+ mod_perl can bring commercial benefits (cheaper hardware, faster
sites etc)
- mod_perl is more expensive to maintain because it's harder to find
people wh
Hi all,
I have been working with mod_perl for a while now and want to start
expanding into doing mod_perl only contract work.
What is the going hourly rate for projects done in mod_perl? I know
rates are based on overhead, etc but just want to get a general idea of
what people pay.
Thanks!
On Tue, 20 Dec 2005 06:43:57 -0800 (PST)
jing han <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I meet a problem of "Can't locate object method
> 'dir_config' via package 'Apache2::SOAP'".
>
> I installed httpd-2.0.54-10.i386.rpm and
> mod_perl-2.0.0-0.rc5.3.i386.rpm with Fedora Core 4
> CDs. And then
Hello,
I meet a problem of "Can't locate object method
'dir_config' via package 'Apache2::SOAP'".
I installed httpd-2.0.54-10.i386.rpm and
mod_perl-2.0.0-0.rc5.3.i386.rpm with Fedora Core 4
CDs. And then I downloaded and installed
Apache-test-1.26.tar.gz and Apache2-SOAP-0.7.tar.gz.
I edited /e
On 19 Dec 2005, at 14:33, Stas Bekman wrote:
JT Smith wrote:
Yup, I've actually already done it that way with both
Parallel::ForkManager in one instance and Proc::Queue as an
alternative. I added in event handling with both Event and Event::Lib
as seperate trials. All those implementations we
On Tuesday 20 December 2005 01:17 am, LUKE wrote:
> Will i need recomplie apache when i modify my (perl)code , when using
> non-DSO mod_perl?
No. Static mod_perl simply means that the mod_perl module that runs your Perl
code is compiled in as part of Apache itself, rather than being a runtime
ex
25 matches
Mail list logo