This utility was part of a proof-of-concept and this is an attempt to move it closer to a production-ready state
Solution
Header forwarder was failing with fatal error: concurrent map writes when under heavy load. This change adds a read/write aware locking mechanism to prevent concurrent writes (concurrent reads will not block unless there is a write happening)
Motivation
This utility was part of a proof-of-concept and this is an attempt to move it closer to a production-ready state
Solution
Header forwarder was failing with
fatal error: concurrent map writes
when under heavy load. This change adds a read/write aware locking mechanism to prevent concurrent writes (concurrent reads will not block unless there is a write happening)