On Thu, Jan 9, 2020 at 12:33 AM Gary Gregory <garydgreg...@gmail.com> wrote:
> Can we please not invent yet another pooling mechanism at Apache?

That definitely was not my intention. I was just suggesting borrowing
code (not dependency!) from certain projects to get us going, since,
to the best of my knowledge, log4j-core is thriving to stay dependency
free. (@Ralph has made the very same remark as well.)

In any case, I still did not hear anything about the *interface* we
want to make accessible within the Log4j code base. (@Matt?) How am I
gonna claim a char[] of certain length? What about a StringBuilder?
How are we gonna introduce control knobs to tune pool size(s)?

In LogstashLayout, I dealt with these issues in an unpleasant way:
each pool had its own configuration knob. While this worked okayish
for LogstashLayout -- since I needed ~3 pools in total -- I am pretty
sure it will turn into a configuration nightmare for bigger code
bases, e.g., log4j-core.

Reply via email to