Pythondirector

H

Harald

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
 
H

Harald Koschinski

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,218
Latest member
NatishaFin

Latest Threads

Top