473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1172
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Rob Snyder | last post by:
Greetings - I've embarked on a small learning project, trying to get a better grasp of the asyncore and asynchat modules. The project involves building a simple instant messenger application for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.