Topic

Software Architecture

Discover software architecture discussions covering design patterns, system design, and architectural decisions. Our digest consolidates microservices, monolith patterns, and domain modeling from developer communities.

What this topic tracks

  • Language and framework updates
  • API, architecture, and deployment patterns
  • Performance, reliability, and production lessons

Software Architecture · 1,135 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

A tale about fixing eBPF spinlock issues in the Linux kernel

rovarma.com · 17 Mar

Linux · Performance · Software Architecture

The Superluminal team resolved a Linux kernel freeze issue caused by the newly introduced resilient queued spinlocks within eBPF ring buffers.

Frequent sampling NMIs triggered recursive locking race conditions, leading to system stalls. Collaborating with kernel maintainers, they implemented critical fixes for rqspinlock deadlock detection, now incorporated into Linux kernel 6.19 and backported to 6.17/6.18.

Cord: Coordinating Trees of AI Agents

june.kim · 18 Feb

Artificial Intelligence · Large Language Models · Software Architecture

Cord is a multi-agent coordination framework that allows AI agents to dynamically build task trees instead of following hardcoded workflows.

Using primitives like spawn and fork, agents manage dependencies, parallelism, and context flow autonomously. It leverages Claude's ability to decompose problems at runtime, providing a more flexible structure than existing frameworks.

Elasticsearch was never a database

paradedb.com · 18 Sept

Database · Elasticsearch · Software Architecture

The article explores why Elasticsearch should not be utilized as a primary database or system of record, despite its popularity.

Originally built as an API over Apache Lucene, Elasticsearch excels at full-text search but lacks the fundamental guarantees of a relational database like Postgres. Fundamental issues include the absence of atomic transactions across multiple documents, lack of traditional isolation levels, and asynchronous search refreshes that lead to consistency gaps. Furthermore, schema changes often require full reindexing, and complex relational queries like joins are not natively supported, forcing developers to implement clumsy workarounds. While Elasticsearch is an exceptional search engine, relying on it as a source of truth introduces significant operational risks and complexity regarding data integrity and reliability.

Do Repeat Yourself

arcentry.com · 16 Nov

Leadership · Software Architecture · Fintech

Megabank’s attempt to eliminate duplicated work by imposing Go, React, Kubernetes, and shared components stalls delivery because teams have different technical requirements and expertise.

A better approach is Service-Oriented Architecture: let teams repeat implementations and choose suitable stacks, while enforcing boundaries and interoperable interfaces. The platform team should standardize Docker containers, static frontend assets, RESTful HTTP APIs documented with Swagger, shared CSS, portal infrastructure, and collective documentation, improving coordination without over-abstraction.

Who Here Has Worked with Legacy? The Longer You Wait, the Worse It Gets

dev.to · 18 Jun

Frontend · Productivity · Software Architecture

Following her JSNation talk, the author explores migrating legacy frontend applications.

She compares two core strategies: the Big Bang rewrite, suitable for smaller projects, and the Strangler Pattern for larger, complex systems. Emphasizing that procrastination increases technical debt and security risks, she advocates for proactive maintenance to ensure product longevity and modern performance.

Significant progress made on Xbox 360 recompilation

readonlymemo.com · 29 Mar

C++ · Programming Languages · Software Architecture

This update explores ReXGlue, an innovative static recompilation tool for Xbox 360 games.

Developer Tom explains how the project uses AOT compilation to convert PowerPC code into native C++ for PC, distinguishing it from traditional JIT-based emulation. The report also highlights the N64RecompLauncher and various updates to emulator projects like ShadPS4, RPCS3, and PPSSPP.

Continuous reinvention: Volumes that fit

allthingsdistributed.com · 3 Dec

AWS · Backend · Distributed Systems · Software Architecture

Amazon EBS launched Adaptive Volumes, which charge for bytes written rather than provisioned capacity, eliminating the need to right-size volumes.

The feature combines a decade of systems work: Physalia tracks volume partitions and extents, placement moves data across servers, and Block Express maps logical addresses to physical storage. Filesystems notify EBS through TRIM (NVMe Deallocate) when blocks are freed, enabling safe deallocation and savings, though preallocated database files may not release space.

How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline

engineering.grab.com · 23 Nov

Artificial Intelligence · Big Data · Software Architecture · AI Agents

Grab rebuilt Scarlet around a compact core prompt and Markdown skill library, enabling multiple teams to turn Slack messages, Jira tickets, or API calls into reviewed production data pipeline changes.

It now shows plans, enforces user-scoped permissions, requires approval for mutating actions, and validates candidate data with schema, quality, and row-level checks. Since May 2026, usage tripled, repositories grew fourfold, and merge rates exceeded 85%, while humans retain merge authority.

Beyond Test Cards: A Fake Payment Provider for Testing at Scale

eng.lyft.com · 10 Nov

Backend · Software Architecture · Testing · Fintech

Lyft built a Fake Payment Provider to simulate processor behavior beyond all-success or all-failure test cards.

Hidden behind the existing provider interface, it uses scenario data embedded in payment tokens to model action-specific failures, latency, chaos, retries, and network decline codes, and is restricted to simulatedusers. The system enables broader staging tests, production load testing, and production canaries for new payment workflows. Lyft plans to evolve it into a service supporting record/replay, webhooks, disputes, and outages.

Bringing Local Analytics to the Quant's Desktop

duckdb.org · 3 Nov

Data Science · Database · Software Architecture · Fintech

DuckDB gave Ryan Hamilton, a longtime kdb+ platform builder for banks and hedge funds, an embedded analytical engine he could recommend to smaller teams without servers or costly licensing.

In QStudio, analysts save expensive remote query results as Parquet and reuse them locally; its Java integration now works reliably. TimeStored’s Pulse uses DuckDB for snapshots, caching, and data exploration. His open-source PeachQ combines the Rayforce in-memory engine with DuckDB-backed historical storage, separating Q from the database.

Upgrading MLflow Pipelines Across a Python Version Boundary

engineering.zalando.com · 29 Oct

Artificial Intelligence · Machine Learning · Python · Software Architecture

The team migrated production MLflow models from Python 3.10 on Databricks Runtime 14.3 to Python 3.12 on DBR 17.3 without retraining.

Legacy cloudpickle artifacts failed because Python bytecode changed, causing a code() TypeError. A temporary matching environment loaded the models, extracted their native artifacts, and repackaged them in standardized MLflow PythonModel wrappers with pinned dependencies and code_paths. The team now favors native formats and Models from Code to eliminate pickle-related compatibility risks.

Bringing post-quantum cryptography to geographically fenced key management

blog.cloudflare.com · 23 Oct

Backend · Cybersecurity · Encryption · Software Architecture

Cloudflare launched PQ GeoKey Manager in closed beta for its Data Localization Suite.

It uses regional root keys and application-specific HPKE key pairs with hybrid ML-KEM-768/X25519 to wrap private keys. Wrapped ciphertext is distributed globally through Quicksilver, while root keys reach only authorized edge servers verified through TPM, Zinc, and provisioning. Requests fail closed outside permitted regions. Soft and hard rotation are supported; GA is planned for Q1 2027, with Cloudflare One and CDN integrations forthcoming.

How Commerce.com and Cloudflare are getting storefronts ready for AI agents

blog.cloudflare.com · 21 Oct

Artificial Intelligence · Software Architecture · Business · AI Agents

Commerce.com and Cloudflare enabled WebMCP across nearly 100,000 storefronts, giving AI agents structured tools such as product search and cart management instead of requiring unreliable HTML-based clicking.

Cloudflare injects the bridge at the edge, while tools run in the shopper’s browser and Commerce.com controls commerce logic and checkout. Configuration Rules and hostname metadata provide merchant-level opt-outs, custom MCP paths, and fallbacks for unsupported browsers or offline servers.

A fully programmable secure web gateway

blog.cloudflare.com · 15 Oct

Authorization · Cybersecurity · Serverless · Software Architecture

Cloudflare is making its secure web gateway and DLP programmable by running customer-written Workers inline with policy decisions.

The new Forward action, in public beta for all Zero Trust plans, sends matched HTTP traffic through a Worker that can transform requests/responses or trigger asynchronous actions without extra network hops. Custom Functions, expected before year-end, return values for Gateway rules, while DLP validation functions can verify detected secrets against external sources, enabling tailored enforcement without proxy infrastructure.

Filter, reshape, and redact logs before export with Transformers

blog.cloudflare.com · 12 Oct

Backend · Big Data · Observability · Software Architecture

Cloudflare’s Logpush Transformers let teams filter, redact, and reshape logs with SQL before export, reducing downstream processing, data volume, and cost.

Transformers run in-process within Bufstream using Apache DataFusion and Apache Arrow, avoiding network hops while supporting high throughput and predictable resource use. Queries apply per batch, produce NDJSON, fail closed on errors, and can be managed through Transformer Studio or the API. The feature is available on Free, Pro, Business, and Enterprise plans.

Building an evidence-grounded agentic security operations harness on Cloudflare

blog.cloudflare.com · 7 Oct

Artificial Intelligence · Cybersecurity · Software Architecture · AI Agents

Cloudflare built an evidence-grounded, multi-AI-agent security operations harness for Managed Defense that triages alerts, gathers deterministic reconnaissance, correlates related events, and produces auditable recommendations while keeping analysts responsible.

Clef filters noise and scores evidence; specialist agents separately analyze traffic, customer history, global aggregate telemetry, and threat intelligence, then a synthesis agent cites a versioned evidence package. Workers, Workflows, D1, R2, Durable Objects, Flue, and AI Search support the process, which records gaps and avoids unsupported classifications.

What Happened To WebAssembly

emnudge.dev · 31 Dec

Software Architecture

WebAssembly (Wasm) is often misunderstood as a failed promise because it hasn't visibly replaced JavaScript in mainstream web development.

However, this article argues that WebAssembly is thriving as a critical backend and plugin technology. It is currently being utilized by major platforms like Figma, Godot, and Stackblitz to run complex C++ or Rust code in the browser with near-native performance. Beyond the browser, Wasm offers a 'deny-by-default' security model that allows for efficient, isolated execution of untrusted code, enabling faster cold starts than traditional processes. While it functions as a portable compilation target similar to the JVM, its minimal attack surface and embeddable nature make it ideal for bridging language gaps in diverse environments. The technology is evolving through the Bytecode Alliance and W3C, shifting from a visible developer tool to a foundational layer used by library authors to enhance performance and portability transparently.

I Built slothd: A Local-First, Offline-Capable AI Daemon That Patiently Organizes Your Messy Workspace

dev.to · 21 Oct

Artificial Intelligence · CLI · Python · Software Architecture

slothd is a local-first, offline-capable AI daemon that organizes messy workspaces when the user is idle.

Its two-stage funnel uses a 7-signal local heuristic or Prior Labs TabPFN for fast anomaly and duplicate detection, then Gemma 3 through Ollama for document and image understanding. Files are handled non-destructively with dry runs, SQLite WAL manifests, collision avoidance, and undo. Semantic search uses Tiger Data pgvector or a local SQLite fallback. A fixture scanned 10 files offline, flagged two anomalies, and found one duplicate set.

Where it came fromHacker NewsCloudflare BlogDev.toAll Things DistributedGrab EngineeringLyft EngineeringCreate a Snapbyte.dev digest and choose Software Architecture as one of your topics.Build your digest