#engineering
60 articles tagged with #engineering
Building Resilient Distributed Systems
Lessons learned from scaling infrastructure at hypergrowth startups. Exploring patterns for fault tolerance, graceful degradation, and observability.
How to version and trace releases with Git? A sprint walkthrough - Part 3
Version and trace releases with Semantic Versioning, tags and a sprint walkthrough from the release branch to a production hotfix.
Who does what in a Git workflow? Roles, permissions and the development process - Part 2
Roles and permissions in the Git workflow, the step-by-step development process with Git commands, Azure DevOps branch policies and review best practices.
How to choose a Git branching strategy? - Part 1
Git Flow versus GitHub Flow, the Git terminology we use, our branching strategy, the purpose of each branch and the naming conventions.
How to build and run a Tech Radar? Stages, categories and the assessment - Part 6
How to build and run a Tech Radar with eight lifecycle stages, the assessment steps, the categories and a run checklist.
Why we need a Tech Radar? - Part 5
Why a plain technology list is not enough, and what a Tech Radar gives to new joiners, development teams and the owner team.
What is a Tech Radar? - Part 4
What a Tech Radar is, how it is created from the technology list, and how to read the rings, quadrants and dots.
How to implement technology governance? - Part 3
How to implement technology governance with ownership, a clear scope, version rules, a default status and a review cycle.
Why we need technology governance? - Part 2
The problems of an ungoverned technology stack, like sprawl, support cost and upgrade surprises, and why a shared and owned list is the answer.
What is technology governance? - Part 1
What technology governance is, what it covers and what it doesn't, and why the default status of a new technology is New.
Contract testing use cases and best practices - Part 4
Real-world use cases of contract testing, when to move to consumer-driven contracts with Pact, and the best practices and pitfalls we follow.
How to implement CI/CD with Azure DevOps? - Part 4
Implement the CI/CD workflow with Azure DevOps: pipeline building blocks, recommended tools and tasks, a CI pipeline skeleton and lessons learned.
How to write contract tests for a REST API with REST Assured? - Part 3
Define the contract of a REST API, express it as JSON schemas and write contract tests with REST Assured that catch breaking changes but allow additive ones.
How does a change flow from commit to production in CI/CD? - Part 3
How a change flows from commit to production: the release branch workflow, CI and CD steps, quality gates and how we handle build failures.
How to write API tests with REST Assured? - Part 2
Write readable API tests with the Java library REST Assured: Maven and JUnit setup, Given/When/Then, status, header and body checks, extracting values and debugging.
Who does what in CI/CD? Roles and environments - Part 2
The roles and responsibilities in the CI/CD process, which role owns which phase and the environments a build goes through, with their gates.
What is contract testing and why do we need it? - Part 1
What an API contract is, why we need contract testing, how it fits with unit, integration and end-to-end tests, and provider-driven versus consumer-driven approaches.
What is CI/CD and why do we need it? - Part 1
What CI, Continuous Delivery and Continuous Deployment mean, why we need CI/CD, the goals of our process and its six phases.
What is event sourcing? - Part 7
Event sourcing with fund reference data: event streams, appending with expected version, projections, rebuilding views from scratch and the trade-offs.
What is event-driven architecture? - Part 6
Event-driven architecture with a mutual fund data pipeline in .NET: event contracts, publishing, subscription filters, consumers and the trade-offs.
How to make messaging reliable and consistent? - Part 5
Make messaging reliable: guaranteed delivery, retry, poison messages, dead-letter queues, replay, idempotency, deduplication and Saga consistency.
How to automate API tests with Postman Scripts? - Part 2
Automate API tests with Postman scripts: prepare test cases and data, write tests for real examples and run them with the Collection Runner.
How do messages flow from producer to consumer? - Part 4
How messages flow from producer to consumer: channel adapters, claim check, routers, dispatchers, polling and competing consumers, and ordering.
How to write Postman Scripts? - Part 1
The basics of Postman scripts: when pre-request and test scripts run, the execution order, the Postman Sandbox and how to write a first script.
What are messages, commands and events? - Part 3
Messages, envelopes, commands and events, producers and consumers, channels, queues, topics, brokers and buses, explained with a postal-service model.
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 handle long running requests, versioning, testing and documentation in a REST API? - Part 6
Design long running requests with 202 and a status resource, define breaking changes and version an API, and cover testing and documentation with OpenAPI.
How to improve REST API performance and handle concurrency? - Part 5
Improve REST API performance with Cache-Control, conditional GET, ETag and compression, and handle concurrency with optimistic locking.
How to handle errors and secure a REST API? - Part 4
Classify errors and faults, design the error body and apply the security techniques for a REST API: authentication, CORS and rate limiting.
How to use verbs, representations and status codes in a REST API? - Part 3
Design incoming and outgoing representations, choose the right status codes and use each HTTP verb correctly, with examples.
How to design resources and URIs for a REST API? - Part 2
Identify resources from domain nouns and functions, choose the right granularity with an example and follow the conventions to design URIs.
Why REST and what makes an API RESTful? - Part 1
Why REST replaced WS-* services, what makes an API RESTful and the six REST constraints, with resources, URIs, verbs, safety and idempotence.
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.
How to Configure New Relic Agent for Azure Web App?
Install and configure the New Relic agent for an Azure Web App from the Azure portal: app name, site extension, profiler settings and license key.
How we reduced over 80% of requests to the web servers?
This case study uses Cloudflare page rules and Workers to cache SPA requests at the edge, reducing origin traffic while balancing performance, security and operational complexity.
Getting started with Docker - Part 3
Docker Swarm mode adds managers, workers, Raft quorum, services, routing mesh, overlay networks, stack deployment and secrets for multi-container production workloads.
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.
Secure coding basics - OWASP Top 10 (2017) for .NET developers
OWASP Top 10 2017 risks are translated into practical .NET safeguards for injection, authentication, access control, XSS, deserialization, dependencies and logging.
Cloud cost optimization - right-sizing, reserved capacity and auto-shutdown
Azure cloud cost optimisation combines right-sizing, reserved capacity, auto-shutdown, autoscale, tagging, cleanup, Advisor metrics and showback into a repeatable loop.
How to set up Sentry for .NET and JavaScript error tracking?
Sentry brings API and browser exceptions together with release and environment context, helping teams compare SaaS and on-premise tracking and improve error response.
How to choose a Cosmos DB consistency level and partition key?
Cosmos DB consistency levels and partition keys shape correctness, latency, throughput and cost, with practical guidance for selecting them for a distributed fund workload.
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.
How to create an AKS cluster? (preview)
This guide creates an AKS preview cluster, covering resource groups, regions, managed masters, agent nodes, networking, credentials and the first application deployment.
How to react to Azure events with Event Grid?
Azure Event Grid reacts to resource and application events, covering event sources, subscriptions, filtering, delivery handling, retry behaviour and preview-era constraints.
Resilient HTTP calls with Polly - retry, timeout and circuit breaker
Polly 5.x adds retry, timeout and circuit breaker policies around HTTP calls, with guidance on composition, transient failures, idempotency and safe handling of writes.
Environment drift - why UAT and production are not the same
Environment drift makes UAT and production behave differently, so this article explains how to control configuration, infrastructure, access policies and deployment evidence.
How to run containers in Azure Container Instances?
Azure Container Instances provide fast, per-second container compute, and this guide covers images, resource groups, networking, environment variables, ports and cleanup.
Cosmos DB vs Azure SQL Database - choosing the right data store
Cosmos DB and Azure SQL Database are compared across data models, consistency, transactions, partitioning, scale and operational fit for a fund workload.
How to share code with .NET Standard 2.0 libraries?
.NET Standard 2.0 libraries allow shared business rules across applications, and this guide covers project setup, API compatibility, package versioning and practical testing.
How to upgrade from .NET Core 1.x to 2.0?
This guide upgrades an application from .NET Core 1.x to 2.0, covering project files, package changes, tooling, API updates and a controlled path to ASP.NET Core 2.0.
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.
Postman Environments
Postman environments let us keep one request template for local, dev, qa and production by moving host names and API keys into environment variables, instead of duplicating collections.
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.
Remove dead code - why and how to find it safely
Dead code increases cognitive load and deployment risk, so this guide explains how to find candidates, confirm they are unused and remove them safely with history as a backup.
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.
Avoid sequential coupling and circular dependencies - with examples
Sequential coupling and circular dependencies create hidden constraints, so constructor injection, builders, interfaces and events make code easier to test, change and evolve.
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.