Architecture patterns and when to use them
A practical guide to layered, hexagonal, vertical-slice, modular-monolith, service, event-driven, CQRS and migration patterns, and the constraints that justify each one.
Read articleInsights
Technical articles on languages, databases, serverless platforms and the awkward realities of keeping systems moving.
Showing 19–27 of 72 articles
A practical guide to layered, hexagonal, vertical-slice, modular-monolith, service, event-driven, CQRS and migration patterns, and the constraints that justify each one.
Read articleHow to distinguish capacity problems from architectural ones, recognise evidence for extracting a service and move a bounded capability without losing data ownership, reliability or delivery speed.
Read articleWhat referential transparency and immutability mean in working Scala code, the reasoning and concurrency advantages they provide, and where controlled state remains the better engineering choice.
Read articleHow lazy val, def, call-by-name parameters, LazyList and effect suspension differ, and the initialization, memory, concurrency and debugging trade-offs behind deferred work.
Read articleHow case classes, sealed traits and enums form product and sum types, how they remove invalid combinations, and what they cost at API, persistence and evolving-codebase boundaries.
Read articleHow FS2 represents effectful streams, controls demand, manages resources and concurrency, and turns large or continuous workloads into testable Scala programs.
Read articleHow category-theoretic ideas influence map, flatMap, typeclasses and effect libraries, and how to use that vocabulary without turning application code into an abstraction exercise.
Read articleHow unit and integration tests provide different evidence, where mocks and real adapters belong, and how to build a suite that stays fast without testing away production risk.
Read articleA practical approach to selecting valuable browser journeys, writing stable Selenium tests, controlling data and authentication, and turning failures into useful delivery evidence.
Read articleStart a conversation
A feature that needs shipping, an ageing service that needs attention, or a deployment that has become harder than the code. Talk to us about your problems.