Re: is anybody using mp2 in production?

2003-06-10 Thread Sreeji K Das
...
...
 
 I'd be interested in what you thought of the switch
 after going live, we
 were never sure (but getting there now) if we should
 have started with MP2
 or not, never got a chance to see MP1 in action.
We have found MP1 to be stable. (We had a lot of
issues with PerlFreshRestart  I had to patch MP1 to
get around this issue. Otherwise there were no
problems)
I'm not very sure about MP2. We want to play around
with MP2 on development as much as possible before
going live.
I'm also worried about the differing opinion on
perl-ithreads (especially after reading
http://groups.google.com/groups?dq=hl=enlr=ie=UTF-8threadm=b7fpt9%24q9a%241%40agate.berkeley.eduprev=/groups%3Fdq%3D%26num%3D25%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.lang.perl.moderated%26start%3D25)

We plan to get mp2 working on development  test the
performance. Once we find it's stable on dev., it's
time to go live.

Sreeji

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html


Re: is anybody using mp2 in production?

2003-06-10 Thread Udlei Nattis
Hi,

sorry my english

i development one big ecommerce system in mp2 and i very happy

is fast and stable



Sreeji K Das wrote:

...
...
I'd be interested in what you thought of the switch
after going live, we
were never sure (but getting there now) if we should
have started with MP2
or not, never got a chance to see MP1 in action.
   

We have found MP1 to be stable. (We had a lot of
issues with PerlFreshRestart  I had to patch MP1 to
get around this issue. Otherwise there were no
problems)
I'm not very sure about MP2. We want to play around
with MP2 on development as much as possible before
going live.
I'm also worried about the differing opinion on
perl-ithreads (especially after reading
http://groups.google.com/groups?dq=hl=enlr=ie=UTF-8threadm=b7fpt9%24q9a%241%40agate.berkeley.eduprev=/groups%3Fdq%3D%26num%3D25%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.lang.perl.moderated%26start%3D25)
We plan to get mp2 working on development  test the
performance. Once we find it's stable on dev., it's
time to go live.
Sreeji

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
 





Re: is anybody using mp2 in production?

2003-06-10 Thread Stas Bekman
Sreeji K Das wrote:
That's cool  is yet another example of the power of
mod_perl. And you're right about the documentation. I
was blown away by the amount of docs. available at
perl.apache.org; thanks to all the hard work of Stas
Beckman !!
;)

We had been using mod_perl  had been having a very
stable site for quite a long time. 

Now we're planning to shift to mod_perl-2. I could get
everything compiled, but mp2 bombed while parsing our
config. files. I've reported this bug (search for
PerlSection + recurse/recursive) and hopefully some1
is working on it ;-) Anyway, I plan to spend my
weekends reading mod_perl code and see if I can fix
this issue.
Once Philippe releases mod_perl 1.28 he will get back to work on this issue. 
We had some discussion on this issue on the dev list. And Philippe has 
proposed several solutions to this problem. So 1.99_10 should have this fixed.

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: is anybody using mp2 in production?

2003-06-09 Thread Chris Faust
 (Btw, Chris, are you using the worker mpm ? Is it
 stable ? We'd like to go the worker mpm way  would
 like to know if any1 is using it yet in production.)


On our dev server yes, and all seems well - but we haven't rolled it out in
production yet. Its one of those things we want to do but keep getting side
tracked with something else.
Sooner then later we will be giving it a shot though.

I'd be interested in what you thought of the switch after going live, we
were never sure (but getting there now) if we should have started with MP2
or not, never got a chance to see MP1 in action.

-Chris





Re: is anybody using mp2 in production?

2003-06-09 Thread Beau E. Cox

- Original Message - 
From: Chris Faust [EMAIL PROTECTED]
To: Sreeji K Das [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:20 AM
Subject: Re: is anybody using mp2 in production?


  (Btw, Chris, are you using the worker mpm ? Is it
  stable ? We'd like to go the worker mpm way  would
  like to know if any1 is using it yet in production.)
 

 On our dev server yes, and all seems well - but we haven't rolled it out
in
 production yet. Its one of those things we want to do but keep getting
side
 tracked with something else.
 Sooner then later we will be giving it a shot though.

 I'd be interested in what you thought of the switch after going live, we
 were never sure (but getting there now) if we should have started with MP2
 or not, never got a chance to see MP1 in action.

 -Chris

Hi -

My low-volume personal site has been on Apache2-mp2-mason
since October 2002 - no problems (other than the ones I
caused).

In April I put one of my clients up with the same setup; another
in May. (I pried both away from M$ IIS!) Although both
are small company low-volume sites, they seem to be running
without problems - knock on wood.

All sites mentioned above are running SuSE 8.2 Linux.

Aloha = Beau;

By the way, have you ever tried to explain the idom
knock on wood to someone for whom English is not
their first language? I have been trying to explain it to my
wife - from Japan - for ten years now without success :)




Re: is anybody using mp2 in production?

2003-06-08 Thread Chris Faust
Our mod_perl success story.



As consultants we were hired to repair, revamp and rebuild a online
classifieds site in which a lot of cost and effort was placed in promoting
the site and generating traffic but the site itself was based on a 3rd party
product that simply could not handle the half million hits a day the site
was getting.



Without a lot of effort the decision was made to build a custom solution
from the ground up using Perl and Apache under Linux.

After completing the project and having some difficult issues with the
current ISP we moved the entire site to an ISP that we have had a long term
relationship with and who provides us with everything one would need to
properly maintain such a project.



Little did we know that the second we moved to our new ISP it was like
opening up the flood gates (long story relating to other ISP), overnight
this CGI driven site went from a half million hits a day to a million and
with it came a number of problems, a lot of which were unfixable without
adding more hardware - there was simply far too much traffic coming through
during the peak times of the day.



Having spent a week doing everything we could, optimizing everything
possible it was clear that at best, we may be able to gain enough to just
keep our heads above water.



Reluctantly we knew we had no choice but to give mod_perl a try, we really
didn't think it was going to make that much of a difference but every little
bit counted at this point.

We knew that it was going to be very difficult to setup apache and
especially convert our code over - I mean after all I've heard as many
stories of nightmare conversions as success stories.



After about the first week of pouring through the documentation and
experimenting on our development server, I realized HOW WRONG I WAS..



Once we understood what was expected, conversion of the current code was
less painful and a lot more interesting to do then some of the phone calls
or meetings that led up to getting the contract for the project itself J.



Once everything was done we could see instantly the improvement on our dev
server, what we didn't know nor what we were prepared for was what would
happen once this was running in production, I mean sure it was fast when
there is only 2 of us on the machine, so was the old site.



What we saw after going live was one of those moments when you are just
blown away, where you are sitting there saying I see it but I just don't
believe it.

At our best estimate we gained more then a 300% performance increase, during
peak hours we were seeing load times of 20 - 30, processing going defunct
etc. etc. prior to mod_perl.

Since the day we went live we haven't seen the machines even sweat, even the
DB machine was impacted by the change in a positive way.

We are currently up over 2 million hits a day, the 1 million hits gained
since going live with mod_perl has resulted in practically nothing
(everything is still saying Give me More!!!)



We'd like to think it was easy moving to mod_perl because we are such
awesome coders, but of course the truth is it's due to the awesome
documentation at http://perl.apache.org, the fantastic support of mod_perl
in all those perl modules we have all come to depend on, the invaluable
mailing lists and mailing list archives, and what I personally think is the
coolest thing of all, Stas Bekman who never left me or anyone else I've seen
on the mailing list hanging for any answer.



We have just completed a re-design of the site and have been up and running
under Apache 2 and mod_perl 2 for about 6 months now with as few problems as
anyone could ever hope to have.



Mod_perl is clearly the solution for high traffic sites, however because of
our experience with mod_perl we have since done everything in it, from the
simplest of form mailers to complex sites because in my eyes there is no
reason not to do things the best possible way the first time around!



Thanks to Everyone on the Mod_perl Team

Chris Faust

Developer of http://www.isoldmyhouse.com





- Original Message - 
From: Stas Bekman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 08, 2003 1:50 AM
Subject: is anybody using mp2 in production?


 I've heard that some people are already using mod_perl 2.0 in production.
It'd
 be interesting to hear mp2 both success and failure stories.

 p.s. mod_perl 1.99_09, which includes new features and lots of bug fixes,
 should be released as soon as the current cvs is stabilized. So testing
the
 current cvs and reporting any problems (especially build/test ones) would
be
 helpful to make the new release better. About the same time Apache::Test
 should be released on CPAN.

 __
 Stas BekmanJAm_pH -- Just Another mod_perl Hacker
 http://stason.org/ mod_perl Guide --- http://perl.apache.org
 mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
 http://modperlbook.org 

Re: is anybody using mp2 in production?

2003-06-08 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Faust wrote:

Our mod_perl success story.
Here's mine...

The company I work at makes network management appliances (with a web 
interface).  We were trying to figure out a good way to demo them 
without having to ship embedded PCs to everyone...

I went looking all over for good open-source filtering proxies that are 
easily configurable, and happened upon very little.  Then I remembered 
reading about apache2 and how you can now hook into every part of the 
request process now.

I grabbed mp2 and in the span of 4 hours (and having no previous 
experience with buckets and such) had prototyped a filtering proxy 
that is perfect for our needs.  I was able to set it up so that a 
virtual host can be mapped to an appliance behind the proxy and it 
automatically proxies all incoming connections to that appliance, *and* 
filters the returning data back out to the client.

It also lets us have live filters on anything coming back from the 
appliances, so we're able to make the appliances work just like they 
would out in the field, but still filter data to disallow doing things 
that could do damage to our internal test network for the appliances 
(like performing level 3 vulnerability scans and such).

Thanks, mod_perl!  grin

- -- 
Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
Standards are the industry's way of codifying obsolescence.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+46MAUu+jZtP2Zf4RAmbzAKCHyOog0l+0AFGFA1KzUn1ZsjcUhQCfa7qB
QI31bJNthwssxFC5eA34oXA=
=uPqa
-END PGP SIGNATURE-


Re: is anybody using mp2 in production?

2003-06-08 Thread Sreeji K Das
That's cool  is yet another example of the power of
mod_perl. And you're right about the documentation. I
was blown away by the amount of docs. available at
perl.apache.org; thanks to all the hard work of Stas
Beckman !!

We had been using mod_perl  had been having a very
stable site for quite a long time. 

Now we're planning to shift to mod_perl-2. I could get
everything compiled, but mp2 bombed while parsing our
config. files. I've reported this bug (search for
PerlSection + recurse/recursive) and hopefully some1
is working on it ;-) Anyway, I plan to spend my
weekends reading mod_perl code and see if I can fix
this issue.

Once the above issue is fixed, we'd be able to move on
to the next level of testing  report any further
issues.

(Btw, Chris, are you using the worker mpm ? Is it
stable ? We'd like to go the worker mpm way  would
like to know if any1 is using it yet in production.)

thx
Sreeji

 --- Chris Faust [EMAIL PROTECTED] wrote:  Our
mod_perl success story.
 
 
 
 As consultants we were hired to repair, revamp and
 rebuild a online
 classifieds site in which a lot of cost and effort
 was placed in promoting
 the site and generating traffic but the site itself
 was based on a 3rd party
 product that simply could not handle the half
 million hits a day the site
 was getting.
 
 
 
 Without a lot of effort the decision was made to
 build a custom solution
 from the ground up using Perl and Apache under
 Linux.
 
 After completing the project and having some
 difficult issues with the
 current ISP we moved the entire site to an ISP that
 we have had a long term
 relationship with and who provides us with
 everything one would need to
 properly maintain such a project.
 
 
 
 Little did we know that the second we moved to our
 new ISP it was like
 opening up the flood gates (long story relating to
 other ISP), overnight
 this CGI driven site went from a half million hits a
 day to a million and
 with it came a number of problems, a lot of which
 were unfixable without
 adding more hardware - there was simply far too much
 traffic coming through
 during the peak times of the day.
 
 
 
 Having spent a week doing everything we could,
 optimizing everything
 possible it was clear that at best, we may be able
 to gain enough to just
 keep our heads above water.
 
 
 
 Reluctantly we knew we had no choice but to give
 mod_perl a try, we really
 didn't think it was going to make that much of a
 difference but every little
 bit counted at this point.
 
 We knew that it was going to be very difficult to
 setup apache and
 especially convert our code over - I mean after all
 I've heard as many
 stories of nightmare conversions as success stories.
 
 
 
 After about the first week of pouring through the
 documentation and
 experimenting on our development server, I realized
 HOW WRONG I WAS..
 
 
 
 Once we understood what was expected, conversion of
 the current code was
 less painful and a lot more interesting to do then
 some of the phone calls
 or meetings that led up to getting the contract for
 the project itself J.
 
 
 
 Once everything was done we could see instantly the
 improvement on our dev
 server, what we didn't know nor what we were
 prepared for was what would
 happen once this was running in production, I mean
 sure it was fast when
 there is only 2 of us on the machine, so was the old
 site.
 
 
 
 What we saw after going live was one of those
 moments when you are just
 blown away, where you are sitting there saying I
 see it but I just don't
 believe it.
 
 At our best estimate we gained more then a 300%
 performance increase, during
 peak hours we were seeing load times of 20 - 30,
 processing going defunct
 etc. etc. prior to mod_perl.
 
 Since the day we went live we haven't seen the
 machines even sweat, even the
 DB machine was impacted by the change in a positive
 way.
 
 We are currently up over 2 million hits a day, the 1
 million hits gained
 since going live with mod_perl has resulted in
 practically nothing
 (everything is still saying Give me More!!!)
 
 
 
 We'd like to think it was easy moving to mod_perl
 because we are such
 awesome coders, but of course the truth is it's due
 to the awesome
 documentation at http://perl.apache.org, the
 fantastic support of mod_perl
 in all those perl modules we have all come to depend
 on, the invaluable
 mailing lists and mailing list archives, and what I
 personally think is the
 coolest thing of all, Stas Bekman who never left me
 or anyone else I've seen
 on the mailing list hanging for any answer.
 
 
 
 We have just completed a re-design of the site and
 have been up and running
 under Apache 2 and mod_perl 2 for about 6 months now
 with as few problems as
 anyone could ever hope to have.
 
 
 
 Mod_perl is clearly the solution for high traffic
 sites, however because of
 our experience with mod_perl we have since done
 everything in it, from the
 simplest of form mailers to complex sites because in
 my eyes there is no
 reason