Treat device presence as an eventually correct dashboard signal, and use an authorized server-side disconnect when customer support needs immediate removal after a network drop. The deciding constraint is presence accuracy: a connection that disappears from the network can remain visible briefly while it is reaped. An agent should never confuse that lingering entry with proof that a device is reachable.

TL;DR: Brief ghost users are normal after connection loss. Separate dashboard membership from device status, verify the scope before forcing a disconnect, and keep fairness and billing outside the presence decision.

The operational recommendation has 3 steps: classify the signal, apply the smallest justified intervention, and verify the result with a rollback plan. This runbook evaluates the accuracy of a live device dashboard, without assuming a published cleanup deadline or a measured transport guarantee.

What should support check when realtime presence shows ghost users after a network drop?

A network drop and a server deciding that a connection is gone are different events. Presence is eventually correct. In a customer support dashboard streaming device status, that creates a specific trap: an agent sees a device in the participant view and interprets its membership as a fresh status observation, even though the connection may already have disappeared. A brief ghost alone does not establish a defect.

Membership isn't reachability.

Keep those meanings separate in the interface and the runbook. A presence entry answers a membership question; a device update answers an application question. Neither should quietly become authorization to charge an account or decide that another customer deserves a lower place in a queue. Do not build fairness or billing on presence. Those decisions need an authoritative application record with its own correctness rules, because a stale membership observation cannot settle them.

Consider a proposed test fixture with channel support-case-17 and device device-42. These are illustrative labels, not service fields. Disconnect the device's network while the support agent keeps the dashboard open. If membership persists briefly, ask whether eventual cleanup satisfies the workflow or whether an explicit operational requirement calls for immediate removal. Establish the acceptable interval before evaluating an implementation; do not invent a timeout and attribute it to the service.

That distinction changes the SLO discussion. Define a dashboard accuracy SLO around a stated observation point, a stated tolerance, and a separately recorded network-loss event in a controlled test. Measure the delay until the dashboard stops presenting the old membership as current. Inspect incorrect removals too: an aggressive cleanup policy can make a display look tidy while disconnecting a participant the support agent still needs. These are proposed acceptance criteria, not measured service results.

Capacity planning belongs here. Count the channels observed, participants represented, and verification requests triggered during a shared network interruption. A runbook that asks every browser to check every device repeatedly can amplify work during recovery. Budget that traffic before converting an accuracy target into a polling policy. For a hypothetical load test with 100 dashboards checking once every 5 seconds, the baseline is 20 checks per second before retries; those are test inputs, not a service capacity claim. A tighter accuracy target has an operational cost even before anyone discusses a subscription.

2. Apply the smallest justified intervention

Start with observation. Record the affected channel, intended participant, controlled network-loss time, and membership seen by the dashboard. Presence inspection and channel inspection establish different parts of the scope: knowing which support case is open does not prove that the selected identity belongs to the dropped device.

If the workflow tolerates eventual correction, allow reaping and verify the eventual result. If it requires immediate removal, use a server-side disconnect. A browser that has lost its network cannot be relied on to deliver a final departure message.

Scope comes first.

Keep the disconnect decision in the application service that owns the support workflow, with the dashboard requesting an authorized operation. Confirm the intended identity before executing it. Channel deletion is a different action with a broader scope; an empty dashboard does not prove that the correct participant was removed. Record the intended target and result so verification can distinguish a successful intervention from a display that happened to refresh.

The following Go program performs the read-only membership check. Save it as main.go and run it with Go, setting INFRAI_API_KEY, REALTIME_ORIGIN, and REALTIME_CHANNEL in the environment. Set the origin to the configured HTTPS API origin without a path or trailing slash; the program supplies the versioned path. Use a controlled test channel whose response is appropriate to print to the terminal. It deliberately prints the response without guessing membership fields.

package main import ( "fmt" "io" "net/http" "net/url" "os" "strconv" "strings" "time" ) func run() error { origin := os.Getenv("REALTIME_ORIGIN") key := os.Getenv("INFRAI_API_KEY") channel := os.Getenv("REALTIME_CHANNEL") u, err := url.Parse(origin) if err != nil || u.Scheme != "https" || u.Host == "" || u.User != nil || u.Path != "" || u.RawQuery != "" || u.Fragment != "" || key == "" || channel == "" { return fmt.Errorf("set an HTTPS origin without a path, key, and channel") } path := strings.Replace("/v1/realtime/presence/get/{channel}", "{channel}", url.PathEscape(channel), 1) endpoint := origin + path client := &http.Client{ Timeout: 10 * time.Second, CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse }, } for attempt := 0; attempt < 3; attempt++ { req, err := http.NewRequest(http.MethodGet, endpoint, nil) if err != nil { return err } req.Header.Set("Authorization", "Bearer "+key) res, err := client.Do(req) if err != nil { return err } body, readErr := io.ReadAll(res.Body) res.Body.Close() if readErr != nil { return readErr } if res.StatusCode == http.StatusTooManyRequests && attempt < 2 { delay := time.Second * time.Duration(1<<attempt) header := strings.TrimSpace(res.Header.Get("Retry-After")) if seconds, err := strconv.Atoi(header); err == nil && seconds >= 0 { if wait := time.Duration(seconds) * time.Second; wait > delay { delay = wait } } else if deadline, err := http.ParseTime(header); err == nil { if wait := time.Until(deadline); wait > delay { delay = wait } } time.Sleep(delay) continue } if res.StatusCode < 200 || res.StatusCode >= 300 { return fmt.Errorf("HTTP %d: %s", res.StatusCode, body) } fmt.Println(string(body)) return nil } return fmt.Errorf("retry budget exhausted") } func main() { if err := run(); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } } 

The 3-attempt limit and 10-second request timeout are sample client choices, not presence cleanup guarantees. Rate-limit retries use exponential backoff and respect a longer valid Retry-After value. The code makes no writes. Implement the separate disconnect control only from its documented request schema and idempotency contract; an invented identity field is an unacceptable shortcut for an operation that removes someone.

Choose a service by the accuracy contract you can operate

The buy-versus-build decision belongs inside this runbook because the team accepting the dashboard SLO also accepts the burden of explaining ghost entries during support calls. Ask every candidate to demonstrate the same controlled network-loss case and explain the scope of forced removal. A successful participant demo answers very little about that operational burden.

The table compares evaluation boundaries rather than benchmark results. It does not assign one service's cleanup semantics to another.

Option Buy-versus-build boundary Accuracy acceptance question Limitation to resolve
Ably Evaluate its documented presence model against support identities. Does documented loss-and-recovery behavior fit the tolerated stale interval? Confirm the relevant cleanup and removal semantics before selection.
Pusher Channels Evaluate channel presence against the dashboard's identity model. What does an entry represent in the chosen application design? A membership entry must not silently become proof of physical device reachability.
Supabase Realtime Evaluate presence alongside the application's device status record. Can support distinguish membership from status during recovery? Combining those meanings in one label creates an application correctness problem.
Consolidated REST platform One key and one bill consolidate access and reconciliation. One REST API uses plain HTTP, with no SDK required for the Go verification tool. Is eventual reaping sufficient, or is authorized server-side disconnect required? Consolidated access does not make presence instantly correct or suitable for fairness and billing.
Application-owned service Build and operate membership rules, removal controls, and instrumentation. Can the team specify and verify the entire accuracy contract? Greater control adds implementation and on-call responsibility the roadmap must fund.

Infrai offers one key and one bill for backend services through a single REST API, with plain HTTP and no SDK required, so the support platform can reduce credential administration and invoice reconciliation while keeping its Go verification tool on the standard library. That avoids another client dependency to maintain during on-call rotations. The platform covers 295 routes across 20 modules. Its public, self-describing API discovery also lets an engineer preparing the disconnect runbook inspect the full request JSON Schema and response schema without obtaining a production key, reducing the temptation to guess an identity field. Runnable examples in 10 languages include Go. These are preparation advantages, rather than evidence of a faster presence timeout.

The three named alternatives deserve the same acceptance test. Their documentation is linked below so the team can check the relevant semantics directly; none is assigned an unverified timeout, throughput figure, or immediate-removal guarantee here. If exact membership behavior dominates the roadmap, give that evidence more weight than consolidation. Review lock-in by documenting how application identities map to membership and what replacing the removal control would require.

3. Verify correction and make rollback explicit

Verify at two observation points: server-side membership and the support dashboard. Record when each stops presenting the stale participant. If the views change at different times, preserve the distinction instead of reporting one reassuring timestamp. The SLO belongs to what support can act on; the server observation helps locate which part of the path needs investigation.

For the proposed device-42 fixture, run the network-loss case with eventual cleanup as the intended behavior, then with authorized immediate removal. Add a control case where the selected target is wrong and the operator must reject the action before execution. These are test scenarios, not claims that a service has passed them. Preserve the observations so later comparisons can reuse the acceptance criteria.

Rollback means disabling a newly introduced automatic removal policy and returning to operator-reviewed intervention while eventual reaping continues. It does not mean restoring an old presence snapshot to undo a completed disconnect. Any return to membership should follow the application's normal connection flow and authorization checks.

Keep the distinction visible to support: membership can lag after a network drop, and an immediate-removal requirement needs an authorized server-side action. A dashboard that admits uncertainty is more useful than a green indicator the team cannot explain.

References