#software-architecture
30 articles tagged with #software-architecture
When One Monolith Would Have Saved Millions
Why a modular monolith can be the lower-cost choice when service boundaries, team capacity and independent scaling needs are not proven.
The "Microservices Too Early" Anti-Pattern
Why microservices should follow domain understanding and proven pressure points instead of being the starting architecture for a team.
What are the styles of integration? - Part 2
The five styles of integration, file transfer, shared database, RPC, API and messaging, with fund-data examples, trade-offs and selection criteria.
What is enterprise integration and why do we need it? - Part 1
Why a mutual fund data platform needs enterprise integration, the common challenges and why a broker beats point-to-point connections.
How to design and implement Future State Architecture? - Part 2
Design a Future State Architecture in three views, logical components, technology choices and solution architecture, and plan the move from the current state.
What is Future State Architecture and why do we need it? - Part 1
A Future State Architecture is a shared destination, not a big-bang rewrite. Learn why we need it, how to think about it in seven steps and the principles behind it.
Saga pattern - managing transactions across microservices
The Saga pattern coordinates distributed transactions through choreography, orchestration and compensation, with a fund subscription example covering failures and durable state.
Event-driven microservices with Event Grid and Service Bus
Event-driven microservices combine Event Grid notifications and Service Bus commands, with guidance on delivery, ordering, idempotency, correlation and durable workflow design.
Technical debt - how to measure it and when to pay it back
Technical debt can be measured through code hotspots, quality signals, debt registers and business impact, helping teams decide when repayment is worth the investment.
Architecture Decision Records (ADR) - documenting the "why"
Architecture Decision Records preserve the context behind technical choices, showing how to write, store, review and evolve an ADR through a fund-domain example.
Distributed caching - hot spots and cache invalidation
Distributed caching reduces repeated backend reads, but hot spots, stale data and invalidation require careful cache-aside design, ownership and operational controls.
API versioning strategies - URI vs header vs query string
API versioning compares URI, query string, custom header and media type approaches, with guidance on breaking changes, ASP.NET Core configuration and deprecation policy.
Backend for Frontend (BFF) pattern for SPA and mobile
The Backend for Frontend pattern tailors API aggregation, payloads and authentication to SPA and mobile clients without duplicating business logic or turning the API into a gateway.
Strangler pattern - migrating a legacy monolith step by step
The Strangler pattern provides a staged way to move capabilities from a legacy monolith behind a facade, while preserving contracts, controlling data ownership and reducing migration risk.
Front-end architecture - Angular 2 vs React for enterprise apps
Angular 2 and React compared for enterprise applications through components, routing, forms, HTTP, state, testing, TypeScript and team architecture decisions.
Event Sourcing - storing the history, not just the state
Event Sourcing explained through state versus event history, commands, aggregates, append-only stores, projections, snapshots and versioned events for practical guidance.
Twelve-Factor App - what it means for .NET teams
The Twelve-Factor App principles interpreted for .NET teams through codebases, configuration, backing services, processes, logs, deployments and Azure operations for practical guidance.
Idempotency in REST APIs - why DELETE twice is still gone
REST API idempotency explained through safe DELETE retries, idempotency keys, action filters, atomic response storage and reliable client retry behaviour.
Fine-grained vs coarse-grained APIs - avoiding chatty APIs
Fine-grained and coarse-grained APIs compared through response shape, client composition, network calls, latency, business views and the cost of chatty requests.
API Gateway pattern - one front door for many services
The API Gateway pattern explained through routing, authentication, rate limiting, aggregation, caching, Azure API Management policies and ownership boundaries for practical guidance.
Microservices - Part 2
Microservices Part 2 compares synchronous HTTP and asynchronous messaging through timeouts, retries, Service Bus, duplicate handling and eventual consistency for practical guidance.
Microservices - Part 1
Microservices Part 1 explains Conway's Law, modular monoliths, service ownership, distributed data, deployment independence and the hidden costs of service boundaries.
Single Page Application (SPA) architecture with AngularJS and Web API
Single Page Application architecture explained through AngularJS routes and services, ASP.NET Web API boundaries, token handling, deep links, validation, and trade-offs.
What is CQRS - separating reads and writes, and when not to use it?
CQRS explained through commands, handlers, queries, read models, eventual consistency, and the situations where separating reads and writes is unnecessary.
Introduction to Domain-Driven Design (DDD) - bounded context and ubiquitous language
Domain-Driven Design introduced through ubiquitous language, bounded contexts, glossaries, aggregates, value objects, and business invariants across complex business domains and teams.
Monolith vs Microservices - should we start with microservices?
Monoliths and microservices compared through modular boundaries, extraction signals, scaling, team ownership, distributed failure, and practical starting criteria for growing teams.
What is RESTful API - resources, verbs and status codes?
RESTful API design explained through resources, HTTP verbs, safety, idempotence, Web API 2 controllers, and status codes using a news article example.
Repository and Unit of Work patterns with Entity Framework - help or overhead?
Repository and Unit of Work patterns examined with Entity Framework 6, including generic repositories, focused interfaces, persistence leakage, and transaction boundaries.
Onion architecture vs N-Tier - which one to choose?
Onion architecture and N-Tier compared through dependency direction, project structure, domain boundaries, dependency injection, and criteria for choosing between them.
What is N-Tier architecture and where does it fail?
N-Tier architecture explained through layer responsibilities, logical boundaries, shared databases, pass-through layers, and failure modes that make maintenance difficult in practice.