On 03/02/2026 20:50, Willy Tarreau wrote: > Maybe but we would need to be extremely careful not to waste all CPU > cycles parsing a doc at once, otherwise during this time, other > connections are stalled and QUIC packets are lost. But still something > to keep an eye on anyway.
Yes, as yyjson has that chunked reader it would be possible to yield after 10000 bytes of parsing, similar to how it Lua yields after 10000 instructions, that was my thinking, although there may be some complications with that. And same could be done not only in Lua but in other haproxy code too if needed. With mjson that seems harder to do. Thanks!

