Articles
Engineering problems solved, told through the method: the diagnosis, the options considered, and what went wrong.
Architecture and technical rescue
The service →How I assess an architecture: seven questions before any opinion
Result: every recommendation traces to a driver, says how to check it, and says what would reopen it.
Read the article →
Every client has its own version. How do you get back to one?
Result: a fix is applied once, and every release is tested against every client's configuration.
Read the article →
Do you need a search engine? What your database already does, and what a second store costs
Result: on 504 products and 19,820 customers, PostgreSQL and OpenSearch were equal on relevance and on speed. The difference was operational: no second store, and a write searchable at once instead of a median of 713 ms later. The engine's first query also returned nothing for half the questions until it was tuned.
Read the article →
Should this process be an AI agent? The model proposes, the code decides
Result: on a labelled set of 36 documents, 13 were posted with no person involved, exactly the 13 the criterion predicted, and none that needed review was posted. Every scan went to a person. The model can be changed, measured or removed without redesigning the process.
Read the article →
Modernization
The service →Replacing a live system one role at a time
Result: until the old system is closed to a role, each move can be undone. In the lab, an edit crosses in about 110 ms, a 15-second broker outage lost nothing, and 52 automated tests cover eight failure cases.
Read the article →
Same business, updated stack: move the rules first, then the screens
Result: every screen became WPF and then the shell did too, one screen per release, with no single switch-over; the rules ended in one place behind the API instead of in each screen.
Read the article →
Moving to the cloud: when it pays, and how to move without downtime
Result: capacity follows the load, updates replace containers one at a time with no outage, and the bill is watched from the first month.
Read the article →
Performance and scale
The service →2014–2017
From customer order to raw materials: production planning for a manufacturing execution system
Result: plants that adopted it turned orders into machine schedules and raw-material lists without hand work, and ordered stock from the schedule. Smaller plants with long processes kept planning by hand.
Read the article →
One customer slows everyone down: shared database, or one per customer?
Result: quiet tenants' p95 went from 39.6 ms during a heavy tenant's job back to 4.5 ms (5.1 ms at baseline) once its lines had their own database. Every query runs as two tenants and returns no foreign row; with the policy off, the same test finds 100.
Read the article →
The system is slow. Where, exactly?
Result: the page went from 1,053 ms to 2.0 ms at one user, and from 11,328 ms to 3.8 ms at ten, in nine steps. Indexes alone took it to 42 ms. The second-largest defect was one nobody would suspect, and two defects every code review flags made no measurable difference.
Read the article →
Integration and automation
The service →Applied AI
The service →Where to start?
Describe the problem in a few minutes: what it is about, a little context and how to reach you.
Or write to me directly at contacto@danielcolaco.pt.