{
  "version": 1,
  "canonical": "https://xaede.net/writing/aa3-master-browser-upgrade",
  "title": "AA3 Master Browser Upgrade",
  "description": "An America’s Army 3 server-browser upgrade, described through the relationship between the web interface and the game’s existing service architecture.",
  "language": "en",
  "manifest": "https://xaede.net/representations/index.json",
  "contentHtml": "<article class=\"reading-page\"><header class=\"reading-header\"><nav class=\"page-breadcrumb\" aria-label=\"Breadcrumb\"><ol><li><a href=\"/\">Home</a></li><li><a href=\"/writing\">Writing</a></li><li><span aria-current=\"page\">AA3 Master Browser Upgrade</span></li></ol></nav><div class=\"article-label\"><span>Archive edition / Legacy Xaede</span><time datetime=\"2009-07-24\">July 24, 2009</time><span>2 MIN READ</span></div><h1>AA3 Master Browser Upgrade</h1><p class=\"byline\"><a href=\"/about\" rel=\"author\">Josh English</a></p><p class=\"edition-note\">From the original Xaede archive. This is historical writing, preserved in a new reading edition. Technical advice, tools and project status reflect the time of publication.</p></header><div class=\"reading-body prose\"><p>The lead <a href=\"http://www.americasarmy.com\" rel=\"noopener noreferrer\">America’s Army 3</a> (an <a href=\"http://www.unrealtechnology.com\" rel=\"noopener noreferrer\">Unreal Engine 3</a> game title, see <a href=\"/writing/design-and-development-of-america-s-army-3\" rel=\"noreferrer\">this blog post</a> for a detailed description the AA3 systems I designed) game programmer and I identified a number of problems with the current AA3 game server browser (called the Master Browser System or MBS in AA3 nomenclature) this past week. These included an issue in the MBS SDK that prevented the multi-threaded server-query game-logic from executing game-server queries cleanly due to forcing the queries into a single-threaded state via an extraneous thread lock. Additionally the UnrealScript that interfaced with the SDK API call did not do so in a very efficient fashion. These problems were compounded by the thread-model confusion in the query pool design.</p>\n\n<p>I began troubleshooting this problem by using the AA3 Arcturus framework to perform rapid application development (RAD) of a multi-threaded server-query testbed application based upon the existing single-threaded unit test design. I then used it to both tune the MBS SDK performance while eliminating the extraneous thread-lock in a thread-safe fashion. Additionally, this provided an ideal framework for optimizing how the SDK API call was utilized. Once this pass had been completed, I made a new SDK build, and also gave a copy of my testbed source code to the lead programmer to show a simple example of how to make the most efficient use of the component.</p>\n<p>This process resulted in a radical performance enhancement in the in-game server-browser. Here are the current performance metrics: the SDK is able to obtain 365 servers from the MBS master server in 0.189 seconds, all 365 servers were queried (using a thread-pool of 16 threads) in 6.087 seconds with an average of 0.017 seconds per server. The total execution time, including SDK initialization and cleanup time was 6.459 seconds.</p>\n<p>In summary, the performance went from a minute or two to query all of the AA3 game servers, to under 7 seconds. I currently anticipate that this upgrade will be included in the next build of AA3, namely 3.0.6. You can see the current set of online servers <a href=\"http://login.aa3.americasarmy.com/servers\" rel=\"noopener noreferrer\">here</a>.</p></div><footer class=\"article-footer\"><span class=\"eyebrow\">PUBLICATION RECORD</span><p>Recovered article · Legacy Xaede · July 24, 2009</p><p>Originally published on Xaede. The recovered text is included in this reading edition.</p><p class=\"small\">Original authorship and publication date are preserved. This edition restores the reading layout. Recovered historical images are hosted here; unavailable images are identified where relevant.</p></footer></article>",
  "structuredData": {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "Person",
        "@id": "https://xaede.net/#josh-english",
        "name": "Josh English",
        "url": "https://xaede.net/about",
        "sameAs": [
          "https://github.com/josh-english-2k18",
          "https://medium.com/@jengas",
          "https://www.linkedin.com/in/joshua-s-english",
          "https://x.com/JoshSeriesAI"
        ],
        "jobTitle": "VP of Engineering",
        "description": "Josh English is VP of Engineering at Chronicle Media and was previously CTO of Series Entertainment. His career spans more than twenty-five years of distributed systems, game technology and engineering leadership. At Google he worked as a lead engineer on large-scale services and applied ML; at Big Run Studios he led multidisciplinary technology teams across seven time zones and four countries. At Series he directed engineering, QA, DevOps and infrastructure supporting live commercial games and AI-enabled production. He also builds personal games and developer tools to investigate how emerging capabilities work in practice, and writes about engineering judgment, organisation design and product economics.",
        "mainEntityOfPage": {
          "@id": "https://xaede.net/about#webpage"
        }
      },
      {
        "@type": "WebSite",
        "@id": "https://xaede.net/#website",
        "url": "https://xaede.net/",
        "name": "Xaede",
        "alternateName": [
          "Xaede.net",
          "Josh English — Xaede"
        ],
        "inLanguage": "en",
        "publisher": {
          "@id": "https://xaede.net/#josh-english"
        }
      },
      {
        "@type": "WebPage",
        "@id": "https://xaede.net/writing/aa3-master-browser-upgrade#webpage",
        "url": "https://xaede.net/writing/aa3-master-browser-upgrade",
        "name": "AA3 Master Browser Upgrade",
        "description": "An America’s Army 3 server-browser upgrade, described through the relationship between the web interface and the game’s existing service architecture.",
        "inLanguage": "en",
        "isPartOf": {
          "@id": "https://xaede.net/#website"
        },
        "about": {
          "@id": "https://xaede.net/#josh-english"
        },
        "mainEntity": {
          "@id": "https://xaede.net/writing/aa3-master-browser-upgrade#article"
        },
        "breadcrumb": {
          "@id": "https://xaede.net/writing/aa3-master-browser-upgrade#breadcrumbs"
        }
      },
      {
        "@type": "Article",
        "@id": "https://xaede.net/writing/aa3-master-browser-upgrade#article",
        "name": "AA3 Master Browser Upgrade",
        "headline": "AA3 Master Browser Upgrade",
        "description": "An America’s Army 3 server-browser upgrade, described through the relationship between the web interface and the game’s existing service architecture.",
        "author": {
          "@id": "https://xaede.net/#josh-english"
        },
        "inLanguage": "en",
        "mainEntityOfPage": {
          "@id": "https://xaede.net/writing/aa3-master-browser-upgrade#webpage"
        },
        "genre": "Archive edition",
        "datePublished": "2009-07-24",
        "wordCount": 345,
        "url": "https://xaede.net/writing/aa3-master-browser-upgrade"
      },
      {
        "@type": "BreadcrumbList",
        "@id": "https://xaede.net/writing/aa3-master-browser-upgrade#breadcrumbs",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://xaede.net/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "Writing",
            "item": "https://xaede.net/writing"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "AA3 Master Browser Upgrade",
            "item": "https://xaede.net/writing/aa3-master-browser-upgrade"
          }
        ]
      }
    ]
  }
}
