Tag: architecture
Mixture of Experts (MoE)
Neural network architecture where a gating network routes each token to a small subset of specialist 'expert' sub-networks, enabling huge total parameter counts at moderate per-token compute cost.
1mo ago
ai_ml advanced
CQRS Pattern
PHP 7.0+
Command Query Responsibility Segregation — separating the write model (commands that change state) from the read model (queries that return data), allowing each to be optimised independently.
2mo ago
messaging advanced
Rules for sizing aggregates correctly — small aggregates with single-entity transactions, referencing other aggregates by ID, and designing boundaries around invariants not convenience.
3mo ago
architecture advanced
API Composition Pattern
An API layer aggregates parallel service calls into a single client response — reducing N round trips to 1 and improving perceived latency.
3mo ago
architecture advanced
A dedicated API layer per frontend client (mobile app, web app, third-party) — each BFF aggregates and transforms microservice data for its specific client's needs.
3mo ago
architecture advanced
Conformist Pattern
A context mapping relationship where the downstream team adopts the upstream team's model wholesale — accepting the upstream language rather than building a translation layer.
3mo ago
architecture advanced
Data Mesh Architecture
Decentralised data architecture where domain teams own and publish their data as products — replacing centralised data lakes that create engineering bottlenecks.
3mo ago
architecture advanced
Domain Model Pattern
An object model of the domain that incorporates both behaviour and data — entities with methods expressing domain operations rather than just data containers.
3mo ago
quality advanced
Graph Databases
3
Databases where relationships are first-class citizens — Neo4j, Amazon Neptune — optimised for traversing complex networks of connected entities that are expensive in relational databases.
3mo ago
database advanced
Hypermedia APIs — HATEOAS
REST APIs that include links in responses — clients discover available actions from the response rather than hardcoding URLs, making APIs self-describing and evolvable.
3mo ago
api_design advanced
Multi-Cloud vs Single-Cloud
Multi-cloud reduces vendor lock-in but doubles operational complexity — most lock-in comes from cloud-native services not the platform itself.
3mo ago
cloud advanced
Offline-First Design
ES2015
1
Designing applications to work without a network connection by default — storing data locally, syncing when online, and handling conflicts gracefully.
3mo ago
mobile advanced
Open Host Service & Published Language
A bounded context exposing a well-defined protocol (Published Language) for all downstream consumers — rather than custom point-to-point integrations for each.
3mo ago
architecture advanced
Polyglot Persistence
1
Using multiple different database technologies in a single application — each chosen for what it does best rather than forcing all data into one general-purpose store.
3mo ago
general advanced
Ports & Adapters (PHP Worked Example)
PHP 7.0+
Hexagonal Architecture in PHP — the application core exposes ports (interfaces), and adapters implement them for HTTP, CLI, databases, and external services.
3mo ago
architecture advanced
Denormalised views of domain data built by processing event streams — the read side of CQRS, optimised for query performance rather than write consistency.
3mo ago
architecture advanced
Infrastructure layer handling service-to-service communication — mutual TLS, observability, retries, circuit breaking, and traffic shaping without application code changes.
3mo ago
architecture advanced
Shared Kernel
A DDD strategic pattern where two bounded contexts intentionally share a small subset of the domain model — requiring tight coordination between teams but reducing duplication.
3mo ago
architecture advanced
Sidecar Pattern
Deploying a helper container alongside the main application container in the same pod — extending functionality (logging, proxying, TLS) without modifying the application.
3mo ago
architecture advanced
Domain objects with only data (getters/setters) and no behaviour — business logic scattered across service classes.
3mo ago
quality advanced