Created
October 29, 2009 22:41
-
-
Save bdrewery/221906 to your computer and use it in GitHub Desktop.
1.3 localhubs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 hub binary. | |
2 leaf binaries. | |
Leafs link over a unix domain socket to the first bot in their binary (the localhub). | |
The localhub links to the hub(s). | |
Speeds up linking / communicating. | |
Lowers bandwidth needs (only need to download 1 userfile from hub per binary). | |
Allows leaf bots to talk directly instead of relay through a far away hub. | |
No extra configuration or setup required for this. | |
[22:40:57] #bryan# userlist | |
Hubs : hub | |
Main Bots : wtest1, wtest2, wtest3, wtest4, wtest5, wtest6, wtest7, wtest8, wtest9, wtest10, wtest11, xwtest1 | |
Main Bots : xwtest2, xwtest3, xwtest4, xwtest5, xwtest6, xwtest7, xwtest8, xwtest9, xwtest10, xwtest11 | |
Chatbots : wtest5 | |
Admins : bryan, HQ | |
Total bots: 23 | |
Total users: 2 | |
[22:40:33] #bryan# bottree | |
hub (v1.2.16.1-304-g69cb0bd) | |
|-+wtest1 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest2 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest3 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest5 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest4 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest6 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest7 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest8 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest9 (v1.2.16.1-304-g69cb0bd) | |
| |-+wtest10 (v1.2.16.1-304-g69cb0bd) | |
| `-+wtest11 (v1.2.16.1-304-g69cb0bd) | |
`-+xwtest1 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest2 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest3 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest4 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest5 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest6 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest7 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest8 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest9 (v1.2.16.1-304-g69cb0bd) | |
|-+xwtest10 (v1.2.16.1-304-g69cb0bd) | |
`-+xwtest11 (v1.2.16.1-304-g69cb0bd) | |
Average hops: 1.9, total bots: 23 | |
[21:20:40] #bryan# bottree | |
hub (v1.2.16.1-516-g2509167) | |
|-+hub4 (v1.2.16.1-290-g9a2510c) | |
|-+wtestZOD (v1.2.16.1-516-g2509167) | |
|-+sarah (v1.2.16.1-516-g2509167) | |
| `-+vexp (v1.2.16.1-516-g2509167) | |
|-+gige (v1.2.16.1-516-g2509167) | |
| `-+como (v1.2.16.1-516-g2509167) | |
|-+comcast (v1.2.16.1-516-g2509167) | |
| `-+atari (v1.2.16.1-516-g2509167) | |
|-+evilbsd (v1.2.16.1-516-g2509167) | |
| `-+xanax (v1.2.16.1-516-g2509167) | |
|-+curtis (v1.2.16.1-516-g2509167) | |
| `-+luvanime (v1.2.16.1-516-g2509167) | |
|-+georgey (v1.2.16.1-516-g2509167) | |
| `-+eddie (v1.2.16.1-516-g2509167) | |
|-+hub2 (v1.2.16.1-516-g2509167) | |
| |-+wtestECHO (v1.2.16.1-516-g2509167) | |
| | |-+pumpit (v1.2.16.1-516-g2509167) | |
| | `-+dexter (v1.2.16.1-516-g2509167) | |
| |-+j-a-c-k (v1.2.16.1-516-g2509167) | |
| | `-+tokyo (v1.2.16.1-516-g2509167) | |
| |-+gary (v1.2.16.1-516-g2509167) | |
| | `-+cindy (v1.2.16.1-516-g2509167) | |
| `-+joey (v1.2.16.1-516-g2509167) | |
| `-+ash1ey (v1.2.16.1-516-g2509167) | |
|-+katie (v1.2.16.1-516-g2509167) | |
| `-+ddoscoin (v1.2.16.1-516-g2509167) | |
`-+jennie (v1.2.16.1-516-g2509167) | |
`-+heather (v1.2.16.1-516-g2509167) | |
Average hops: 1.8, total bots: 29 | |
# Trace to a bot through another hub | |
!trace wtestECHO | |
[21:31:09] #bryan# trace wtestECHO | |
Trace result -> hub:hub2 (0.69 secs, 1 hop) | |
Trace result -> hub:hub2:wtestECHO (1.0 secs, 2 hops) | |
# Trace to a bot through a localhub, note that the 2nd hop is instant. | |
!trace como | |
[21:31:15] #bryan# trace como | |
Trace result -> hub:gige (0.38 secs, 1 hop) | |
Trace result -> hub:gige:como (0.38 secs, 2 hops) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment