[syslog-ng] [PATCH 0/7] value-pairs dot notation walker

Gergely Nagy algernon at madhouse-project.org
Sun Sep 16 14:29:02 CEST 2012


Balazs Scheidler <bazsi77 at gmail.com> writes:

> applied all, thanks. I can see some potential performance issues
> though (lots of memory allocations in walking), that will probably be
> a bottleneck one day.

Yep, they are noticable even now (esp. with format-json; for mongodb,
using insert buys us much more performance than the walking takes).

I have an idea how to reduce the number of allocations significantly,
but I'm not happy with either of my PoC implementations yet. Most
likely, I'll transform scratch-buffers into something more generic, but
that needs careful thought to make it have a nice and performant API.

-- 
|8]


More information about the syslog-ng mailing list