most read
Software Engineering
Why We Killed Our End-to-End Test Suite Sep 24
Product
Product Managers: what they do and why we need them Feb 15
Software Engineering
The value of canonicity Oct 30
Careers
We are building diverse teams with the most creative and innovative professionals for each position we open.



Written by: Breno
Imagine joining an engineering team and proposing a different approach to a familiar problem. Before the discussion gets very far, someone explains that the team tried something similar years ago and it did not work.
You ask what went wrong. Was it a performance issue? An operational constraint? A limitation of the technology available at the time? Nobody remembers the details.
Perhaps the decision was made by a Staff Engineer who left the company five years earlier. Their solution remains in production, and their original reasoning has gradually become part of the team’s collective memory. The decision may still be perfectly valid. The problem is that nobody can explain why.
This is how Tech Folklore develops: technical beliefs, conventions, and restrictions are passed between engineers until their original context disappears. What began as an informed decision becomes an assumption that later generations of developers rarely examine.
Institutional knowledge is essential to engineering organizations. It prevents teams from repeating mistakes and provides continuity as people and systems change. But when knowledge loses its supporting evidence, experience can become an obstacle to evaluating alternatives.
For organizations maintaining complex systems over many years, the challenge is to preserve what engineers have learned without treating every historical conclusion as permanent.
How engineering experience becomes Tech Folklore
Most architectural decisions begin with reasonable constraints. An engineering team selects a database because it meets the requirements of a particular workload. Another chooses synchronous communication because the system is relatively simple and immediate responses are necessary. A third avoids a technology because its operational costs outweigh its benefits.
Problems emerge when those contextual decisions are gradually transformed into universal rules.
A database that struggled with a specific access pattern becomes a database that supposedly cannot scale. An architecture that was unnecessarily complex for a small application becomes an approach the organization should never consider. A workaround introduced to address a temporary limitation survives long after that limitation disappears.
In each case, the original observation may have been accurate. What becomes questionable is its continued application to different circumstances.
Authority can reinforce the problem. Recommendations from respected senior engineers naturally carry weight, particularly when those engineers helped design foundational systems. But technical authority cannot substitute for an understanding of the constraints, measurements, and tradeoffs behind a decision.
Consider a hypothetical team that rejected an asynchronous processing model because the available infrastructure made message delivery difficult to guarantee. Years later, the organization has different infrastructure, stronger observability, and new reliability requirements. Continuing to reject the approach without revisiting the original concerns would mean treating a historical implementation problem as an enduring architectural limitation.
The opposite mistake is equally possible. Adopting a distributed architecture simply because it has become popular may introduce complexity without delivering a corresponding benefit.
Challenging Tech Folklore is therefore less about questioning everything and more about distinguishing established knowledge from assumptions that have stopped being tested.
Check our job opportunies
When yesterday’s architecture meets today’s requirements
Nubank’s architectural evolution illustrates why engineering decisions must be understood within their original business and technical context.
As described in Evolving Nubank’s Architecture Toward Thoughtful Platformization, the company’s initial systems were designed for a relatively narrow operating environment: one principal product, a credit card, serving customers in Brazil.
That architecture reflected the company’s circumstances at the time. Building generalized platforms for multiple financial products and regulatory environments would have required anticipating needs that had not yet materialized.
However, expanding into additional products and countries introduced requirements that the original architecture had not been designed to accommodate.
A service built around Brazilian credit card operations could not necessarily provide the appropriate boundaries for debit functionality, different card configurations, or country-specific business rules. Reusing components became increasingly important, but so did separating capabilities that belonged to different domains.
One documented example is the evolution of the former CreditCardAccounts service. Initially organized around credit card functionality, it eventually gave way to a more flexible collection of services capable of supporting different products and markets.
This evolution helped accommodate differences such as Brazil’s combined debit and credit cards and Mexico’s separate debit and credit cards. Rather than reproducing the same implementation for every market, the architecture increasingly separated reusable capabilities from product-specific behavior.
In practice, the engineering work involved extracting responsibilities from existing production services, restructuring foundational components, and making services more configurable.
These changes introduced their own tradeoffs. Extracting functionality from a mature service creates migration risks, while excessive generalization can produce abstractions that are difficult to understand and maintain.
The objective was not to make every system as generic as possible. It was to introduce flexibility where multiple use cases justified it, without imposing unnecessary complexity elsewhere. That distinction matters when discussing inherited architectural assumptions.
The original single-product architecture was not necessarily a poor decision. Its suitability changed because the business requirements changed. Preserving the original design indefinitely would have meant overlooking the relationship between architecture and the environment it serves.
The lesson extends beyond financial services: a technical solution can be successful for years and still require substantial revision when its operating conditions change.
Challenging assumptions with measurable evidence
Architectural reassessment becomes especially compelling when engineers can demonstrate its benefits through observable system behavior.
Nubank’s fraud defense infrastructure provides a concrete example. In Scaling Fraud Defense: How Nubank Evolved Its Risk Analysis Platform, engineers describe the evolution of the company’s Defense Platform, which evaluates transaction risks across products and regions.
The platform processes hundreds of millions of events daily. Individual transactions may trigger numerous evaluations, combining business rules, machine learning models, and data retrieved from other services.
Coordinating these operations efficiently is essential, because additional processing time can affect the responsiveness of real-time transactions. The platform’s original Flow Orchestrator executed processing components layer by layer.
This model was relatively straightforward, but it introduced unnecessary waiting. Components within a layer could have different execution times, yet downstream processing had to wait for the whole layer to finish, even when some of its results were already available.
The team subsequently redesigned the orchestrator around a Directed Acyclic Graph (DAG), using Nodely, an open source library developed at Nubank. Instead of synchronizing execution at each layer, the DAG model allows components to proceed once their specific dependencies have been satisfied.
Imagine three independent operations running concurrently. Two finish quickly, while the third requires considerably more time. Under a layer-based model, a subsequent operation may have to wait for all three, even if it depends only on the first two.
With dependency-aware orchestration, that operation can begin as soon as its required inputs are available. Other execution paths continue independently, subject to their own dependencies.
The documented results were significant: processing time for complex flows decreased from approximately 550 milliseconds to 350 milliseconds, a reduction of roughly 36%.
The layer-based model was a reasonable way to coordinate execution. Revisiting it showed that this simpler structure had been costing waiting time that the dependencies themselves did not require.
Architecture Decision Records: Preserving the reasoning
If Tech Folklore develops when technical context disappears, one practical defense is to make that context easier to recover. Architecture Decision Records, commonly known as ADRs, provide a lightweight way to document consequential technical decisions.
Rather than describing only what was implemented, an ADR records the reasoning that led to a particular choice. It typically identifies the problem, relevant constraints, alternatives considered, the selected approach, and the expected consequences.
For example, an ADR explaining why a team selected synchronous communication could describe latency expectations, consistency requirements, operational complexity, and the reasons asynchronous processing was rejected.
That document becomes particularly valuable when a future engineer encounters different requirements. Instead of relying on someone’s recollection of an old discussion, the engineer can examine the original tradeoffs and determine whether they remain relevant.
A useful ADR can also identify conditions that would justify reconsideration. Perhaps an alternative should be revisited if transaction volume increases substantially, a dependency becomes unreliable, or new infrastructure reduces operational complexity. This transforms documentation from a historical record into a resource for future decision-making.
However, ADRs should not become another source of unquestionable authority. A decision record reflects the information available when it was written. Its conclusions can become outdated, just like the architecture it describes.
Teams can address this by keeping records discoverable, linking superseding decisions, and documenting important changes in assumptions. Short, focused records maintained alongside the relevant engineering work are generally more useful than extensive documents that quickly become obsolete.
The objective is to preserve enough reasoning that future engineers can understand a decision without having to reconstruct years of institutional history.
Standardization without turning conventions into dogma
There is an important tension between challenging inherited assumptions and maintaining engineering consistency. Organizations cannot afford to reconsider every architectural convention whenever a developer proposes an alternative. Shared standards reduce unnecessary variation, make systems easier to understand, and allow teams to reuse established solutions.
In an interview discussing these principles, Nubank co-founder Edward Wible explains the importance of canonical approaches: making deliberate, consistent technical choices rather than allowing unnecessary variation across teams. The purpose is to help an increasingly large engineering organization maintain coherence while preserving local ownership.
Nubank’s documented engineering approach emphasizes technical consistency, resilience, and organizational learning. Shared architectural patterns provide a common foundation for development, while engineering principles help teams navigate decisions across an increasingly complex organization. These principles need not conflict with critical examination.
A documented standard that continues to solve the problems it was designed for is fundamentally different from a convention whose purpose nobody can explain. Likewise, an architectural constraint backed by current evidence deserves different treatment from an inherited assumption that has never been retested. The distinction lies in understanding why a practice exists and whether its benefits still justify its costs.
In fact, consistent engineering approaches can make reassessment more effective. When teams understand their shared architectural foundations, they can identify limitations, evaluate alternatives, and coordinate improvements without fragmenting the broader system.
The challenge is to maintain standards as deliberate engineering choices rather than permanent restrictions.
Learning from engineering history without being constrained by it
The longer a software system operates, the more decisions accumulate within it. Some remain appropriate for decades. Others gradually become constraints as products, workloads, infrastructure, and organizational needs change.
Nubank’s evolution demonstrates how successful technical foundations can require substantial adaptation. Systems initially designed around a single credit card product expanded into reusable platforms. Fraud defense orchestration evolved to exploit dependencies more efficiently. As described in 10 Years of Engineering at Nubank, the company’s infrastructure also changed considerably as its scale and operating requirements evolved.
None of these developments requires dismissing earlier engineering choices. Their significance comes from recognizing that technical decisions are inseparable from the circumstances in which they are made.
Returning to the engineer who proposes an alternative that supposedly failed years ago, the most productive response is neither immediate rejection nor automatic experimentation. It is to recover the original reasoning, determine what has changed, and evaluate whether the alternative addresses a real problem under present conditions.
Sometimes that investigation will confirm that the existing solution remains preferable. Sometimes it will reveal an opportunity for improvement. Either outcome represents useful engineering work, provided the reasoning is preserved for the people who inherit the decision next.
Engineering history should help teams understand why systems became what they are. Tech Folklore begins when that history is reduced to conclusions nobody remembers how to question.
Check our job opportunies