ECO-CMP-JS-002¶
Name: Polling instead of events
Category: CMP
Family: JS
Primary layer: network
System layers: network
Description¶
Polling increases unnecessary network traffic and compute.
Impact¶
- confidence: 0.7
- notes: Often significant at scale.
- type: network
Detection¶
- languages:
- javascript
- method: regex
Remediation¶
- guidance: Use webhooks, SSE, websockets, or event-driven patterns.
- tradeoffs: More moving parts.
Pattern examples¶
No pattern examples provided.
Remediation examples¶
No remediation examples provided.