hyperledger / hyperledger/fabric-x-evm
Implement Mempool Backpressure
- Dominant language
- Go
- Stars
- 12
- Forks
- 18
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 23
Description
Implement backpressure mechanisms that reject new transaction submissions when the mempool reaches capacity limits to prevent unbounded memory growth and system instability. Define appropriate mempool size limits based on available memory and expected transaction processing rates. When the mempool is full, reject new transactions with clear error messages indicating the system is overloaded and clients should retry later. Implement fair eviction policies if needed, such as removing the oldest transactions or lowest priority transactions when space is needed. Expose mempool metrics including current size, capacity, and rejection rate to enable monitoring and capacity planning. Provide configuration options for mempool size limits and backpressure thresholds. This ensures the system remains stable and responsive even under extreme load conditions.
---
**Quarter:** Q3
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the mempool implementation and transaction submission entry point, then trace how capacity and transaction processing are currently handled. Done means bounded memory use, configurable limits and thresholds, clear overload rejections, any documented eviction behavior, and metrics for size, capacity, and rejection rate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100