Home/Architecture
Topic

Architecture

96 articles on Architecture.

11,834 articles
Architecture — The Agent Access Model

The Agent Access Model

The Agent Access Model proposes a new architecture to secure task-scoped agents using strict identity brokering, continuous mediation, and stateful trust.

SSilverlockSilverlock·August 5, 2026Architecture
Architecture — Agentic Testing: Where Agents Fit in the E2E Testing Stack

Agentic Testing: Where Agents Fit in the E2E Testing Stack

Abstract Agent-driven end-to-end (E2E) tests add a new exploratory layer to testing, but should they replace traditional deterministic tests? We ran more than 200 agentic E2E workflows using the Playwright MCP, Playwright CLI, and agent-generated Playwright tests in test workspaces using non-production data to find out how agentic testing could fit into both our and…

SGSergii Gorbachov·June 11, 2026Architecture
Architecture — Conversation: LLMs and the what/how loop

Conversation: LLMs and the what/how loop

A conversation between Unmesh, Rebecca, and Martin on how LLMs help us shape the abstractions in our software. We view our challenge as building systems that survive change, requiring us to manage our cognitive load. We can do this by mapping the “what” of we want our software to do into the “how” of programming languages. This “what” and “how” are built up in a feedback loop. TDD helps us operati

UJUnmesh Joshi, Rebecca Parsons, and Martin Fowler·January 21, 2026Architecture
Architecture — Designing For TV: Principles, Patterns And Practical Guidance (Part 2) — Smashing Magazine

Designing For TV: Principles, Patterns And Practical Guidance (Part 2) — Smashing Magazine

After covering in detail the underlying interaction paradigms of TV experiences in [Part 1](https://www.smashingmagazine.com/2025/08/designing-tv-evergreen-pattern-shapes-tv-experiences/), it’s time to get practical. In the second part of the series, you’ll explore the building blocks of the “10-foot experience” and how to best utilise them in your designs.

MBMilan BalacMilan Balac·September 4, 2025Architecture
Architecture — Reliably Detecting Third-Party Cookie Blocking In 2025 — Smashing Magazine

Reliably Detecting Third-Party Cookie Blocking In 2025 — Smashing Magazine

The web is mired in a struggle to eliminate third-party cookies, with the World Wide Web Consortium Technical Architecture Group leading the charge. But there are obstacles preventing this from happening, and, as a result, many essential web features continue to rely on cookies to function properly. That’s why detecting third-party cookie blocking isn’t just good technical hygiene but a frontline

MPMikhail ProsmitskiyMikhail Prosmitskiy·May 28, 2025Architecture
Architecture — Quick Hit #46

Quick Hit #46

Straight from the W3C Technical Architecture Group: "e see an urgency to have a strict timeline for the removal of third-party cookies."

GGGeoff GrahamGeoff Graham·May 2, 2025Architecture
Architecture — How we simplified NCMEC reporting with Cloudflare Workflows

How we simplified NCMEC reporting with Cloudflare Workflows

We transitioned to Cloudflare Workflows to manage complex, multi-step processes more efficiently. This shift replaced our queues-based architecture in our National Center for Missing & Exploited Children (NCMEC) reporting system with a structured, retryable workflow that’s easier to debug and maintain.

MSMahmoud Salem, Rachael TruongMahmoud Salem, Rachael Truong·April 11, 2025Architecture
Architecture — How we built it: Payment method A/B testing

How we built it: Payment method A/B testing

Building our payment method A/B testing tool was an industry first, and we had to find creative solutions to some of the most complex scenarios in A/B testing. We’ll share the key decisions we made—and lessons we learned—along the way.

SYSteve YoungSteve Young·November 12, 2024Architecture
Architecture — Using the Strangler Fig with Mobile Apps

Using the Strangler Fig with Mobile Apps

Incremental replacement of a legacy mobile application is a challenging concept to articulate and execute. However, we believe by making the investment in the pre-requisites of legacy modernization, it is posible to yield benefits in the long term. This article explores the Strangler Fig pattern and how it can be applied to mobile applications. We chart the journey of an enterprise who refused to

MFMatthew Foster and John Mikel Amiel Regida·November 5, 2024Architecture
Architecture — Unified Grid: How We Re-Architected Slack for Our Largest Customers

Unified Grid: How We Re-Architected Slack for Our Largest Customers

All software is built atop a core set of assumptions. As new code is added and new use-cases emerge, software can become unmoored from those assumptions. When this happens, a fundamental tension arises between revisiting those foundational assumptions—which usually entails a lot of work—or trying to support new behavior atop the existing architecture. The latter…

IHIan HoffmanIan Hoffman·July 31, 2024Architecture
Architecture — Applying the Facade Pattern on Spotify for Artists

Applying the Facade Pattern on Spotify for Artists

At Spotify, we’re dedicated to delivering a unified experience to our customers — which can sometimes be at odds with the vast, autonomous structure of . To prevent from becoming a reality, we have to be vigilant, ensuring our diverse, geographically dispersed teams don’t unintentionally create fragmented user experiences.

RSRich Soni·February 1, 2024Architecture
Architecture — How to Accurately Test Significance with Difference in Difference Models

How to Accurately Test Significance with Difference in Difference Models

When we want to determine the causal effect of a product or business change at Spotify, A/B testing is the gold standard. However, in some cases, it’s not possible to run A/B tests. For example, when the intervention is an exogenous shock we can’t control, such as the COVID pandemic. Or when using experimental control is infeasible, such as during the annual delivery of Spotify Wrapped. In these c

BDBradley Doll , Jeffrey Li , and Tolga Oztan·September 1, 2023Architecture
Architecture — Bringing Sequential Testing to Experiments with Longitudinal Data (Part 2): Sequential Testing

Bringing Sequential Testing to Experiments with Longitudinal Data (Part 2): Sequential Testing

In of this series, we introduced the within-unit peeking problem that we call the “peeking problem 2.0”. We showed that moving from single to multiple observations per unit in analyses of experiments introduces new challenges and pitfalls with regards to sequential testing. We discussed the importance of being clear about the distinctions between measurement, metric, estimand, and estimator, and w

SASebastian Ankargren , Mattias Frånberg , and Mårten Schultzb·July 1, 2023Architecture
Architecture — Bringing Sequential Testing to Experiments with Longitudinal Data (Part 1): The Peeking Problem 2.0

Bringing Sequential Testing to Experiments with Longitudinal Data (Part 1): The Peeking Problem 2.0

At Spotify, we’re constantly improving our data infrastructure, which means we can get feedback on experiments earlier and earlier. To allow for early feedback in a risk-managed manner, we use sequential tests to monitor regressions in the experiments. However, when moving toward smaller and smaller time windows, we’re faced with multiple measurements per unit in our analysis, which is known as lo

SASebastian Ankargren , Mattias Frånberg , and Mårten Schultzb·July 1, 2023Architecture
Architecture — Modernizing the toolbox for Cloudflare Pages builds

Modernizing the toolbox for Cloudflare Pages builds

A new beta build system is now available for Cloudflare Pages. We've updated our default languages and tools, and made some exciting underlying architecture changes. You can enable it in your project settings in the dashboard today.

GBGreg BrimbleGreg Brimble·May 17, 2023Architecture
Architecture — Load Testing for 2022 Wrapped

Load Testing for 2022 Wrapped

is Spotify’s global annual year-end campaign that celebrates our listeners with a personalized review of their listening habits over the past year.

FWFred Wang, Senior Backend Engineer·March 1, 2023Architecture
Architecture — Choosing a Sequential Testing Framework — Comparisons and Discussions

Choosing a Sequential Testing Framework — Comparisons and Discussions

TL;DR Sequential tests are the bread and butter for any company conducting online experiments. The literature on sequential testing has developed quickly over the last 10 years, and it’s not always easy to determine which test is most suitable for the setup of your company — many of these tests are “optimal” in some sense, and most leading A/B testing companies have their own favorite. Even though

MSMårten Schultzberg and Sebastian Ankargren·March 1, 2023Architecture
Architecture — The 25 Percent Rule for Tackling Technical Debt - Shopify

The 25 Percent Rule for Tackling Technical Debt - Shopify

Let’s talk about technical debt. Let’s talk about practical usable approaches for actually paying it down on a daily, weekly, monthly, and yearly basis. Let’s talk about what debt needs to be fixed now versus what can wait for better planning.

SEShopify Engineering·February 16, 2023Architecture
Architecture — The road to a more standards-compliant Workers API

The road to a more standards-compliant Workers API

We have been making improvements in the Workers runtime to increase alignment with Web Platform standards around event handling, task cancellation using AbortController, text encoding and decoding, URL parsing and pattern matching, and streams support.

JJasnellJasnell·November 14, 2022Architecture
Architecture — A New Pattern For The Jamstack: Segmented Rendering — Smashing Magazine

A New Pattern For The Jamstack: Segmented Rendering — Smashing Magazine

Among all possible architectures for rendering a website, static rendering is the most performant. Yet, it’s only applicable to public, generic content. Or is it? In this article, we will push the boundaries of static rendering and learn how to apply it to personalized content. This new pattern is called “Segmented Rendering” and will change the Jamstack game forever.

EBEric BurelEric Burel·July 18, 2022Architecture
Architecture — Testing The CLI The Way People Use It — Smashing Magazine

Testing The CLI The Way People Use It — Smashing Magazine

Have you ever wondered, why do people write CLI tools? When is a good time to think about yours? Today we’ll touch on these questions, along with some tips to remember when creating one. However, all of this serves as a prelude to the real topic: end-to-end testing of CLI tools.

GMGeorgy MarchukGeorgy Marchuk·April 22, 2022Architecture
Architecture — What Web Frameworks Solve: The Vanilla Alternative (Part 2) — Smashing Magazine

What Web Frameworks Solve: The Vanilla Alternative (Part 2) — Smashing Magazine

rameworks provide convenient ways to achieve complicated tasks, and they have benefits beyond technical ones, such as aligning a group of developers to a particular style and pattern. The web platform offers many choices, and adopting a framework gets everyone at least partially on the same page for some of those choices. In this second part, Noam suggests a few patterns of how to use the web plat

NRNoam RosenthalNoam Rosenthal·February 4, 2022Architecture
Architecture — Local Testing A Serverless API (API Gateway And Lambda) — Smashing Magazine

Local Testing A Serverless API (API Gateway And Lambda) — Smashing Magazine

Have you ever struggled with testing cloud services locally? Specifically, have you ever struggled with locally testing an API that uses API Gateway and Lambda, with the Serverless framework, on AWS? In this article, Tom Hudson shares a quick overview of how easy it is to quickly set up your project to test locally before deploying to AWS.

TTomhudson·October 5, 2021Architecture
Architecture — Let’s Dive Into Cypress For End-to-End Testing — Smashing Magazine

Let’s Dive Into Cypress For End-to-End Testing — Smashing Magazine

Is end-to-end testing a painful topic for you? End-to-end testing does have some pitfalls that are cause for concern. Let’s look at how to prevent many of them. In this article, Ramona Schwering explains how to handle end-to-end testing with Cypress and make it make it not so tedious and expensive for yourself, but fun instead. hope to show you that end-end testing can be fun!

RSRamona SchweringRamona Schwering·September 27, 2021Architecture
Architecture — Maintaining End-To-End Quality With Visual Testing — Smashing Magazine

Maintaining End-To-End Quality With Visual Testing — Smashing Magazine

A critical part of any developer’s workflow is definitely testing. It helps us to ensure that our project is going to maintain a high level of quality, as well as prevent any pesky bugs from getting out into the wild. By adding visual elements to your tests, you can gain more options to add meaningful ways in maintaining a high level of quality for your app. In this article, Colby Fayock explains

CFColby FayockColby Fayock·July 19, 2021Architecture
Architecture — Email Testing Flow As It Should Be — Smashing Magazine

Email Testing Flow As It Should Be — Smashing Magazine

Email sending functionality is an integral part of every digital product that involves communication with its users (read: any online service). With so many tools and approaches, email still has quite a few pain points, both for developers and email marketers. Email is difficult because it has too many aspects to set and a few instances with no common rules to follow.

AZAndriy ZapisotskyiAndriy Zapisotskyi·July 2, 2021Architecture
Architecture — It’s A (Front-End Testing) Trap! Six Common Testing Pitfalls And How To Solve Them — Smashing Magazine

It’s A (Front-End Testing) Trap! Six Common Testing Pitfalls And How To Solve Them — Smashing Magazine

When writing front-end tests, you’ll find a lot of pitfalls along the way. In sum, they can lead to lousy maintainability, slow execution time, and — in the worst case — tests you cannot trust. But it doesn’t have to be that way. In this article, I will talk about common mistakes developers make, at least in my experience, and, of course, how to avoid them. Testing doesn’t need to be painful, afte

RSRamona SchweringRamona Schwering·July 1, 2021Architecture
Architecture — Spinning Up Multiple WordPress Sites Locally With DevKinsta — Smashing Magazine

Spinning Up Multiple WordPress Sites Locally With DevKinsta — Smashing Magazine

When developing themes and plugins for WordPress, we need to test them in different environments. How can we create multiple testing sites on our computer, quickly and easily, without having to become a sysadmin? If our themes and plugins contain custom blocks, testing them for all different versions is imperative. At the very minimum, we need to worry about two versions of Gutenberg: the one ship

LLeonardolosovizLeonardolosoviz·June 15, 2021Architecture