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

Tech Stack Lessons from scaling 20x in a year

dev.to · 9 Jan

Cloud Computing · Database · Software Architecture

This technical analysis examines a cloud computing startup's tech stack evolution during a 20x growth phase.

While the core remains Go-Gin, Nuxt, and Firecracker on Hetzner bare-metal, significant changes were driven by performance, cost, and European data sovereignty requirements. The company transitioned from Axiom to self-hosted Parseable on Kubernetes for observability, and replaced Backblaze and Cloudflare with IONOS, Hetzner, and Bunny to satisfy GDPR-conscious enterprise clients. Architecturally, they optimized data persistence by moving from a monolithic 2TB Postgres database to a hybrid model where hot data stays in Postgres while historical data is flushed to S3 as Parquet files, queried efficiently via DuckDB.

Design for Churn

dev.to · 14 Oct

Design Patterns · Software Architecture

AI is making code churn the default, so software should be designed like a garden rather than a building: disposable “annual” code can change freely when protected by durable “perennials” such as interfaces, schemas, API specs, and behavioral tests.

In six months of Forem, 563 commits touched `article.rb` 37 times, while the spam handler changed 13 times; the former signals risky churn in a core model, whereas the latter reflects healthy adaptation. Churn should be measured by architectural layer.

The Business Case for Vanilla JS

lewiscampbell.tech · 12 Apr

Frontend · JavaScript · Software Architecture

The author advocates for using Vanilla JS over complex SPA frameworks like React for production web apps.

By leveraging native browser APIs, developers avoid the fragility of rapid framework churn, reduce build complexity, and simplify long-term maintenance. This approach offers a more stable, performant, and maintainable alternative to modern abstractions that often leak and introduce unnecessary complexity.

Software craftsmanship is dead

pcloadletter.dev · 3 Jan

Agile · Career · Software Architecture

The article explores the perceived decline of software craftsmanship in the modern tech industry.

The author argues that contemporary software development has shifted toward a 'ship it' mentality, prioritizing speed and immediate results over long-term code quality and maintainability. Several factors contribute to this trend, including perverse incentives that measure engineer performance through feature 'impact' rather than architectural integrity. Additionally, the pressures of the Agile methodology backlog and the lower stakes of internet-based software delivery allow teams to easily overlook shortcuts and untested code. The author fears that the core value of software as a craft is disappearing as senior engineers retire or are replaced by a culture focused purely on rapid feature deployment.

Haxy on Haxy

try.haxy.net · 15 Oct

Git · Software Architecture

Haxy is a preview-stage git forge that stores issues, pull requests, and discussions inside the repository and offers a TUI over SSH alongside a web UI.

Metadata changes generate JSON events in commits on a special branch, enabling replication, local offline editing, and event-sourced server updates. The browser UI renders the TUI. Haxy is federated rather than peer-to-peer, allowing portable projects while reducing implementation complexity; it can be built with Zig 0.17.0.

Jails for NetBSD

netbsd-jails.petermann-digital.de · 27 Feb

Linux · Monitoring · Software Architecture

This workflow demonstrates jailmgr and jailctl on NetBSD to provision isolated HTTP services.

It covers bootstrapping, resource limiting, and ephemeral provisioning within a supervision model. The system provides process isolation and Prometheus-compatible metrics without requiring a container runtime or full virtualization, utilizing kernel-level resource accounting and security models.

What Functional Programmers Get Wrong About Systems

iankduncan.com · 9 Feb

Backend · Distributed Systems · Software Architecture

In this insightful piece, the author discusses how functional programming (FP) practitioners often mistake the correctness of a single program for the correctness of an entire system.

While FP provides powerful tools like static types and algebraic data types to ensure a program is well-behaved internally, these tools often fail at the boundaries of distributed systems. In production environments—which include monoliths with multiple servers or external integrations—multiple versions of code often run simultaneously. This asynchronous reality means that a program might interact with data or services from past or future versions that its local type system cannot see. This concept, known as the 'version problem,' is especially prevalent in message queues like Kafka and event-sourced architectures where historical data must be interpretable by modern code forever. The article argues that the true unit of correctness is the set of active deployments rather than any single artifact. To address this, developers should look toward schema registries, database migration linters, and version-aware infrastructure like service meshes to verify compatibility across the entire system ensemble before deploying.

MotifCentral - All Things Motif/Xt/Xlib

motif-central.org · 29 Sept

C · Software Architecture · UI

MotifCentral is a resource hub for Motif, Xt, Xlib, and X11, explaining their layered architecture and programming model.

It offers tutorials for building C applications, widget and X resources guidance, library history, manuals, books, archives, and projects including CDE, window managers, XNEdit, XFile, and preservation initiatives.

Cancelation Terminology

matklad.github.io · 31 Aug

Distributed Systems · Software Architecture · Operating Systems

The article distinguishes three often-confused concepts: synchronous cancelation unwinds control flow and performs cleanup; asynchronous cancelation is a protocol where work acknowledges a cancellation request before releasing resources; graceful shutdown is an application-level pattern that stops new connections while serving existing ones.

TigerBeetle examples show why separating these concepts simplifies concurrent and crash-only systems.

Introducing Automatic Key Verification

signal.org · 11 Aug

Cybersecurity · Encryption · Software Architecture

Signal has implemented automatic key verification, utilizing a "key transparency" system to ensure public encryption keys are consistently mapped to users across its ecosystem.

By employing append-only ledgers and third-party auditors like Cloudflare and Trail of Bits, Signal protects users against "man-in-the-middle" attacks without requiring manual verification, while maintaining high security privacy standards.

the web server deployment model breaks at hobby scale

w.on-t.work · 6 Aug

DevOps · Docker · Software Architecture

Developing hobbyist web applications reveals that the standard deployment model is flawed.

Developers are forced to choose between complex, inefficient DIY infrastructure or bundling everything into a Docker container. This trade-off leads to bloated execution paths and wasted resources, demonstrating that the modular 'professional' scale approach is often impossible for small-scale, self-hosted projects to implement effectively.

Liquid Glass effect for GNU/Emacs

github.com · 4 Aug

macOS · Software Architecture · UI

This repository provides a method to build Emacs on macOS with a native glass transparency effect similar to Ghostty.

By patching emacs-plus@31 with NSGlassEffectView support, users can customize frame blur, background opacity, and glyph visibility for a modern, native aesthetic. It is specifically designed for macOS and requires building from source.

designing a query system

bal-e.org · 3 Aug

Performance · Rust · Software Architecture

The author discusses the design of a sophisticated, pull-based query system for Krabby, a Rust compiler project.

Key features include concurrency, asynchrony, task batching, and integration with Cargo. The architecture aims to improve compilation latency and memory efficiency compared to traditional approaches, using advanced memoization, incremental cache management, and robust cycle detection to optimize Rust development workflows.

Going Backward

antonz.org · 3 Aug

Go · Programming Languages · Software Architecture

Go’s slices.Backward function provides an efficient way to iterate over slices in reverse.

While its generic signature appears complex, it ensures flexibility for slice types and memory-efficient traversal via iterators. This design balances performance, type safety, and reusability, justifying its complexity for standard library implementations compared to simpler, domain-specific alternatives.

Enterprise Haskell at H-E-B

blog.haskell.org · 16 Jul

Backend · Software Architecture · Business

H-E-B transitioned critical supply chain applications from legacy mainframes to Haskell, managing nearly a million lines of code.

Despite initial challenges, Haskell's type safety and reliability proved essential for business logic. Success relied on fostering internal expertise, managing architectural complexity with 'boring' Haskell, and leveraging modern tooling, ultimately proving Haskell as a competitive, durable enterprise solution.

HyperCard on the Macintosh

stonetools.ghost.io · 28 Jun

Programming Languages · Software Architecture · History

HyperCard was a revolutionary Macintosh development tool that empowered users to build interactive applications using 'stacks' and the English-like scripting language HyperTalk.

While technically superseded by modern web technologies, its intuitive, visual approach to software creation remains a cultural milestone, proving that accessible programming can transform non-technical users into creators and engineers.

Nix Flakes and their Guix Equivalents

coopi.neocities.org · 12 Jun

Linux · Productivity · Software Architecture

Nix Flakes and Guix offer similar functional, declarative, and reproducible approaches to package management with different philosophies.

While Nix Flakes provide an all-in-one monolithic abstraction, Guix utilizes a collection of orthogonal tools like channels, manifests, and Scheme records. Both systems solve dependency management and environment isolation effectively through distinct, robust toolsets.

Plan 9 is a Uniquely Complete Operating System

posixcafe.org · 7 Apr

Software Architecture · Operating Systems · Computer Science

Plan 9 is a uniquely complete operating system that includes its own compilers, kernel, and user-space tools in a single repository.

This monolithic design ensures consistent architecture and eliminates configuration fragmentation, serving as an excellent educational tool, though it remains somewhat isolated from the broader software ecosystem and modern feature-rich alternatives.

Value numbering

bernsteinbear.com · 4 Apr

Algorithms · Software Architecture · Computer Science

Value numbering is a compiler optimization technique that identifies and eliminates redundant instructions by determining if expressions produce the same value at runtime.

By mapping instructions to unique values and utilizing hash-consing or global analysis via dominator trees, compilers like Maxine VM reduce repeated computations, ultimately improving execution performance in both static and dynamic environments.

Where it came fromLobstersDev.toCreate a Snapbyte.dev digest and choose Software Architecture as one of your topics.Build your digest