Re: clusters

2006-05-09 Thread Frank Wiles
On Tue, 9 May 2006 13:45:57 -0400 "Kevin A. McGrail" <[EMAIL PROTECTED]> wrote: > Taking this another step further, I don't get the impression that > perlbal or pound will achieve the "temporary" caching on the > middle-proxy server allowing the back-end server to get back to other > requests. >

Re: clusters

2006-05-09 Thread Len Kranendonk
And also this: "NDB is an in-memory storage engine" No longer true: As of MySQL 5.1.6 it's possible to store tables on disk rather than in memory. See http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-disk-data.html But, I wouldn't recommend using MySQL cluster to power your high traffic we

Re: Dealing with malformed cookies

2006-05-09 Thread Philip M. Gollucci
The issue that i've come up with, is that some malformed cookies will cause a segault when parsed. I'm hoping that the next libapreq will fix that. I remeber joes doing something about this. I'll have to go read it. --

Re: clusters

2006-05-09 Thread Jonathan Vanasco
Chiming in on everything thats been said: Proxy You can also use lighttpd for proxying. I do and find it works well http://lighttpd.org Cluster DB Postgresql has slony for replication http://gborg.postgresql.org/project/slony1/projdisplay.php Ses

Re: Dealing with malformed cookies

2006-05-09 Thread Jonathan Vanasco
On May 9, 2006, at 5:30 AM, Kjetil Kjernsmo wrote: First of all, is it the intended behavior that libapreq2 should die under these circumstances? yes. If yes, are we supposed to deal with this by putting each read of a cookie in an eval block? yes. Both are in the docs. I had no idea eith

Re: clusters

2006-05-09 Thread Perrin Harkins
On Tue, 2006-05-09 at 17:51 +, E.Q. McGoon wrote: > Now I'm starting to see where my mental blocks are. I've always > operated under the notion that sessions are best left to the operating > system on each node, so to speak, in an effort to reduce db traffic. Once you have a cluster, sessions

Re: clusters

2006-05-09 Thread E.Q. McGoon
Perrin Harkins wrote: > On Tue, 2006-05-09 at 17:12 +, E.Q. McGoon wrote: > > Certainly, but I'm struggling with the "big picture" so to speak. > > How to plan a session handling strategy that will grow with the > > application as more hardware is added to accommodate growing usage. > > Why i

Re: clusters

2006-05-09 Thread Harmen
On Tue, May 09, 2006 at 01:45:57PM -0400, Kevin A. McGrail wrote: > Taking this another step further, I don't get the impression that perlbal or > pound will achieve the "temporary" caching on the middle-proxy server > allowing the back-end server to get back to other requests. > > Anyone know for

Re: clusters

2006-05-09 Thread Kevin A. McGrail
Taking this another step further, I don't get the impression that perlbal or pound will achieve the "temporary" caching on the middle-proxy server allowing the back-end server to get back to other requests. Anyone know for sure? Sincerely, KAM > On Tue, 2006-05-09 at 13:24 -0400, Kevin A. McGrai

Re: clusters

2006-05-09 Thread Perrin Harkins
On Tue, 2006-05-09 at 17:12 +, E.Q. McGoon wrote: > Certainly, but I'm struggling with the "big picture" so to speak. How > to plan a session handling strategy that will grow with the application > as more hardware is added to accommodate growing usage. Why is this any different from your gene

Re: clusters

2006-05-09 Thread Perrin Harkins
On Tue, 2006-05-09 at 13:24 -0400, Kevin A. McGrail wrote: > My understand is that some people do caching on B simply to let A spit out > all the data and let B handle the connection for as long as it takes to > perform the transfer. That's right. It's very useful for images and multimedia files

Re: clusters

2006-05-09 Thread Kevin A. McGrail
> As a caveat to the E-mails about caching pages using a proxy, the usefulness > of such depends on how much traffic your site will see to static pages. In My understanding doesn't agree with this. The point about caching also deals with dynamic one time through away pages in a scenario as descri

Re: clusters

2006-05-09 Thread Harmen
On Tue, May 09, 2006 at 12:51:17PM -0400, Perrin Harkins wrote: > On Tue, 2006-05-09 at 18:41 +0200, Harmen wrote: > > It _is_ stored on disk, save for powerfailures, but all the data needs to > > fit in ram. So it's limited to the amount of ram you can give mysql. > > It is on disk? This quote f

Re: clusters

2006-05-09 Thread E.Q. McGoon
JupiterHost.Net wrote: > > > E.Q. McGoon wrote: > > Perrin Harkins wrote: > > > > > > > > > Tons of them. Practically any doc about clustering will apply. I > > > wrote one ages ago about one mod_perl site I worked at: > > > http://perl.apache.org/docs/tutorials/apps/scale_etoys/etoys.html

Re: clusters

2006-05-09 Thread Perrin Harkins
On Tue, 2006-05-09 at 18:41 +0200, Harmen wrote: > It _is_ stored on disk, save for powerfailures, but all the data needs to > fit in ram. So it's limited to the amount of ram you can give mysql. It is on disk? This quote from the manual led me to think it wasn't: "MySQL Cluster does not support

Re: clusters

2006-05-09 Thread Harmen
On Tue, May 09, 2006 at 12:32:41PM -0400, Perrin Harkins wrote: > On Tue, 2006-05-09 at 11:28 -0500, Jeremy Brooks wrote: > > There's also clustering in MySQL 5 that looks very enticing to me as an > > additional layer or scale out and redundancy. It's not your typical > > master/slave scenario an

RE: clusters

2006-05-09 Thread Jeremy Brooks
It certainly is less appealing after reading that. I've only read a limited amount about how it functions. Thank you for pointing that out Perrin. -Jeremy > -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 09, 2006 11:33 AM > To: Jeremy Brooks >

RE: clusters

2006-05-09 Thread Perrin Harkins
On Tue, 2006-05-09 at 11:28 -0500, Jeremy Brooks wrote: > There's also clustering in MySQL 5 that looks very enticing to me as an > additional layer or scale out and redundancy. It's not your typical > master/slave scenario and actaully allows for real load balancing and > failover. It's a pretty

RE: clusters

2006-05-09 Thread Jeremy Brooks
There's also clustering in MySQL 5 that looks very enticing to me as an additional layer or scale out and redundancy. It's not your typical master/slave scenario and actaully allows for real load balancing and failover. > -Original Message- > From: Jeremy Brooks [mailto:[EMAIL PROTECTED]

RE: clusters

2006-05-09 Thread Jeremy Brooks
As a caveat to the E-mails about caching pages using a proxy, the usefulness of such depends on how much traffic your site will see to static pages. In our situation, the only static pages are our "contact us" page, "privacy policy" ,etc. Those pages don't get enough traffic to justify the mainte

Re: clusters

2006-05-09 Thread Perrin Harkins
On Tue, 2006-05-09 at 14:00 +, E.Q. McGoon wrote: > Can you elaborate further on your session management strategy in the > article? We used a lightly hacked Apache::Session, storing data in Oracle. We used mod_unique_id to generate IDs. We sent the IDs in cookies, along with a simple authent

RE: clusters

2006-05-09 Thread Jeremy Brooks
We use Ultra Monkey (IPVS) to cluster our E-com site with commodity hardware. Your application needs to cache sessions in a common database table in order to make session work consistantly. > -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 09, 2

RE: Dealing with malformed cookies

2006-05-09 Thread Vincent Moneymaker
Kjetil Kjernsmo wrote: We have seen a problem with server errors when getting malformed cookies. The problem has been seen before, we found from googling [1], but it is not clear how we should address this. We are not quite positive about the source of the malformed cookies, (it may have been on

Re: clusters

2006-05-09 Thread David Nicol
On 5/9/06, Harmen <[EMAIL PROTECTED]> wrote: On Tue, May 09, 2006 at 04:47:14PM +0800, Ken Perl wrote: > Is it possible to make a modperl application to run in cluster? if > yes, how to do that? any doc? Take a few mod_perl servers and put one pound (http://www.apsis.ch/pound/) reverse proxy in

Re: clusters

2006-05-09 Thread JupiterHost.Net
E.Q. McGoon wrote: Perrin Harkins wrote: Tons of them. Practically any doc about clustering will apply. I wrote one ages ago about one mod_perl site I worked at: http://perl.apache.org/docs/tutorials/apps/scale_etoys/etoys.html Is there some specific part you're having trouble getting yo

Re: clusters

2006-05-09 Thread E.Q. McGoon
Perrin Harkins wrote: > Tons of them. Practically any doc about clustering will apply. I > wrote one ages ago about one mod_perl site I worked at: > http://perl.apache.org/docs/tutorials/apps/scale_etoys/etoys.html > > Is there some specific part you're having trouble getting your head > arou

Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)

2006-05-09 Thread Malcolm J Harwood
On Thursday 04 May 2006 06:37 am, Lionel MARTIN wrote: > I'm sorry, but I may have misled you: I "said" script, but I'm not talking > about CGI scripts here. > > In fact, even when puttting my "warn $msg;" in a custom MP handler, the > message doesn't go to the error log. > > So, I'd like to under

Re: clusters

2006-05-09 Thread Kevin A. McGrail
I'm intrigued by Pound as I've never heard of it. I have been looking heavily at using Apache 2.2 for this same purpose but pound seems elegantly simple in it's approach. The only drawback I can see is that the lack of caching will cause dial-up users to stay connected to the backend servers long

Re: clusters

2006-05-09 Thread Perrin Harkins
Ken Perl wrote: Is it possible to make a modperl application to run in cluster? Of course. if yes, how to do that? The same as any other web system -- multiple machines, a load balancer, shared data on a database or other system. any doc? Tons of them. Practically any doc about clust

Re: clusters

2006-05-09 Thread Harmen
On Tue, May 09, 2006 at 05:49:43PM +0800, Ken Perl wrote: > Do you mean that the pound work great with apache 2.0 and apache 1.3 both? It doesn't matter. The clients talk to the pound server. Pound proxies every request to a backend webserver (mod_perl1, mod_perl2, plain apache, mod_ruby, whatever

Re: clusters

2006-05-09 Thread Ken Perl
Do you mean that the pound work great with apache 2.0 and apache 1.3 both? On 5/9/06, Harmen <[EMAIL PROTECTED]> wrote: On Tue, May 09, 2006 at 04:47:14PM +0800, Ken Perl wrote: > Is it possible to make a modperl application to run in cluster? if > yes, how to do that? any doc? Take a few mod_p

Dealing with malformed cookies

2006-05-09 Thread Kjetil Kjernsmo
Hi all! We have seen a problem with server errors when getting malformed cookies. The problem has been seen before, we found from googling [1], but it is not clear how we should address this. We are not quite positive about the source of the malformed cookies, (it may have been only test code,

Re: clusters

2006-05-09 Thread Harmen
On Tue, May 09, 2006 at 04:47:14PM +0800, Ken Perl wrote: > Is it possible to make a modperl application to run in cluster? if > yes, how to do that? any doc? Take a few mod_perl servers and put one pound (http://www.apsis.ch/poung/) reverse proxy in front of them. Works great. --

clusters

2006-05-09 Thread Ken Perl
Is it possible to make a modperl application to run in cluster? if yes, how to do that? any doc? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E

Apache::FileManager

2006-05-09 Thread Octavian Rasnita
Hi, Is there a way of using Apache::FileManager under mod_perl 2? Or is there another perl module which does the same thing under mod_perl 2? Thank you. Teddy