~/blog
Blog
Notes on backend engineering, distributed systems, databases, and running software in production.
11 posts · rss
- php
- software-architecture
- symfony
- backend-development
- doctrine
- refactoring
- devops
- docker
- legacy
- maintainability
- performance
- testing
- authorization
- best-practices
- caching
- clean-code
- code-quality
- containers
- database
- debugging
- deployability
- deployment-strategies
- devsecops
- distributed-systems
- idempotency
- legacy-code
- php-security
- php2shell
- production
- redis
- reliability
- scalability
- secure-design
- security
- shift-left
- software-maintenance
- threat-modeling
2026
Why I Shift Security Decisions Left, Not Just Security Checks
Shifting security left means more than running scanners earlier. It means making authorization, data-flow, and execution decisions early enough to shape the design before they become expensive to change.
#security #shift-left #secure-design #threat-modeling #authorization #software-architecture #backend-development #devsecops
6 min
Why Adding Redis Doesn’t Automatically Fix Performance
Redis can improve PHP application performance, but only when it addresses a measured bottleneck. This article looks at inefficient read paths, cache hit costs, stampedes, fallback behavior, and how to decide whether caching will actually improve the system.
#php #redis #caching #performance #symfony #doctrine #scalability
7 min
The Hidden Cost of `flush()` in a Symfony Application
Doctrine’s flush() can affect much more than the entity a repository appears to save. This article looks at Unit of Work behavior, transaction boundaries, lifecycle listeners, batch processing, failed flushes, and how to make persistence boundaries easier to understand and operate safely.
#php #symfony #doctrine #database #software-architecture
6 min
The First Refactor I Make in a Legacy PHP Application
A practical approach to the first refactor in a legacy PHP application: isolate important behavior, preserve existing semantics, add focused tests, and create a safer starting point for future changes.
#php #legacy #refactoring #software-architecture #testing #maintainability
5 min
The Most Dangerous Button in an Admin Panel Is “Retry”
A practical look at why retrying a failed operation can be dangerous. This article explores uncertain outcomes, stable operation identities, concurrent retries, multi-step workflows, safe recovery actions, and how to test the failure cases that matter.
#php #software-architecture #reliability #idempotency #distributed-systems
6 min