User Control Panel
Advertisements

HELP US, HELP YOU!

Mirror Balancing.

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Ideas
View unanswered posts
Author Message
Pepper
Senior Member
Senior Member


Joined: 30 Jul 2004
Posts: 178
Location: Auckland, New Zealand
Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1

PostPosted: Sun Mar 06, 2005 10:00 am    Post subject: Reply with quote

Here is a idea for mirror balancing Smile

When someone adds your bot it says (on the site):
Please add x@xbot.com to your MSN Contact List!
Then, once x@xbot.com reaches eg 10 contacts it changes the site to say:
Please add x2@xbot.com to your MSN Contact List!
Then x3@xbot.com and back to x@xbot.com

And when x@xbot.com reaches eg 300 contacts it's removed from the list.

Therefore the mirror load is balanced between xbot's mirrors. Idealy if mirrors are run from seperate computers, in most cases it isnt.

You see bots like ZSBot (www.zsbot.co.uk) with 120 people on one mirror, and ten on the other. Just might help, a bit.
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Sun Mar 06, 2005 10:31 am    Post subject: Reply with quote

well me and eric were working on code(that i stupidly lost Argh!) that when you add a contact it simply finds the one that has the least mirrors, which after a while would make them all PERFECTLY balanced with only 1 either way....

Just find which mirror has the least contacts and tell them to add that in sub ContactAddingUs
Back to top
shmookey
Newbie
Newbie


Joined: 21 Dec 2004
Posts: 49
Location: Western Australia
Reputation: 17.7Reputation: 17.7

PostPosted: Sun Mar 06, 2005 1:14 pm    Post subject: Reply with quote

Maybe it could work the other way around: a user wants to speak to a particular bot, so he or she types in his or her email address on the site and it automatically finds the mirror with the least contacts, and tells it to add that address to its contact list, that way the user doesn't need to worry about mirrors and such.
Back to top
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Sun Mar 06, 2005 1:18 pm    Post subject: Reply with quote

Yea and it would tell them if theyve already added a mirror.
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Mar 06, 2005 6:48 pm    Post subject: Reply with quote

Don't forget that one of the fun things about mirrors is picking a name you like. I realize that mirrors are needed for functional reasons, but people still have fun being able to choose one for themselves.
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sun Mar 06, 2005 9:54 pm    Post subject: Reply with quote

You could have a list of mirrors, which would be called upon when the previous mirror is full.
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Mon Mar 07, 2005 1:08 am    Post subject: Reply with quote

On your site, why not just make a hash containing each passport and the number of users it has, and have the site dynamically (CGI or PHP) sort them, so that the page would look like:

Quote:
Chat with my bot now: add bot6@botsite.com

Other mirrors:
bot1@botsite.com (150)
bot2@botsite.com (135)
bot3@botsite.com (200)
etc.....


People usually go for the big bold headlines, so just have it show the best mirror on the top of the page and that should do it for ya.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Mon Mar 07, 2005 1:46 am    Post subject: Reply with quote

Good idea. It's nice for the user to have a choice, but you can direct them towards the "best" one too.
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Mon Mar 07, 2005 10:31 am    Post subject: Reply with quote

Or a list of the top 3/5?
with the least contacts, then you have the choice and the control...
Back to top
Pepper
Senior Member
Senior Member


Joined: 30 Jul 2004
Posts: 178
Location: Auckland, New Zealand
Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1Reputation: 9.1

PostPosted: Thu Mar 10, 2005 8:56 am    Post subject: Reply with quote

Then you could pre-load mirrors and be hassle free for a month! (Bot2k3 talking, likewise)
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Thu Mar 10, 2005 10:38 am    Post subject: Reply with quote

mine does it automatically FOREVER Razz
although they dont get the choice its very ...uhmm....effecient ..
Back to top
billabong05
Newbie
Newbie


Joined: 28 Jun 2005
Posts: 6

Reputation: 10.6

PostPosted: Tue Jun 28, 2005 5:16 pm    Post subject: Reply with quote

can u share a mirror code with us? please? Razz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Ideas All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group