Performance
Optimize JSON-RPC requests for production applications.Batch Requests
Execute independent requests in parallel:Caching Strategies
Cache immutable data to reduce requests:WebSocket vs HTTP
| Transport | Real-time Events | Connection Overhead | Best For |
|---|---|---|---|
| WebSocket | ✅ Yes | Low (persistent) | Event subscriptions |
| HTTP | ⚠️ Polling | High (per request) | One-off requests |
Related
- Method API - Method patterns
- Events - Real-time subscriptions
- Error Handling - Retry strategies

