Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Load Balancing.

Comments in 'Plugin Development' started by Samueljh1H8sLag, Jan 7, 2016.

  1. Samueljh1H8sLag
    Offline

    Samueljh1H8sLag Active Member

    Joined:
    Jun 20, 2015
    Posts:
    168
    Minecraft User:
    Samueljh1_
    Hey, I'm trying to distribute players on my network via a round-robin dns system.

    I find this very ineffective as this system detects load, meaning if a server has a low max-player level, someone would be sent there (because there is little load). Another issue is the client cache. When the player joins the server, the ip at that chosen time will be saved onto their device. this means that for the next hour or so, the player will always join that same IP, regardless of the load.

    Are there any other methods of distributing players?

    p.s here is my zone file:

    Code:
    $TTL 2d ; Default Refresh Rate
    
    @   IN  SOA     ns1.darkpe.net. admin.darkpe.net. (
            2016010710  ;Serial
            3600        ;Refresh
            1800        ;Retry
            604800      ;Expire
            86400       ;Minimum TTL
    )
    
    ; Set Nameservers
            IN    NS        ns1.darkpe.net.
            IN    NS        ns2.darkpe.net.
    
    ; Define Nameservers
    ns1        IN    A        37.247.53.247
    ns2        IN    A        37.247.53.24
    
    ; Define Gameservers
    s1        IN    A        37.247.53.247
    s2        IN    A        37.247.53.24
    
    ; Misc
    http      IN    A        37.247.53.247
    
    ; Mapping
    @         IN    CNAME        http
    www       IN    CNAME        http
    
    play      IN    CNAME        s1
              IN    CNAME        s2
    
    
    Thanks :)
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I'm not really serious, but I just came across with this (most likely the most terrible idea ever):
    For every 5 seconds, detect the least loaded server, and use an API from the DNS provider to reset the IP.
  3. Valeron
    Offline

    Valeron New Member

    Joined:
    Aug 26, 2015
    Posts:
    111
    Minecraft User:
    DarkSpive
    Damn... I already created this thread
  4. Valeron
    Offline

    Valeron New Member

    Joined:
    Aug 26, 2015
    Posts:
    111
    Minecraft User:
    DarkSpive
    Shogi.... If will u can see...
    Please go back to minecraft packages Fast Transfer
    PLEASE!!!!!
    You are so lazy.
  5. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    FastTransfer packet was removed from MCPE so we can have some of the features we do now. If they didn't remove it we wouldn't have 0.13 update.
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    That's not true.
  7. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Oh? Then what's the real reason.
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    FastTransfer was removed because other developers saw no reason for that packet to exist, since it didn't get used in vanilla MCPE. @shoghicp was not involved in this release at all.
    Legoboy0215 likes this.
  9. Samueljh1H8sLag
    Offline

    Samueljh1H8sLag Active Member

    Joined:
    Jun 20, 2015
    Posts:
    168
    Minecraft User:
    Samueljh1_
    From looking at LBSGs name servers, i can see that @williamtdr is using the Amazon AWS load balancing system.
    Legoboy0215 likes this.
  10. Samueljh1H8sLag
    Offline

    Samueljh1H8sLag Active Member

    Joined:
    Jun 20, 2015
    Posts:
    168
    Minecraft User:
    Samueljh1_
    Well i run my own nameservers, so that wouldn't work unless i made some script which edits the zone file, updates it and connects to the other servers and updates them also. I wouldn't recommend it xD

Share This Page

Advertisement