Skip to main content
Live. This area is documented as current, user-reliable behavior.

Goal

Work through the findings that matter most and know when they are done.

Prerequisites

  • A deployed project with some traffic or runtime history.

Workflow

1
Open Project, Metrics. What to improve sits under the live strip.
2
Open the top finding.
3
Read what is wrong and the evidence, including the chart range.
4
Choose Apply if StackShift can make the change, or follow the fix steps for your runtime or framework.
5
Deploy. StackShift checks again and marks the finding fixed when it clears.
6
If a finding does not apply to you, choose Dismiss and give a reason.

What a finding contains

  • What is wrong, in one sentence.
  • The evidence: the numbers and the chart range they come from.
  • What it is worth: for example about 1.1 seconds faster for 62 percent of phone visitors, or a monthly amount in naira and dollars saved.
  • Fix steps for your runtime or framework, plus the usual causes.
  • One action StackShift can do for you, when there is one: change the memory size, set a runtime cap or turn a setting on.

Ranking

Findings are ranked by impact first, then by how sure StackShift is. The number on each finding is its place among the open ones. The same list appears in Health, in Stackie, over MCP and in the CLI, so they all say the same thing.

States

  • Open: it is happening now.
  • Fixed: it stopped firing after a deploy or a size change since it was found. The finding says which, for example Fixed after 7d2e1fa was deployed. A finding that clears on its own for 24 hours is marked Cleared on its own. If it fires again it reopens.
  • Dismissed: you decided it does not apply. A reason is required. The finding stays dismissed while it keeps firing. Choose Reopen to bring it back.
  • The header counts fixed this month and dismissed.

Memory and runtime findings

  • Out of memory: the service was killed for reaching its limit. Action: raise memory to the next size that fits the measured peak, or turn on a runtime cap.
  • Stopped after crashes: the service gave up restarting. See Restarts and alerts.
  • Likely leak: app memory rises steadily for 6 hours or more and resets on restart. It shows the growth, for example +40 MB an hour, and opens the leak guide.
  • Spiky: short peaks well above the normal level, such as image processing. Run the heavy job in a worker with its own size, or process in smaller pieces.
  • Oversized: the 7-day peak is under 40 percent of the limit. It suggests a smaller size and shows the monthly saving. This is a suggestion only. StackShift never lowers memory on its own.
  • Memory pressure: the service stalled waiting for memory before any kill. Raise memory or lower concurrency.
  • No runtime cap: the app has no cap that keeps it under its limit. Action: turn runtime caps on.
  • Processor held back by its limit: the service was throttled for part of the last hour, which slows responses on small sizes.
  • Disk filling: a volume will be full in the number of days shown at the current rate.
  • Waiting on disk: the service spends time stalled on disk reads or writes.

Speed, delivery, page load and database findings

  • Speed: routes that got slower, routes that cost the most total time, slow requests, slow visitors by country or device, and cold starts. Total time is split into app time and network time so you can tell slow code from a large response or a distant visitor.
  • Delivery: text responses sent without compression, static files without cache headers, heavy responses over 1 MB, top 404 paths and redirect chains, routes with a rising share of 5xx errors, and heavy bot traffic.
  • Page load: from the speed test, images that are too large, render-blocking scripts and styles, unused JavaScript, missing compression or cache headers, too many requests, and fonts that block text.
  • Database: scans of large tables with a suggested index, a low cache hit ratio, connections near the limit, one query called many times per request, and long-running or idle-in-transaction sessions. From a slow route you can open the database’s top queries for the same time window. Queries are matched by time, not traced per request.

Expected result

Open findings go down, and each fixed one says what cleared it and when.

Apply and approvals

Apply makes the change for you. It goes through approvals like any change Stackie makes.

Runtime memory caps

StackShift sets a memory cap for your runtime on new deploys, so the app stays under its limit instead of being killed.

Find a memory leak

When memory climbs and only drops on restart, use the leak guide for your runtime. Node.js can take a memory snapshot from the dashboard.