Practical articles on software architecture, resilient distributed systems, .NET and AI engineering, from real work modernizing large-scale systems of the Italian Public Administration. Always with the trade-offs and the code, not only the theory.
I am Francesco Del Re, Executive Program Manager and software architect. More about me.
New book · Apress (Springer Nature), 2026
Designing Self-Healing Systems with .NET
How to build .NET systems that detect their own failures, recover automatically, and verify that the recovery worked.
Latest articles
-
Pick the model by token profile, not by benchmarks alone
A benchmark tells you which capability tier a model belongs to. It cannot tell you what that model will cost on your work. This piece is about the second axis, and the...
-
Anatomy of an AI Agent: Building One That Does Not Drift
The anatomy of an agent is not the hard part. It is a loop, a model, a set of tools, and some state, and it fits on one page. Anyone can build...
-
When AI Builds Itself: Recursive Self-Improvement and the Problem of Drift
In 1965 I. J. Good described a loop. Build a machine that beats humans at every intellectual task, note that designing machines is one of those tasks, and the machine designs a...
-
Software Transactional Memory in .NET: Designing Composable Concurrency
Every system that shares mutable state between threads has to answer one question: how do concurrent operations agree on what the state is. Most of the time we answer it with locks,...
-
Breaking Things on Purpose: From Reliability Math to Chaos Engineering in .NET
I have lost count of the pull requests I approved that wrapped a flaky call in a retry policy. They all look responsible. Someone noticed an intermittent failure, added a circuit breaker...
-
Building a Graph of PDND E-Services
The Piattaforma Digitale Nazionale Dati (PDND) is usually described as an interoperability platform, a catalog of APIs, or a governance framework for data exchange across public administrations. These descriptions are all correct,...
-
Cell‑Based Architecture: pragmatic isolation at scale
Large systems fail for predictable reasons: shared bottlenecks, shared state, and shared deployment units. Even when services are “small”, the operational failure domain often remains one big bucket.A cell-based architecture breaks that...
-
Medallion Architecture for PDND Interoperability Data in Public Administration
(Bronze → Silver → Gold as a path to progressively higher data quality)When you work with PDND-based interoperability, it is tempting to think that the job ends when the e-service exchange is...
-
Interoperability in Enterprise Systems: Integration Patterns for Public Administration and Legacy Landscapes
Interoperability isn’t “we exposed an API”.In enterprise systems, especially in Public Administration (PA), interoperability means exchanging information that stays correct, interpretable, and auditable over time. That “over time” part is where most...
-
Benchmarking in .NET: Measuring What Really Matters
Issues with performance in code rarely arise from intentionally bad behavior, instead, they’re usually based on assumptions. Developers tend to believe they know what’s fast and what’s not, but modern .NET runtimes...
-
Designing High-Quality Public APIs
Public APIs serve as the foundation of today’s software ecosystems. APIs connect services, allow integrations, and empower companies to create value well beyond their own codebases. When an API is designed well,...
-
Building Resilient Distributed Systems with MassTransit in .NET
In today’s software landscape, applications rarely live in isolation. Modern systems need to talk to each other: services exchange data, workflows span multiple applications, and events need to propagate across boundaries.But this...
-
TemporalCollections: High-Performance, Thread-Safe Temporal Data Structures for .NET
TemporalCollections is a personal open-source project I created to address a recurring challenge I encountered while building distributed systems: the lack of ready-to-use, time-aware data structures that are both thread-safe and optimized...
-
The Pragmatic Power of Modular Monoliths in .NET
A modular monolith provides a hybrid architecture, keeping the single deployability aspect of a traditional monolith while enforcing solid module boundaries like microservices. Technically, an application is ultimately a single deployable unit,...
-
Hexagonal Architecture with .NET: Designing for Testability and Adaptability
In an era where software must evolve rapidly, integrate seamlessly, and remain robust over time, how we architect our systems matters more than ever. Among the architectural styles that have been successful...
-
Health Checks in Microservices with C#: Readiness, Liveness, and Startup Probes
In today’s microservices architectures, particularly those that run in Kubernetes, health checks for applications are essential for reliability, observability, and straightforward scalability. Kubernetes offers liveness, readiness, and startup probes, which help Kubernetes...
-
Implementing the Outbox Pattern in C#: Ensuring Reliable Event Publishing
In distributed systems, message communication between services must be ensured with reliability. When we’re working with a microservices architecture and event-driven design, we typically have one primary concern: how to publish messages/events...
-
Real-Time Updates with Server-Sent Events (SSE) in .NET
In modern web applications, sometimes mere request for data is not enough for the client, the server has to push the data to the client as soon as an event happens.Think about...
-
Understanding HATEOAS in RESTful APIs with C# and ASP.NET Core
While designing RESTful APIs, developers go through several stages of REST maturity. One of the most significant concepts to reach higher levels of maturity is HATEOAS, aka Hypermedia as the Engine of...
-
Innovations in Caching: Microsoft HybridCache
HybridCache is a .NET library that combines the benefits of in-memory and distributed caching, simplifying cache management in .NET applications. Beyond standard caching functionalities, HybridCache introduces several innovative features that enhance application...
-
Reverse Proxy: What It Is, What It Does, and a Practical Example with Microsoft’s YARP
The concept of a reverse proxy is widely used in distributed systems architecture. In this article, we’ll explore what a reverse proxy is, why it’s beneficial, and how to implement one using...
-
Clean Code in .NET: Writing Maintainable and Scalable Software
Writing clean code is essential for building maintainable, scalable, and efficient software solutions. In .NET development, following clean code principles helps improve code readability, reduces technical debt, and better collaboration among developers....
-
Understanding JWT Tokens: A Practical Introduction with C# Examples
Nowadays, with distributed systems and stateless APIs, it is very important to transmit information securely among parties. As one of the most popular standards for that purpose, we have JSON Web Tokens.In...
-
Rate Limiting in .NET APIs: Why, When, and How to Implement It
In modern distributed systems, APIs are the backbone of an application talking to another. As these APIs start to grow in scale and popularity, their availability and stability become a concern. Rate...
-
Mastering CQRS in .NET: A Practical Guide
Command Query Responsibility Segregation (CQRS) is a pattern that is commonly encountered while building applications that are easy to maintain and readily scalable, and it is a pattern that we often deal...
-
The Importance of Lint Commit Messages in Software Development
In the modern world of software engineering, strict adherence to code quality and clarity is the main factor for any team to work together, for enhancing the project and keeping it over...
-
Ensuring Idempotency in REST APIs: Why It Matters and How to Implement It in .NET
Idempotency is a key principle in the design of RESTful APIs that ensures stability and reliability for consumers. Alongside the concept of statelessness, idempotency plays a crucial role in preventing duplicate operations,...
-
Transient Error Handling: The Importance of a Commonly Overlooked Practice in Distributed Systems
Transient error handling in distributed systems is among the usual activities that need to be addressed to maintain consistency and reliability. However, most of the developers and software engineers do not take...
-
Elevating Microservices with Observability
One of the fundamental aspects in any system is the 𝗼𝗯𝘀𝗲𝗿𝘃𝗮𝗯𝗶𝗹𝗶𝘁𝘆. A system is said to be observable if the current state can be estimated using only the information from outputs. But...
-
Harnessing the Power of Gateway Aggregation
As we previously mentioned as the most common mistake in the design of microservices architectures is to create a 𝗰𝗵𝗮𝗶𝗻 𝗼𝗳 𝗱𝗲𝗽𝗲𝗻𝗱𝗲𝗻𝗰𝗶𝗲𝘀 between different services.But how do we behave in case a...
-
Failure Detection in Distributed Systems
𝗙𝗮𝗶𝗹𝘂𝗿𝗲 𝗱𝗲𝘁𝗲𝗰𝘁𝗶𝗼𝗻 is a fundamental building block for ensuring fault tolerance in large scale distributed systems. A 𝗳𝗮𝗶𝗹𝘂𝗿𝗲 𝗱𝗲𝘁𝗲𝗰𝘁𝗼𝗿 is a process that responds to questions asking whether a given process has...
-
Unlocking Scalability: How CQRS Transforms Microservices Architecture
read the full article hereAnother fundamental aspect for designing a microservices architecture is the need to make independent the data on which each microservice will interact, that is to design a correct...
-
Safeguarding Microservices: The Power of Circuit Breaker Patterns
Except for the front-end communications between the client and the first level of microservices, it’s recommended to use 𝗮𝘀𝘆𝗻𝗰𝗵𝗿𝗼𝗻𝗼𝘂𝘀 communication across the internal microservices.In case of non-transient errors, a retry scheme may...
-
Navigating the CAP Theorem: Mastering Trade-offs in Microservices Architecture
To design microservices architectures it is essential to have certain knowledge regarding distributed systems engineering. One of the too often underestimated aspects is that any distributed system, which by its nature is...
-
Avoid microservices chain of depedencies
One of the most common mistake in the design of microservices architectures is to create a 𝗰𝗵𝗮𝗶𝗻 𝗼𝗳 𝗱𝗲𝗽𝗲𝗻𝗱𝗲𝗻𝗰𝗶𝗲𝘀 between different services. These chains of inter-service dependencies dramatically decrease the availability of...
Subscribe via RSS to get new articles in your feed reader.