FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    How long should FAF keep old replays?

    Scheduled Pinned Locked Moved General Discussion
    43 Posts 26 Posters 3.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • arma473A Offline
      arma473 @FemtoZetta
      last edited by

      @FemtoZetta said in How long should FAF keep old replays?:

      Will this break the replay parser?

      Perhaps, but it should not be difficult to find a Java library that can decompress the ztd file format and add that to the parser itself. So it shouldn't be difficult to update the parser to handle this. If anyone is actively maintaining the parser, it should be an easy fix.

      Even if there's no way to update an existing tool, it should be relatively easy to decompress the ztd files "by hand" and re-compress them in the fafreplay file format in order to hand them off to a software tool.

      OR someone could even make a software tool to convert replay files in the new (ZTD) format into the old (zip) format. Automating the process of converting files from a more-efficient format to a less-efficient format so that old tools can use them is kind of silly but it would solve the immediate problem of tools being broken.

      1 Reply Last reply Reply Quote 0
      • Brutus5000B Offline
        Brutus5000 FAF Server Admin
        last edited by

        What is "the replay parser"?

        "Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
        – Benno Rice

        1 Reply Last reply Reply Quote 0
        • ZLOZ Offline
          ZLO
          last edited by

          http://95.216.153.185/replayparser/SupCom ReplayParser.html

          TA4Life: "At the very least we are not slaves to the UI" | http://www.youtube.com/user/dimatularus | http://www.twitch.tv/zlo_rd

          MazorNoobM CascadeC 2 Replies Last reply Reply Quote 0
          • MazorNoobM Offline
            MazorNoob @ZLO
            last edited by

            Yes, it will break for the new format. Someone will have to update it, somewhere around line 430 in page source. This diff should help with that.

            1 Reply Last reply Reply Quote 1
            • D Offline
              Defiant
              last edited by

              Oh please keep all replays. Can we throw money at buying more storage?

              1 Reply Last reply Reply Quote 0
              • TheVVheelboyT Offline
                TheVVheelboy
                last edited by

                Imo, no need to keep replays older than 3 years no matter what they are. If they were good they are already casted w/e.
                Even then I wouldn't really keep replays older than 2 years unless they are from ranked games. It just seems pointless to keep so much when it's useless.

                1 Reply Last reply Reply Quote 1
                • Eternal-E Offline
                  Eternal-
                  last edited by Eternal-

                  I would suggest to keep only the special old games. But I think there are no stamps like "Tournament". I also think that no one will sort their favorite replays. I guess you can just save replays of certain players, purely for memory? šŸ˜„
                  But in general, I do not see any point in these replays, the game is growing up, the old tactics and methods of the game can not be applied to the current realities.
                  I am in favor of removing all replays since the last old patch.


                  And further sorting them with some parameters

                  • Removing replays with one player
                  • Removing replays with a sandbox
                  • Removing of replays of the company
                  • Removing "blacklisted" maps (gap, astro, etc)
                  • Removing replays with desync
                  • Removing replays after (optional) 4/8/12 months

                  Profile | Eternal MOD pack | Check new client

                  1 Reply Last reply Reply Quote 0
                  • CascadeC Offline
                    Cascade @ZLO
                    last edited by Cascade

                    @ZLO I've been searching for this parser for ages! The old link on google 404s
                    edit: still seems to be broken for me šŸ˜ž

                    Eternal-E 1 Reply Last reply Reply Quote 0
                    • Eternal-E Offline
                      Eternal- @Cascade
                      last edited by

                      @Cascade You should try to open it with vpn. Works fine for me without vpn

                      Profile | Eternal MOD pack | Check new client

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        PattogoTehen
                        last edited by

                        Hi,
                        Bitbucket deleted my old mercurial repos (https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket).
                        Moved what i could save to Github.

                        Please update your links to: https://fafafaf.github.io/

                        Btw. sometime the CORS header got removed from https://content.faforever.com/faf/vault/replay_vault/replay.php hence it cant load the files directly by replay id.

                        1 Reply Last reply Reply Quote 0
                        • Brutus5000B Offline
                          Brutus5000 FAF Server Admin
                          last edited by Brutus5000

                          @PattogoTehen We changed a lot of urls, but I couldn't make a pull request against bitbucket as it was gone. I'll do one against your Github repository.

                          The CORS header issue is something we raised as a bug ticket in our reverse proxy, it might vanish in the near future (or already does if you use replay.faforever.com, not sure).

                          "Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
                          – Benno Rice

                          1 Reply Last reply Reply Quote 0
                          • Z Offline
                            Zokora
                            last edited by Zokora

                            I can offer to archive all replays and make them accessible to others as well. Size and traffic do not matter for my google drive.

                            edit: Others can make backups as well

                            1 Reply Last reply Reply Quote 2
                            • N Offline
                              nemir
                              last edited by

                              Is it possible to create criteria by which you could keep some replays for longer... IE if it was a game with stronger players it gets kept longer... Or if it was a game with a certain number of downloads... Or 5 star reviews...

                              That might be a cool thing. It would be a decent way to raise the overall value of the replay library.

                              1 Reply Last reply Reply Quote 0
                              • Brutus5000B Offline
                                Brutus5000 FAF Server Admin
                                last edited by

                                So due to the server disk running full causing an outage we have prioritized recompressing all replays to Zstandard without base64 encoding. This reduced total replay size from 677 GB to 406 GB (-40%).
                                With the next server update we'll also activate the new compression for the replay server. So also the growth of new replays will be decreased by 40%.

                                This was actually much more than we expected.
                                Also we found a lot of broken replays in terms of corrupt files that need to clean up.

                                So as of now the server has 280 GB usable disk space free which should suffice for another 3-5 years.

                                "Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
                                – Benno Rice

                                1 Reply Last reply Reply Quote 5
                                • AurikoA Offline
                                  Auriko
                                  last edited by

                                  Good news šŸ™‚

                                  1 Reply Last reply Reply Quote 0
                                  • tatsuT Offline
                                    tatsu
                                    last edited by

                                    @brutus5000 you rock!

                                    How to setup FAF on linux

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post