Problem. To run a local model on a Mac you usually need three command-line tools: one to download the weights, one to serve them and one to chat. You find out that a model does not fit in memory at a given context length only when loading fails. Connecting your own code to the model is one more integration.
Fix. Search, download, size and serve a model from one app.
Problem. Most native image vs JVM numbers come from benchmarks of other applications. Here one service is built both ways from the same source code and measured on the same dashboard, so the numbers describe this code on this cluster.
Fix. Build the native image when memory and startup time matter, and keep the JVM jar otherwise.
Problem. Moving a service to another language was expensive because of the integration work. The language itself was easy to learn. You had to choose a framework, an ORM, migrations and metrics, make them work together and connect them to the production tooling. AI coding tools now do much of that work, so the runtime choice is worth measuring again.
Fix. Run the four services on one cluster and compare their memory in Grafana.
Problem. An investigation question can need a graph query, a document search and a check of the sources. One model call cannot do all of this well. When the work is split into separate tasks, each one using real data, the answers are more accurate and you can see which step produced a wrong finding.
Fix. Give each task to its own agent and trace every step in Langfuse.
Problem. When a bug appears only inside the cluster, debugging with logs means adding a log line, rebuilding the image, redeploying and reproducing the bug again. Each attempt takes minutes, and the new log line may still not show the value you need.
Fix. Add the JDWP flag in a dev overlay and attach through kubectl port-forward.
Problem. When a service that calls two other services fails, you have to read three log streams and match the lines by timestamp. With one correlation ID in every request and every log line, one query returns all the lines of the failed request.
Fix. Put the OpenTelemetry trace ID in every log line and query it in Loki.
Problem. An API often handles exceptions in one of two bad ways. It catches them and logs nothing, so nobody can find the error later. Or it lets them reach the client, and the response shows class names, table names and SQL.
Fix. Log the stack trace in one global handler and return a small JSON error.
Problem. Testing a change on a remote Kubernetes cluster means building an image, pushing it to a registry, deploying it and waiting, which takes minutes for every change. A local cluster removes the remote deploy from that loop.
Fix. Keep one Minikube profile per project and switch with kubectl contexts.
Problem. Different projects need different Java, Python and Node versions. Without a version manager you have one version per language, and you reinstall runtimes by hand every time you change project.
Fix. Install SDKMAN, pyenv and nvm, and pin the version in each project folder.