
Latency Critical Systems
- 1.3k installs
- 238k repo stars
- Updated August 5, 2026
- affaan-m/ecc
latency-critical-systems is a backend performance skill that helps developers optimize realtime dashboards, streaming agents, queues, and caches for p95 latency and data freshness.
About
latency-critical-systems is an ECC-origin skill from affaan-m/ecc for engineering latency-sensitive systems such as realtime dashboards, market data feeds, streaming agents, execution gateways, queues, caches, and HFT-like infrastructure. The skill instructs agents to split metrics instead of collapsing everything into fast, tracking p50, p95, and p99 latency alongside throughput and data freshness on hot paths. It explicitly focuses on engineering patterns and does not authorize live trading or financial advice. Developers reach for latency-critical-systems when users care about realtime behavior, streaming freshness, or execution speed in production services. Tooling access includes Read, Write, Edit, Bash, Grep, and Glob for profiling codepaths, queue backlogs, and cache invalidation strategies across backend services.
- Tracks p50/p95/p99 latency, throughput, freshness, queue depth, cache hit rate
- 8-step optimization order covering round trips, caching, batching, backpressure
- Maps source event to user-visible state for segment-by-segment measurement
Latency Critical Systems by the numbers
- 1,264 all-time installs (skills.sh)
- +84 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #163 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/affaan-m/ecc --skill latency-critical-systemsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.3k |
|---|---|
| repo stars | ★ 238k |
| Last updated | August 5, 2026 |
| Repository | affaan-m/ecc ↗ |
How do you optimize p95 latency in realtime systems?
Optimize realtime dashboards, streaming agents, queues, and caches for p95 latency and data freshness.
Who is it for?
Backend engineers shipping realtime dashboards, streaming agents, or queue-heavy APIs where p95 latency and data freshness are SLA requirements.
Skip if: Batch ETL jobs or CRUD apps without realtime freshness requirements where millisecond tail latency is not a product constraint.
When should I use this skill?
The user optimizes realtime dashboards, streaming agents, queues, caches, or gateways where p95 latency and freshness matter.
What you get
Documented p50/p95/p99 latency splits, throughput measurements, cache tuning changes, and fresher streaming data paths.
- Latency percentile breakdowns
- Hot-path optimization notes
Files
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 stateThen 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
How it compares
Use latency-critical-systems for tail-latency and freshness SLAs on streaming backends; use general profiling skills for non-realtime CRUD services.
FAQ
Which metrics does latency-critical-systems emphasize?
latency-critical-systems emphasizes splitting p50, p95, and p99 latency from throughput and data freshness instead of treating all realtime systems as generically fast.
What systems does latency-critical-systems cover?
latency-critical-systems covers realtime dashboards, market data, streaming agents, execution gateways, queues, caches, and HFT-like infrastructure where hot-path freshness and tail latency matter.