Journey

Journey chapter

Learning what happens after the request returns

Three years on an enterprise test-management product taught me backend fundamentals, and the background queue I helped build taught me that some of the most important work happens after the user stops waiting.

Backend foundationsReliability

What changed

My first engineering job was at KMS Technology, on Tricentis qTest Manager, a test-case management product used by enterprise QA teams. It was a large product with a large organization behind it, about seventy people across several teams, and a Java backend built on Spring MVC, Spring REST, Hibernate, and PostgreSQL, with an Angular frontend on top.

I joined as a full-stack developer and did what new engineers on a mature product usually do. I built and maintained features, wrote the database migration scripts that shipped with each release, helped with production deployments on AWS, and later hosted Scrum ceremonies for my squad. The work that stayed with me most, though, was not a screen. It was the background queue.

The work that shaped this chapter

A queue for work that should not block a person

Enterprise customers do not use a test-management tool one record at a time. They sync requirements and defects with Jira, import automation results in bulk after a pipeline runs, and copy, move, or delete large test trees in a single action. If any of that ran inside the request, a user would sit and watch a spinner while the server worked through thousands of rows, and one slow customer could slow everyone else.

qTest moved that kind of work into a background queue. Tasks were recorded, picked up by consumers, processed in batches, and ordered by priority, so interactive work did not sit behind a large import. I built parts of it alongside teammates. It was the first time I worked on a system whose correctness could not be judged by looking at a single response.

Batching and priority

Batching made the work affordable. Processing items together cut the per-item cost of database round trips and external calls, which matters when a Jira sync or a results import touches a lot of data. Batching also ties items together: a failure in the middle of a batch raises the question of what already happened and what should run again.

Priority made the queue fair. Not every task is equally urgent, and a user waiting on a small action should not be stuck behind someone else’s overnight import. Any priority scheme also creates a question about the work that keeps losing, so starvation is something to design for, not something to discover in production.

Releases and migrations

Writing release migrations taught a related lesson. A schema change is not finished when it runs on an empty database. It has to run against real customer data, on a schedule, alongside code that may still expect the old shape. Migrations and background work both reward the same habit: assume the system is already busy when your change arrives.

My contribution within the team

I contributed parts of the queue rather than designing it alone. Teammates owned much of its shape, and my work was implementing and extending pieces of it for the kinds of tasks the product needed. Around that, I built product features across the Java backend and the Angular frontend, prepared release migrations, supported AWS deployments, and helped run our Scrum rhythm.

What was hard

The hard part was that background work fails quietly. A request that fails returns an error someone can see. A task that fails in a queue may just never finish, or finish twice, or finish in the wrong order. Understanding it meant reading logs and data, not screens, and thinking about the state a task left behind as well as the code that ran.

The judgment I developed

By the end of this chapter I had started asking questions I still ask about any backend work:

  • Does this need to happen while the user waits, or only before they next look?
  • What is the unit of work, and what happens if it runs twice?
  • If a batch fails halfway, what state is left, and who notices?
  • Which work goes first, and what stops low-priority work from waiting forever?
  • Will this change still be correct on a busy database with years of real data?

Looking back

I would pay more attention to observability earlier: which tasks are waiting, for how long, and why. A queue that works is good. A queue whose health you can see at a glance is much easier to trust and change.

What this opened next

qTest gave me the backend fundamentals: Java and Spring, relational data, migrations, and asynchronous work. The next step was a very different environment, a small team working on services inside a larger microservice system, where testing came first and deployment was part of the job.