apache / apache/trafficserver

Make traffic_logcat more memory efficient

Open
#12,053 1 comment 0 reactions 0 assignees View on GitHub
Logging Stale traffic_logcat
Dominant language
C++
Stars
2k
Forks
874
Avg merge
6d 15h
Merged PRs (30d)
46

Description

`traffic_logcat` tries to read entire `LogBuffer` once. However, it requires large buffer. I guess we can read and decode `LogEntry` one by one.

https://github.com/apache/trafficserver/blob/10.0.3/src/traffic_logcat/logcat.cc#L170-L173

https://github.com/apache/trafficserver/blob/10.0.3/src/traffic_logcat/logcat.cc#L185

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.