/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-11 / Pound and Apache's mod_status

[ << ] [ >> ]

[ Problems with 2.1.6 / "Steve Otto" ... ] [ Mongrel vs. FastCGI / Chris Hobbs ... ]

Pound and Apache's mod_status
"Igor Stirbu" <igor.stirbu(at)gmail.com>
2006-11-13 16:19:52 [ FULL ]
Hello,

I've become recently interested in load balancing solution for
web servers. It looks like Pound performs quite well in this
domain. I am aware that it's possible to configure the load
ratio for every back-end server.

Did you consider to use the servers' information provided by
apache's mod_status in oder to dynamically calculate the ratios?

Is it reasonable to implement such a feature for Pound?

Thanks,
Igor Stirbu
[...]

Re: [Pound Mailing List] Pound and Apache's mod_status
Robert Segall <roseg(at)apsis.ch>
2006-11-13 18:51:15 [ FULL ]
On Mon, 2006-11-13 at 17:19 +0200, Igor Stirbu wrote:[...]

Not really. That would be Apache-specific and not work on any other
server.
[...]

Probably not, unless you can come up with a generic mechanism that works
with most servers.[...]

Re: [Pound Mailing List] Pound and Apache's mod_status
"Igor Stirbu" <igor.stirbu(at)gmail.com>
2006-11-13 19:05:10 [ FULL ]
Hello

On 11/13/06, Robert Segall <roseg(at)apsis.ch> wrote:[...]

I know it's Apache-specific, but considering how many apaches are
controlled by Pound, it wouldn't be such a a bad thing, though it is
always possible to make it a compiler option.
[...]

It's obvious that it should be created a generic mechanism for supporting
serverla types of statuses. The one that I've mentioned is from apache's
mod_status. There are other application like Mongrel or IIS that may have
or may implement status features for feedback. A more precise question
is: do you think that adding a feedback control feature to Pound would improve
it's functionality?

Thanks,
Igor Stirbu
[...]

Re: [Pound Mailing List] Pound and Apache's mod_status
"Diego Oberlin" <d.oberlin(at)gmail.com>
2006-11-14 11:49:51 [ FULL ]
would be a nice feature.
I agree that it would be Apache-specific, but what if functionality could be
added as plugins... and pound only receives generic statuses from its
plugins?

dober.



On 11/13/06, Igor Stirbu <igor.stirbu(at)gmail.com> wrote:[...]
Attachments:  
text.html text/html 2151 Bytes

Re: [Pound Mailing List] Pound and Apache's mod_status
Stefan Lambrev <stefan.lambrev(at)sun-fish.com>
2006-11-16 09:40:51 [ FULL ]
Hello,

Diego Oberlin wrote:[...]
And support for plugins, and them something else .. where goes the moto
"keep it simple" ? :))
We will finish with balancer that is more heavy then the web server.

I think it's enough if you can change priority without restarting pound 
(via poundctl),
then everybody can implement it's own solution that works perfect for 
him, using third party software.[...][...][...]
[...]

Re: [Pound Mailing List] Pound and Apache's mod_status
"Diego Oberlin" <d.oberlin(at)gmail.com>
2006-11-16 12:49:38 [ FULL ]
Stefan:
You are right.
It works fine, it's simple and lightweight.
It should be kept that way.



On 11/16/06, Stefan Lambrev <stefan.lambrev(at)sun-fish.com> wrote:[...]
Attachments:  
text.html text/html 3825 Bytes

Re: [Pound Mailing List] Pound and Apache's mod_status
"Igor Stirbu" <igor.stirbu(at)gmail.com>
2006-11-27 15:51:37 [ FULL ]
Hello Stefan,

On 11/16/06, Stefan Lambrev <stefan.lambrev(at)sun-fish.com> wrote:[...]

Your idea became clear after a couple of hours of configuration
and testing of Pound. I started to work on the code and created
a patch that adds the possibility to view and change backends'
priority.

http://www.c7obs.net/~igor/files/pound-prio2006-11-27.patch.gz
http://www.c7obs.net/~igor/files/pound-prio2006-11-27.patch.html

Next I will see how to use the information from the backends
to adapt the backends' priority. If anyone wants to comment
or to advise, please, do so.

Thanks,
Igor[...]

MailBoxer