AgentSkillsCN

cpp-low-latency-engineering

C++ 低延迟工程工作流,适用于量化研究、实施与生产控制。适用于在涉及内存所有权规范与底层性能确定性任务。

SKILL.md
--- frontmatter
name: cpp-low-latency-engineering
description: "C++ Low Latency Engineering workflows for quantitative research, implementation, and production controls. use when tasks involve memory ownership discipline and low-level performance determinism."

C++ Low Latency Engineering

objective

Execute c++ low latency engineering work with reproducible research, explicit controls, and deployable outputs.

workflow

  1. define end-to-end latency budget and deterministic performance targets.
  2. instrument each stage from feed ingress to order egress.
  3. optimize kernel, memory, and network path for tail-latency reduction.
  4. stress packet bursts, failovers, and capacity saturation scenarios.
  5. promote only after reproducible latency and recovery behavior is verified.

required diagnostics

  • stage-level p50, p99, and p999 latency decomposition.
  • jitter and throughput stability under sustained burst load.
  • packet-loss recovery time and replay correctness.
  • resource saturation signals before service-level breach.
  • tail-latency regressions during peak message bursts

risk controls

  • enforce hard latency and packet-loss service objectives.
  • enforce automatic failover and load-shedding thresholds.
  • enforce runbooks for exchange-connectivity incidents.

outputs

  • run python scripts/cpp_low_latency_engineering_diagnostics.py input.csv --output diagnostics.json and keep the json artifact.
  • write an implementation memo using references/cpp-low-latency-engineering-playbook.md with assumptions, tests, limits, and rollout plan.

resources

  • use scripts/cpp_low_latency_engineering_diagnostics.py for deterministic diagnostics.
  • use references/cpp-low-latency-engineering-playbook.md for the domain-specific checklist and delivery structure.