소스 정보
- 저장소
- ffsshhttiikk/opencode-agents-skills
- 최근 소스 활동
- 2026년 2월 28일 22:52
- 감지된 SKILL.md 언어
- 영어
- 스타
- 3
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- latency-optimization
- description
- Network latency optimization techniques
- license
- MIT
- compatibility
- opencode
- metadata
- {"audience":"web-developers","category":"networking"}
## What I do
- Identify and eliminate latency bottlenecks
- Optimize TCP/UDP connections
- Implement connection pooling
- Use CDNs and edge computing
- Optimize TLS handshakes
- Reduce DNS lookup times
- Implement HTTP/2 and HTTP/3
- Design for geographic distribution
## When to use me
Use me when:
- Applications require low latency
- Global user base with performance issues
- Real-time features (gaming, trading, chat)
- Page load times exceed targets
- Optimizing API response times
- Reducing time to first byte (TTFB)
## Key Concepts
### Latency Sources
| Source | Typical Time | Optimization |
|--------|--------------|--------------|
| DNS | 20-200ms | Caching, prefetch |
| TCP Connect | 30-100ms | Keep-alive, HTTP/2 |
| TLS | 50-200ms | TLS 1.3, session tickets |
| TTFB | 50-500ms | Caching, CDN |
| Transfer | Varies | Compression, HTTP/2 |
### Connection Optimization
```javascript
// Connection pooling (Node.js)
const pool = new Pool({
max: 20,
idleTimeoutMillis: 30000,
connectionTimeoutMillis: 2000
});
// HTTP/2 multiplexing
const http2 = require('http2');
const client = http2.connect('https://api.example.com');
const req = client.request({ ':path': '/data' });
req.on('response', handleResponse);
// Prefetch DNS
<link rel="dns-prefetch" href="//api.example.com">
```
### CDN Strategies
- Static asset caching at edge
- Geographic routing to nearest POP
- Image optimization and format conversion
- API request acceleration
- Origin shielding
### Real-time Optimizations
- WebSocket over polling
- Server-Sent Events for one-way
- QUIC/HTTP/3 for reduced latency
- Binary protocols (gRPC, MessagePack)
- Edge computing for computation
GitHub에서 보기