I’ve been kicking around the idea of running a server for games and chat woth some of my friends, but worry about everyone getting cut off when there’s a disruption.

I’ve started looking into kubernetes out of curiosity, and it seems like we could potentially set up a cluster with master nodes at 3+ locations to hose whatever game server or chat server that we want with 100% uptime, solving my concerns.

Am I misunderstanding the kubernetes documentation, and this is just a terrible idea? Or am I on the right track?

        • mnemonicmonkeys@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          6
          ·
          edit-2
          18 days ago

          Read the rest of my post, asshole. I was asking about server cluster software.

          This type of pointless snark is something I’d expect from hexbear, not blahaj

          • papertowels@mander.xyz
            link
            fedilink
            English
            arrow-up
            3
            ·
            18 days ago

            Read the rest of my post, asshole.

            This type of pointless snark

            Pot calling the kettle black here. Chill out, they were trying to help.

            You wrote a post with a title that their comment helps with, no need to be a jerk, and maybe consider more specific titles that capture your actual ask.

            It’s currently akin to a post titled “how do I invest in a 401k?” And having the actual ask be the logistics of logging into vanguard.

            • mnemonicmonkeys@sh.itjust.worksOP
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              3
              ·
              18 days ago

              You wrote a post with a title that their comment helps with,

              Post titles just aren’t great at detailing the real issue when you need to provide context. It’s frustrating whem someone doesn’t actually read the body of the post, because then the comments can be filled up with people answering the wrong question. Then someone that can actually answer the question might skip the post because there’s already a bunch of comments under it.

              If you’re going to help, it’s better to actually read through the provided context. Otherwise it’s more likely to just end up being self-gratification.

              It’s kinda like the people who give up right-of-way at stop signs. Sure, it makes that person feel better about themselves, but the confusion just leads to everyone at the stop taking longer to get through the intersection.

              • papertowels@mander.xyz
                link
                fedilink
                English
                arrow-up
                2
                ·
                17 days ago

                Fair points, it is unfortunate that decentralized can mean self hosting your own alternative service or hosting a service in a distributed fashion.

                The situation still could’ve been resolved without insulting someone who wanted to be helpful, but was maybe not careful.
                Or implying that their behavior reflects poorly on the entire blahaj community. That community don’t mean any harm.

                • mnemonicmonkeys@sh.itjust.worksOP
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  arrow-down
                  1
                  ·
                  17 days ago

                  Or implying that their behavior reflects poorly on the entire blahaj community

                  That user is a different person from the first one that responded.

                  The blahaj user’s only contribution to the conversation was that snarky comment, and I brought it up because I’ve noticed a few users from that instance do that this past week, and not just to me. Like I said, I expect that behavior from hexbear, as blahaj users are usually nice to interact with.

                  And on the blowing up at the original commenter, I’m tired of people using me for their own self-gratification. And if you’re not actually reading someone’s question before saying something, that’s generally what it is. Hopefully they learned to not make that mustake in the future

  • passenger@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 days ago

    Kubernetes is too much. You could set up a matrix server for chat with jitsi for video meetings. Use element as client. Then add your game server(s).

    For matrix/jitsi server setup use this playbook https://github.com/spantaleev/matrix-docker-ansible-deploy

    It installs all you need for video, audio, and text chat.

    Maybe change the config to be unfederated if you want a private server.

    100% uptime is really not feasible so forget that. Even the commercial servers have downtimes.

  • Kairos@lemmy.today
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 days ago

    Chat server is easy: Matrix (actually multiple servers but same effect)

    Game server is very hard. The game has to be made for it or you have to be very good at network application engineering to hack it in.

    • mnemonicmonkeys@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      18 days ago

      The game has to be made for it

      Just for clarity, do you mean the game has to be made for self-hosted servers, or do you mean it has to be made to handle self-hosted servers across a cluster?

      The former is already a thing with Minecraft, 7 Days to Die, etc. The latter… Yeah I’d have to do digging on that

      • Kairos@lemmy.today
        link
        fedilink
        English
        arrow-up
        0
        ·
        18 days ago

        Actually I can provide a little more detail. Check out how Matrix handles event graph resolution/desync. It’s why messages sometimes come in out of order. This is a fundamental problem with decentralization: authority breakdown. The homesever in Matrix is considered the authority for the clients, but within the Federation itself there is no true authoritative party or event history. If a server goes off federation for a while, a room will split, and once it re-federates it and other servers will have different event graphs, assuming something happened in those rooms in the meantime for both the defederated server and federated server(s).

        Basically: videogames assume that within a certain amount of latency the server’s state is permanent and authoritative. Federation breakdowns even for 500ms can destroy a games running state.

        • mnemonicmonkeys@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          18 days ago

          Thank you for the detailed explanation

          It sounds like my friends and I are better off just having 1 primary server running everything, and pushing backups to 1 or 2 other servers that can be spun up if/when things go wrong with the primary server.

          • Kairos@lemmy.today
            link
            fedilink
            English
            arrow-up
            1
            ·
            17 days ago

            Yeah probably.

            Even big Minecraft servers are just many servers with load ballancers. The game has server redirects built in for this reason.