Nintendo Systems has shared details about a major modernization project involving the Nintendo Account infrastructure, gradually replacing its core authentication and authorization component, originally developed in the Perl programming language, with a new Java implementation.
Planning for the project began in 2020, with the initiative spanning approximately six years and presenting two major challenges: keeping services available to consumers throughout the transition and continuing the development of new features, including those intended for Nintendo Switch 2.
The details were shared during the YAPC::Tokyo 2026 technology conference, held on November 28 and 29.
An increasingly complex infrastructure
Launched in 2015, Nintendo Account is available across 164 countries and regions, serving as the foundation for services such as Nintendo Switch Online, Nintendo eShop, Nintendo Store, and My Nintendo, as well as mobile applications, physical retail stores, and even the Nintendo Museum.
Over the course of 11 years, the introduction of new features and legal requirements made its infrastructure considerably more complex. The core component responsible for authentication and authorization alone had grown to approximately 350,000 lines of code.
One example highlighted by the company involves differences in the account registration process between countries. While registration in Japan is relatively straightforward, South Korea requires identity verification through an external service. Brazil and Europe feature dedicated consent screens to comply with their respective data protection regulations, the LGPD (General Data Protection Law) and GDPR (General Data Protection Regulation).
These differences also extend to child accounts, device types, and other features, making the system increasingly difficult to maintain and complicating efforts to determine the potential impact of individual changes.
How did Nintendo replace its system without interrupting services?
Rather than replacing the entire infrastructure at once, Nintendo Systems established a dedicated team and adopted an approach known as the Strangler Fig Pattern, in which the old and new systems coexist while individual features are gradually replaced.
The project was divided into approximately 30 migration units across 15 implementation milestones. This strategy helped minimize the risks associated with each change and allowed engineers to quickly revert to the previous implementation if an issue was identified.
One particularly interesting aspect of the project is that users could begin signing in or creating an account on the old system and complete the process on the new one, even if the transition occurred midway through their session. To achieve this, engineers ensured that both implementations could interpret the data and intermediate states generated by one another.
The team also developed automated tests capable of comparing the behavior of both implementations, checking everything from minor differences in screens and emails sent to users to information stored in databases and systems such as MySQL, Redis, and Amazon SQS.
The Nintendo Switch 2 launch presented another challenge
Throughout the modernization project, Nintendo continued developing new Nintendo Account features. These included passkey support, introduced in September 2023, and features required for the June 2025 launch of Nintendo Switch 2, including the System Transfer functionality between consoles.
To meet the new console’s launch schedule, some features had to be implemented in the old system first and subsequently reproduced in the new infrastructure. This increased the engineers’ workload but allowed both projects to move forward simultaneously.
Six years of work, with further improvements ahead
According to Nintendo Systems, the project followed this timeline:
- 2020 – Initial research and preparations for the modernization project began.
- 2022 – Migration of the presentation layer, responsible for displaying screens and handling navigation, began.
- 2024 – Migration of the business logic layer, responsible for system rules and data processing, began.
- 2026 – The majority of the core authentication and authorization features have been replaced.
Although the project achieved its primary objective without requiring service downtime for maintenance, the company clarified that several other Nintendo Account components still need to be modernized.
The goal is to maintain an infrastructure that can accommodate new features and changes more safely and efficiently in the years ahead without compromising the consumer experience.
*Via Nintendo Systems


Discussões sobre isso post