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

    LanCache.NET support

    Scheduled Pinned Locked Moved Suggestions
    13 Posts 7 Posters 1.1k Views
    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.
    • L
      lynx_nz
      last edited by

      Hi team, long time player and host of many LAN's involving FAF...

      Any thoughts on supporting LanCache.NET?

      ...specifically for reducing ongoing bandwidth costs on FAF servers (*.content.faforever.com)

      1 Reply Last reply Reply Quote 0
      • K
        Katharsas
        last edited by Katharsas

        What exactly does "support" mean and is it necessary? This looks like a transparent caching mechanism on DNS level that you can just put in between anything and it will cache any URLS that you configure it to chache.

        Except it does not support HTTPS but you could probably just modify the client yourself to use HTTP to the proxy if you need this. But at the end of the day, i don't think that LAN parties make up any significant part of the bandwidth of FAF server.

        And it would definitely not be a good idea to disable HTTPS for the client by default since it downloads executable.

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

          I checked this and all urls to the content server are generated server side. You can't flip over to a different server in the client.
          hosts file is your friend I guess 🤷

          He said, "I've been to the year 3000
          Not much has changed, but they live underwater
          And your great-great-great-granddaughter
          Is playin' FAF, playin' FAF"

          Brutus5000B 1 Reply Last reply Reply Quote 0
          • K
            Katharsas
            last edited by

            You don't need to change the server URLs, this cache will intercept DNS resolution and put itself into a proxy position for all configured domains. Except it cannot do that for HTTPS request without the client noticing because it doesn't have the cert.

            The only important thing is if the client uses HTTPS for content fetching.

            1 Reply Last reply Reply Quote 0
            • AskaholicA
              Askaholic
              last edited by

              I think in theory ICE is supposed to be able to discover when you’re playing on LAN and connect directly. Not sure if it actually works though because I haven’t had any luck with it. @Geosearchef would know more about that.

              GeosearchefG 1 Reply Last reply Reply Quote 0
              • S
                Sheikah
                last edited by

                Askaholic I think this is more about getting content from the server like maps, replays, updates ect. Not as much about player connections.

                L 1 Reply Last reply Reply Quote 1
                • AskaholicA
                  Askaholic
                  last edited by

                  Not sure what you really gain by intercepting requests to the content server though.

                  1 Reply Last reply Reply Quote 0
                  • AskaholicA
                    Askaholic
                    last edited by

                    Oh yea if you want to cache the maps I guess. I don’t see why FAF would have to change anything in order for you to set that up on your own network

                    1 Reply Last reply Reply Quote 0
                    • GeosearchefG
                      Geosearchef @Askaholic
                      last edited by

                      @askaholic said in LanCache.NET support:

                      I think in theory ICE is supposed to be able to discover when you’re playing on LAN and connect directly. Not sure if it actually works though because I haven’t had any luck with it. @Geosearchef would know more about that.

                      ICE will connect directly in a local network, yes, but this is about caching content requests to the server. I do not really see the point about that though, given the amount of data to be shipped as well as the issue with https encryption.

                      Having issues with connectivity / ICE? Talk to me.

                      1 Reply Last reply Reply Quote 1
                      • L
                        lynx_nz @Sheikah
                        last edited by lynx_nz

                        @sheikah Yip, exactly that, maps / updates take AGES to download. I'm pretty confident its server side throttling or bandwidth limits, as i'm on 1Gbps connection here in New Zealand.

                        Guess if we are not comfortable allowing http for some of the content then its moot. In saying that, i think the point has been missed, as Epic Games / Steam all allow http to save money and speed up content delivery.

                        1 Reply Last reply Reply Quote 0
                        • T
                          thecore
                          last edited by

                          Does downloadable content within the client need to use https? mabe there could be a setting that allows you to chose to use http for downloadable content, that way the content can be cached.
                          Steam and epic now use http for downloadable game content.

                          Never Fear, A Geek is Here!

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

                            @brutus5000 said in LanCache.NET support:

                            You can't flip over to a different server in the client.

                            This includes switching protocols. It's not designed like that.
                            Also please don't compare us to Steam. We have more maps than we have ANZ players. The probability that a faf map is in your providers cache tends to 0%.

                            He said, "I've been to the year 3000
                            Not much has changed, but they live underwater
                            And your great-great-great-granddaughter
                            Is playin' FAF, playin' FAF"

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

                              What we would need is a regional loadbalancer. But that's not some simple software you get as open source.
                              The enterprise way us throwing shittons of money to CDN like cloudflare (yes it has a free tier but only for tiny websites / files < 100kb)

                              He said, "I've been to the year 3000
                              Not much has changed, but they live underwater
                              And your great-great-great-granddaughter
                              Is playin' FAF, playin' FAF"

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