Skip to content

Use a sync.Pool rather than allocating per msg

Vgutierrez requested to merge sync-pool into main

Leverage sync.Pool to avoid performing 1 allocation per message 1k allocations per second on a not-so-busy DC like ulsfo

Socketserver.Run() gets elements from the pool and ParserLog() returns them after parsing the message

Merge request reports