Communitygithub.com

지연 시간 중요 시스템

실시간 대시보드, 시장 데이터, 스트리밍 에이전트, 실행 게이트웨이, 큐, 캐시 또는 HFT 인프라와 같이 p95 지연 시간 및 데이터 최신성이 중요한 시스템에 사용합니다.

지연 시간 중요 시스템란 무엇인가요?

이 스킬은 실시간 동작, 핫 경로, 스트리밍 최신성, 실행 속도가 중요한 시스템을 다룰 때 활성화됩니다. HFT 유사 인프라를 포함하지만 엔지니어링에 초점을 맞추며, 실제 거래나 금융 조언을 승인하지 않습니다. 주요 기능으로는 지연 시간, 처리량, 최신성, 큐 깊이, 캐시 적중률 등 다양한 메트릭을 추적하고 핫 경로를 매핑하여 각 세그먼트를 개별적으로 측정합니다. 최적화 순서는 불필요한 왕복 제거, 안정적인 읽기 캐싱, 소규모 호출 배치 처리, 데이터 및 사용자 근처로 연산 이동, 핫/콜드 경로 분할, 역압력 적용, 스트리밍 사용, 스테일 데이터 감지 등으로 구성됩니다. 검증은 실제 배포 환경에서 HTTP 타이밍, 제공자 최신성 타임스탬프, 큐 상태, 브라우저 UI 최신성 등을 확인합니다. 필수 검증을 생략하고 지연 시간을 최적화하거나, 빠른 캐시 적중 뒤에 스테일 데이터를 숨기거나, 측정 없이 밀리초 동작을 주장하는 등의 행위를 금지하는 가드레일이 포함되어 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/latency-critical-systems

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

지연 시간 중요 시스템은(는) 무엇을 하나요?

사용자가 실시간 동작, 핫 경로, 스트리밍 최신성 또는 실행 속도를 중요하게 여길 때 이 스킬을 사용하세요. HFT 유사 인프라를 포함하지만, 이 스킬은 엔지니어링 중심입니다. 실제 거래나 금융 조언을 승인하지 않습니다.

메트릭 분할

모든 것을 "빠름"으로 통합하지 마세요. 다음을 추적하세요:

  • p50, p95, p99 지연 시간
  • 처리량
  • 최신성 연령
  • 큐 깊이
  • 캐시 적중률
  • 제공자/API 응답 시간
  • 브라우저 렌더링 시간
  • 부하 상태에서의 정확성
  • 실패 및 재시도 동작

핫 경로 매핑

사용자/이벤트에서 최종 표시 상태까지의 경로를 작성하세요:

소스 이벤트 -> 제공자 API -> 수집 워커 -> 큐 -> 캐시 -> 엣지 라우트
-> 클라이언트 스트림 -> 브라우저 렌더링 -> 사용자 표시 상태

그런 다음 각 세그먼트를 개별적으로 측정하세요.

최적화 순서

  1. 불필요한 왕복 제거
  2. 최신성 메타데이터와 함께 안정적인 읽기 캐싱
  3. 소규모 호출 및 쓰기 배치 처리
  4. 데이터 또는 사용자 근처로 연산 이동
  5. 핫 경로와 콜드 경로 분할
  6. 큐가 무제한으로 커지기 전에 역압력 적용
  7. 최신성이나 사용자 경험을 개선할 때만 스트리밍 사용
  8. 스테일 데이터, 성능이 저하된 제공자, 잘못된 캐시 상태를 위한 카나리 추가

검증

배포된 표면이 있을 때 실제 읽기 피드백을 사용하세요:

  • HTTP 타이밍 및 응답 헤더
  • 제공자 최신성 타임스탬프
  • 큐 또는 작업 상태
  • 엣지/캐시 상태
  • 실제 UI 최신성에 대한 브라우저 확인
  • 재시도 및 저하된 모드에 대한 로그

시장 데이터 또는 실행 인접 경로의 경우, 경로를 준비 상태로 호출하기 전에 오더북 연령, VWAP 가정, 제공자 상태, 킬 스위치 동작도 확인하세요.

가드레일

  • 필수 검증을 생략하고 지연 시간을 최적화하지 마세요.
  • 빠른 캐시 적중 뒤에 스테일 데이터를 숨기지 마세요.
  • 측정 없이 클라이언트 레이블에서 밀리초 동작을 주장하지 마세요.
  • 명시적인 승인 게이트 없이 실시간 주문, 파괴적 마이그레이션 또는 고객 영향 배포를 실행하지 마세요.
  • 비밀 및 개인 페이로드를 로그와 벤치마크 아티팩트에 남기지 마세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

관련 스킬