Tag: architecture
Concurrency vs Parallelism
Concurrency is about dealing with multiple tasks at once (structuring); parallelism is actually executing multiple tasks simultaneously (hardware). You can have one without the other.
2mo ago
concurrency beginner
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
Cloud-Native Patterns
PHP 5.0+
Stateless services, externalised config, health checks, graceful shutdown, and immutable infrastructure — the 12-Factor App extended for containers.
3mo ago
cloud intermediate
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
A distributed system can guarantee only two of three simultaneously: Consistency, Availability, Partition Tolerance — driving fundamental design trade-offs.
3mo ago
architecture advanced
Two patterns for coordinating microservices: orchestration uses a central coordinator that calls each service; choreography uses events that services react to independently.
3mo ago
architecture advanced
Wrapping calls to a flaky downstream service with a state machine that opens (stops calls) after threshold failures, preventing cascade failures.
3mo ago
architecture intermediate
Robert C. Martin's layered architecture that places business rules at the centre, independent of frameworks, UI, and databases.
3mo ago
architecture advanced
Cohesion
The degree to which elements within a module belong together; high cohesion means a class does one thing and does it well.
3mo ago
quality intermediate
Command Query Separation (CQS)
Methods should either return a value (query) or change state (command), but never both.
3mo ago
quality intermediate
A DDD strategic pattern that maps the relationships between bounded contexts — defining integration patterns like Anti-Corruption Layer, Shared Kernel, and Customer-Supplier.
3mo ago
architecture advanced
Conway's Law
"Organisations design systems that mirror their own communication structure" — team topology shapes architecture whether you plan it or not.
3mo ago
general intermediate
Coupling
The degree to which one module depends on another; high coupling makes changes expensive and testing difficult.
3mo ago
quality intermediate
Separates the model for reading data (queries) from the model for writing data (commands), enabling independent optimisation of each.
3mo ago
architecture advanced