L

latency-critical-systems

by @affaan-mv
4.4(120)

このSkillは、レイテンシーに敏感なシステムのパフォーマンスを分析・最適化するために使用します。ホットパスのマッピング、メトリクスの分割、キャッシュ戦略、バックプレッシャー制御などをカバーします。エンジニアがp95レイテンシーを体系的に削減し、スループットを向上させ、リアルタイムデータの鮮度を保つのに役立ちます。

latencyperformanceobservabilityrealtimecachingGitHub
インストール方法
npx skills add https://github.com/affaan-m/ecc --skill latency-critical-systems
compare_arrows

Before / After 効果比較

1 组
使用前

このスキルがない場合、ユーザーは体系的なメトリクスやホットパス分析なしで手動でレイテンシー問題を調査し、p95レイテンシーが200msにも達していました。

使用後

このスキルは、メトリクスの分割とキャッシュ戦略を通じて構造化された最適化アプローチを提供し、p95レイテンシーを20msに削減します。

SKILL.md

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.

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数4.2K
評価4.4 / 5.0
バージョン
更新日2026年10月23日
比較事例1 件

ユーザー評価

4.4(120)
5
37%
4
43%
3
13%
2
5%
1
2%

この Skill を評価

0.0

対応プラットフォーム

🤖claude-code

タイムライン

作成2026年7月26日
最終更新2026年10月23日
🎁 Agent 知識カード
アンケート