Expand description
DHT query batching and frequency optimization
This module provides batching and rate limiting for DHT queries to:
- Reduce network traffic by batching similar queries
- Control query frequency to prevent network flooding
- Merge duplicate queries
- Implement adaptive query delays based on network conditions
Structs§
- Pending
Query - A pending query in the batch queue
- Query
Batch Result - Result of a batched query
- Query
Batcher - DHT query batcher
- Query
Batcher Config - Configuration for query batching
- Query
Batcher Stats - Statistics for query batching
Enums§
- Query
Batcher Error - Errors that can occur during query batching
- Query
Type - Type of DHT query