Learn

Troubleshooting

A slow application: where would you measure first?

“The application is slow” is a useful starting point, not a diagnosis. Define the symptom, narrow its scope and collect evidence before deciding what to change.

THINK IN STEPS

Start with a specific symptom

Fictional scenarioThis example and all its numbers are illustrative. It is not a client incident, a lab result or a performance target.

At 10:15, three employees say an order-entry application is slow. Other websites appear normal. One employee says the order list takes about twelve seconds to open; it normally takes about two.

Write down the exact action, when it started, who is affected and what normally happens. Ask whether signing in, opening the list and saving an order are equally slow. Those are different operations, not one interchangeable symptom.

Record recent changes and build a description you can reproduce. Structured troubleshooting starts by gathering facts and comparing current behaviour with known normal behaviour.[3]

Narrow the scope

Start with comparisons that distinguish competing explanations, not a random collection of tools.

  • One device or several? Compare the same action at the same time.
  • One location or several? Record whether users share an access point, switch, site or provider.
  • Wi-Fi and cable? A controlled comparison is useful, but changing device and connection together introduces two variables.
  • One application or many? Compare equivalent tasks where possible, not a tiny cached page with a complex report.
Keep in mindOther websites working does not prove that the network path to this application is healthy. A different application can use a different destination, path and workload.

Choose the measurement for the question

Network latency describes delay; a round-trip measurement includes the outward and return paths. Packet loss describes traffic that does not arrive, and variation in delay is commonly called jitter. These metrics answer different questions.[1]

  • Task duration: reproduce the exact action and record how long it takes. This is the symptom to explain.
  • Round-trip time and loss: compare observations towards relevant destinations during the affected period. A normal result is not proof that the application is healthy.
  • Interface utilisation: check whether the relevant link is busy when the symptom occurs, not just hours later.
  • Errors and drops: inspect changes over the relevant interval. A lifetime counter alone does not tell you when a problem happened.

Congestion, queueing and packet drops can contribute to poor performance. Correlate the observations with the affected time and interfaces before attributing a cause.[1]

Why not start with a speed test?

A speed test measures traffic to its own endpoint under its own conditions. It does not reproduce the application transaction. It can be useful for a particular question, but it cannot, by itself, clear or condemn the entire network.

Follow evidence along the path

Measurement pathA useful measurement answers a precise question about one part of the pathDeviceWi-Fi or cableLocal switchRouter / gatewayInternet linkApplication / serverCompare each observation with the symptom and time
A conceptual path to an internet-hosted application. Local applications may not use the internet link.

In our fictional example, a wired and a wireless user reproduce the same delayed action at the same time. That makes an explanation limited to one user’s radio link less convincing, but does not yet identify the cause.

Next, collect observations from the relevant shared path during the delayed transaction, then compare them with application-side timing where authorised access exists. If you have no server access, record that gap instead of inventing a server diagnosis.

Reasoning, not a verdictA shared symptom suggests looking for shared dependencies. It does not establish which dependency is responsible.

Compare with normal behaviour

A baseline is a record of normal behaviour under understood conditions. It makes comparisons more meaningful than judging a single number without context.[2]

Compare the same task, destination, location and type of workload. Record when the baseline was captured and whether user count, application version or other conditions differ.

If you have no baseline, collect a repeatable observation now and label its limits. A reference from an unaffected user can help, but is not automatically a perfect control.

Test a hypothesis, then verify

Suppose the application team finds that this particular list query became slower after a change. That is a fictional branch of the investigation, not the expected answer to every slow-application problem.

State the hypothesis and the evidence supporting it. Agree a safe test, change one relevant variable where practical, and repeat the original user task. Keep a rollback plan for operational changes.

An improvement in a dashboard metric is not enough if the order list still takes twelve seconds. Verify the user-visible symptom under comparable conditions.

  1. Record the symptom and timestamps.
  2. List observations separately from interpretations.
  3. Choose the next test that distinguishes plausible causes.
  4. Make only authorised, controlled changes.
  5. Repeat the original task and document the result.

Check your reasoning

Ping looks normal. Is the network cleared?

No. That observation describes a particular probe and time, not the complete application exchange. Keep it as evidence with a limited scope.

A reboot helped. Have we found the cause?

No. You have observed an improvement after an intervention. Unless evidence identifies the mechanism, the cause remains uncertain. Rebooting can also remove useful transient evidence.

Everyone is affected. Must it be the server?

No. Shared access equipment, routing, provider connectivity and application dependencies are also possible. The next measurement should distinguish them.

What to remember

The essentials

  • Define a repeatable symptom before selecting a tool.
  • Compare affected and unaffected conditions carefully.
  • Match the measurement to a precise question.
  • Correlate timestamps and relevant interfaces.
  • Separate observation, hypothesis and confirmed cause.
  • Verify the original user task after a change.

Sources and further reading

  1. Cisco: Troubleshooting Network Latency and Packet Drops
  2. Cisco: Performance Management Best Practices
  3. Cisco: Troubleshooting Overview
Explore more

Return to the Library →