Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
affaan-m avatar

Latency Critical Systems

  • 1.4k installs
  • 238k repo stars
  • Updated August 5, 2026
  • affaan-m/everything-claude-code

latency-critical-systems is an AI agent skill that systematically diagnoses, measures, and optimizes latency in realtime dashboards, streaming agents, market data pipelines, and high-throughput execution systems for deve

About

latency-critical-systems is an ECC-origin skill from affaan-m/everything-claude-code for engineering latency-sensitive systems such as realtime dashboards, market data feeds, streaming agents, execution gateways, queues, and caches. The readme instructs agents to split metrics instead of collapsing on vague speed goals—tracking p50, p95, and p99 latency alongside throughput and freshness. It covers hot-path profiling, queue depth, cache behavior, and streaming freshness for HFT-like infrastructure while explicitly excluding live trading or financial advice. Developers invoke it when p95 regressions, stale dashboards, or agent response delays threaten SLA commitments. Tools listed include Read, Write, Edit, Bash, Grep, and Glob for codebase and benchmark investigation.

  • Splits metrics into p50/p95/p99 latency, throughput, freshness age, queue depth, cache hit rate, and correctness under l
  • Maps the full hot path from source event through API, queue, cache, edge, client stream, and browser render
  • 8-step optimization order: remove round trips, cache with freshness, batch calls, move compute closer, split hot/cold pa
  • Works with Read, Write, Edit, Bash, Grep, and Glob tools
  • Engineering-focused; explicitly excludes live trading or financial advice

Latency Critical Systems by the numbers

  • 1,398 all-time installs (skills.sh)
  • +245 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #399 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/affaan-m/everything-claude-code --skill latency-critical-systems

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.4k
repo stars238k
Last updatedAugust 5, 2026
Repositoryaffaan-m/everything-claude-code

How do you optimize p95 latency in streaming systems?

Systematically diagnose, measure, and optimize latency in realtime dashboards, streaming agents, market data pipelines, and high-throughput execution systems.

Who is it for?

Backend engineers optimizing realtime pipelines, execution gateways, or agent systems where p95 latency and data freshness are SLA-critical.

Skip if: Developers seeking trading signals, portfolio advice, or optimization of batch-only offline ETL without realtime constraints.

When should I use this skill?

The user cares about p95/p99 latency, streaming freshness, hot paths, market data delays, or realtime agent response time.

What you get

Latency metric breakdowns, hot-path optimization notes, benchmark results, and queue/cache tuning recommendations.

  • Latency percentile reports
  • Hot-path optimization plan

Files

SKILL.mdMarkdownGitHub ↗

Latency Critical Systems

Use this skill when the user cares about realtime behavior, hot paths, streaming freshness, or execution speed. This includes HFT-like infrastructure, but the skill is engineering-focused. It does not authorize live trading or financial advice.

Split The Metrics

Do not collapse everything into "fast." Track:

  • p50, p95, and p99 latency;
  • throughput;
  • freshness age;
  • queue depth;
  • cache hit rate;
  • provider/API response time;
  • browser render time;
  • correctness under load;
  • failure and retry behavior.

Map The Hot Path

Write the path from user/event to final visible state:

source event -> provider API -> ingest worker -> queue -> cache -> edge route
-> client stream -> browser render -> user-visible state

Then measure each segment separately.

Optimization Order

1. Remove unnecessary round trips. 2. Cache stable reads with freshness metadata. 3. Batch small calls and writes. 4. Move compute closer to the data or the user. 5. Split hot and cold paths. 6. Apply backpressure before queues grow unbounded. 7. Use streaming only when it improves freshness or user experience. 8. Add canaries for stale data, degraded providers, and bad cache state.

Verification

Use live readbacks when a deployed surface exists:

  • HTTP timing and response headers;
  • provider freshness timestamp;
  • queue or job state;
  • edge/cache state;
  • browser verification for actual UI freshness;
  • logs around retries and degraded mode.

For market-data or execution-adjacent paths, also verify orderbook age, VWAP assumptions, provider status, and kill-switch behavior before calling the path ready.

Guardrails

  • Do not optimize latency by dropping required validation.
  • Do not hide stale data behind fast cache hits.
  • Do not claim millisecond behavior from client labels without measurement.
  • Do not run live orders, destructive migrations, or customer-impacting deploys

without an explicit approval gate.

  • Keep secrets and private payloads out of logs and benchmark artifacts.

Related skills

FAQ

Which latency percentiles does latency-critical-systems track?

latency-critical-systems instructs agents to track p50, p95, and p99 latency separately rather than a single vague speed metric. The affaan-m/everything-claude-code readme also emphasizes throughput and streaming freshness alongside percentiles.

Does latency-critical-systems provide trading advice?

latency-critical-systems does not authorize live trading or financial advice. The ECC skill is engineering-focused on diagnosing and optimizing latency in realtime dashboards, agents, and execution infrastructure.

Productivity & Planningbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.