Hi Ruei-Bang, On Fri, Oct 13, 2023 at 08:54:24PM +0000, Ruei-Bang Chen wrote: > Hi Willy, > > Thank you for the great suggestion! I agree that it would be more general for > other use cases to have support for only including or excluding certain > headers. > > I can look into the implementation and send a patch for that if no other > concerns are there.
OK! > We did try the lua implementation, but we observed there would be a lot more > malloc/free that impacted performance and took a lot of CPUs when QPS was > high (100k+). Ah yes, Lua is fine for low to moderate loads, but 100k+ starts to be a lot for it indeed! And having to manipulate lists and concatenate values definitely involves a lot of memory allocations so I can see how that is not suitable for your workload. Cheers, Willy