UK Microservices and Data Architecture Guide (2026)

June 202613 min readJames Whitmore, CTO

Direct Answer

ClickMasters default for UK regulated software is modular monolith (not microservices) for teams under 20 engineers -- simpler DTAC evidence, simpler PS21/3 IBS mapping, faster development. When microservices are right: distinct scaling requirements, team-per-service ownership, regulatory boundary separation. When to use event-driven: background processing, async notifications, audit logs. When NOT to use event-driven: synchronous NHS patient-facing requests (latency), FCA payment transactions (ACID required).

Microservices Decision Framework for UK Regulated Software

FactorModular MonolithMicroservicesGuidance
Team size< 20 engineers20+ engineers (team per service)Conway Law: team structure drives architecture
NHS DTAC evidence1 DTAC submission for entire product1 DTAC submission per serviceMonolith simpler for DTAC -- fewer pen tests
FCA PS21/3 IBS mappingSimple: service = IBSComplex: IBS spans multiple servicesMonolith makes IBS boundary clear
Development velocityBEST -- no network latency, shared typesSlower -- network calls, distributed tracingMonolith faster for early stage
Independent scalingService scales as one unitBEST -- scale payment service 10x, reporting 1xUse microservices only when scaling differs materially
Data isolation (NHS multi-tenant)PostgreSQL RLS -- all data in one DBSeparate DB per service -- more operational overheadRLS monolith is simpler for NHS multi-tenant
Deployment complexitySingle CDK stack, one pipelineOne pipeline per service (12+ for complex systems)Microservices multiply DevOps overhead
ClickMasters defaultMost UK regulated products (< 20 engineers)NHS spine integration services, payment processing isolationStart monolith, extract services when pain is real

Event-Driven Architecture for UK Regulated Systems

ClickMasters EDA rule: async for background, sync for clinical and payment. The temptation to make everything event-driven is strong. The FCA PS21/3 and NHS DTAC compliance complexity of async IBS processing is not worth it.

Frequently Asked Questions

Common questions about uk microservices and data architecture guide (2026).

CQRS (Command Query Responsibility Segregation): separate read and write models. For UK regulated software: (1) NHS patient record (writes: every clinical action -- PostgreSQL ACID, reads: patient dashboard -- Redis cache + read replica), (2) FCA payment ledger (writes: every payment transaction -- ACID PostgreSQL, reads: account balance dashboard -- read replica), (3) GDS benefit claims (writes: claim submission -- ACID, reads: case worker dashboard -- eventually consistent read model). CQRS is not needed for most UK regulated products. It adds significant complexity (two data models, eventual consistency handling, read model synchronisation). ClickMasters uses CQRS only when: (a) read patterns are significantly different from write patterns (high-read GDS dashboards with high-write NHS telemetry), (b) write model requires ACID guarantees but read model can tolerate eventual consistency, (c) read scaling needs differ from write scaling. ClickMasters CQRS projects: 8 of 120+ projects use CQRS -- mostly NHS population health platforms with high-read analytics.

Data mesh for UK HealthTech: data mesh (Zhamak Dehghani -- decentralised data ownership, domain-oriented data products) is a large-organisation pattern. For UK HealthTech: (1) applicable for NHS organisations with 20+ data domains (NHS Digital, NHS England -- at scale they are adopting data mesh principles), (2) not applicable for UK HealthTech startups or scaleups (&lt; GBP50M ARR -- premature architectural complexity), (3) data mesh for NHS: NHS FHIR R4 UK Core is the semantic layer for NHS data products -- FHIR is NHS data mesh in practice. ClickMasters: for UK HealthTech startups, a well-structured PostgreSQL schema with domain-separated schemas (patients, appointments, prescriptions, billing as separate schemas) achieves 80% of data mesh benefits with 5% of the complexity. When to consider data mesh: NHS organisation with multiple product teams each owning NHS data domains and needing to share data between teams without creating data silos.

About the Author

James Whitmore, CTO UK software architecture specialist -- 120+ UK regulated products Start with a modular monolith. Extract microservices when the pain is real. The teams that start with microservices spend their first 6 months on infrastructure. The teams that start with a modular monolith spend their first 6 months on product.

Free Architecture Review ClickMasters will review...

Free Architecture Review ClickMasters will review your microservices and data architecture decisions against UK regulated sector best practice. -> clickmasterssoftwaredevelopmentcompany.co.uk/contact/

Book a Free Consultation