Scenarios
Pages or jobs slow down at specific times. Flows, concurrency, data and performance objectives. The decision is documented with owners, boundaries and a concrete way to verify it.
We establish a baseline, locate where time and capacity are consumed, and verify every change against a scenario representing actual use.
More servers, caching or indexes can hide or move a problem. We first define the experience and load to protect.
We do not treat each need as an isolated feature. We connect the problem to data, rules, dependencies, people and operations so the solution remains understandable after delivery.
Pages or jobs slow down at specific times. Flows, concurrency, data and performance objectives. The decision is documented with owners, boundaries and a concrete way to verify it.
The database shows high CPU, locks or long queries. Layer timings, queries, resources, errors and queues. The decision is documented with owners, boundaries and a concrete way to verify it.
Workers build a queue without known capacity. Evidence and contribution of each factor. The decision is documented with owners, boundaries and a concrete way to verify it.
Caching improves some routes but creates inconsistency elsewhere. Changes by impact, risk, cost and reversibility. The decision is documented with owners, boundaries and a concrete way to verify it.
There is no repeatable scenario to validate changes. Code, queries, indexes, cache, workers or configuration. The decision is documented with owners, boundaries and a concrete way to verify it.
We connect each need to a decision, evidence and a review condition. The matrix does not replace analysis: it makes visible the assumptions that must be confirmed before scope expands.
| Context | Decision | Expected evidence | Review |
|---|---|---|---|
| 01Pages or jobs slow down at specific times. | Target: Percentiles and capacity are more useful than an isolated average. | Scenarios: Flows, concurrency, data and performance objectives. | Define: Scenario, perception and target. |
| 02The database shows high CPU, locks or long queries. | Cache: Only with ownership, invalidation and observation. | Instrumentation: Layer timings, queries, resources, errors and queues. | Measure: Traces, profiles, queries and resources. |
| 03Workers build a queue without known capacity. | Scale: Remove unnecessary work before adding capacity. | Bottleneck profile: Evidence and contribution of each factor. | Change: One prioritized hypothesis at a time. |
| 04Caching improves some routes but creates inconsistency elsewhere. | Target: Percentiles and capacity are more useful than an isolated average. | Prioritized plan: Changes by impact, risk, cost and reversibility. | Verify: Comparison, regression and observation. |
Agree the problem, its users, constraints and consequences.
Choose a proportionate intervention and state what remains outside it.
Produce a usable capability together with its technical evidence.
Review behaviour, risk and the next decision against real data.
Final scope is agreed against available evidence and the risk to reduce.
Flows, concurrency, data and performance objectives.
Layer timings, queries, resources, errors and queues.
Evidence and contribution of each factor.
Changes by impact, risk, cost and reversibility.
Code, queries, indexes, cache, workers or configuration.
Same load, known conditions and explained results.
Scenario, perception and target.
Traces, profiles, queries and resources.
One prioritized hypothesis at a time.
Comparison, regression and observation.
For PHP performance we do not measure progress by code volume. We look for verifiable change in behaviour, risk, team autonomy and operating capability.
We first agree which situation must change and what evidence will demonstrate the outcome. It may be a flow no longer dependent on manual steps, a rehearsed recovery, a centralized rule or a signal enabling earlier diagnosis. Without that reference, a technically correct delivery may still miss the problem.
We then verify that the capability can be maintained: code is reviewable, data retains integrity, failures have a known response and important decisions do not depend on oral memory. Closure includes remaining boundaries and next priorities rather than a promise of perfection.
We make conditions and limits explicit to avoid universal recommendations.
Percentiles and capacity are more useful than an isolated average.
Only with ownership, invalidation and observation.
Remove unnecessary work before adding capacity.
Answers about scope, evidence and ways of working.
Not before a baseline and scenario exist. We define measurable targets after diagnosis.
It may be queries, PHP, network, services, data, cache or infrastructure; evidence decides.
Yes, with safe data and traffic, agreed limits and an appropriate environment.
Only the cacheable, distributable part; it does not replace backend diagnosis.
Continue with diagnosis, execution or related experience.
Tell us about the context, the main blocker and the outcome you need. We will reply with the questions required for an initial assessment.