470,644 Members | 1,204 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,644 developers. It's quick & easy.

Pythondirector

Hi,
pythondirector seems to be the loadbalancer I was looking for. It
works and the balancingstrategie "leastconnsrr" is what I need. But
there is a minor bug: The number of "open connection" is sometimes
wrong so that the balancing becomes more and more wrong. Some Channels
have a permanent number of open requests of 1 - other channels go to
-1 (minus one) open requests. This happens after running for some
hours.
Is this a know bug or do I something wrong?

regards
Harald
Jul 18 '05 #1
1 1133
Don't know - I don't think I've seen that. The bugs I have seen in
this area are generally to do with switching between groups - any
current connections end up going into the new bucket, rather than
the old. I have a plan to fix this, involving a dictionary of open connections
and a 'zero out stats' button, but I've not had time to spend on fixing
it.

Hi

I tested first with "twisted" 1.3.0. In this configuration pydir seems
to hang sporadical in a courious way (one Browser hangs - another is
working) - so I changed to "asyncore" and this worked.
Is twisted 1.3.0 recommended / can it be the reason for the hangers?
Can "asyncore" be the reason for wrong calculated / really not closing
connections ??

Harald
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.