Skip to content

Option for a "fallback" upstream server #125

@Shigbeard

Description

@Shigbeard

As we all know, Starbound is a very... ahem... special piece of software, and is prone to failures (be it due to Lua users who know how cause the server to have a heart attack, or servers that are just a little overloaded).

There are various tools out there to manage downtime in the event of server failure. I'd like to see StarryPy3k support these tools by providing a "upstream_fallback" ip and port option. Essentially what this would do is (possibly somewhere in the main server loop) attempt to establish a TCP "handshake" with the upstream server every time a player attempts to connect. If the handshake could be established, we send the player to the upstream server. Otherwise, we assume the upstream server is dead and send them to the fallback server. Some communities may utilize this to send players to a backup server, others may simply utilize this to redirect to packages such as pseudoStarbound.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions