Truncate large payloads when debug-logging received messages via comms
Open
diagnostics
enhancement
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 778
- Avg merge
- 2h 50m
- Merged PRs (30d)
- 3
Description
This issue came out of #8463. Currently, we log all incoming messages as `DEBUG` logs: https://github.com/dask/distributed/blob/33b2c72f583716a504808365d3701df639f78e68/distributed/core.py#L901
This can become a severe performance issue with large incoming requests, in particular with push-based systems like P2P. We should probably truncate large incoming payloads.
Contributor guide
Assessment
This issue has not been assessed yet.