Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
-
Security Level: public (Regular issues)
-
None
-
Patch Available
Description
HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
/** * Indicates whether LogBufferManager should flush buffers * before they are full. * * <p>Normally, buffers are flushed to disk only when * they become full. In lightly loaded situations, * one or more threads may have to wait until the * flushSleepTime expires before the buffer is written. * In the worst case, a single thread is using the * log, and every put() with sync requested will * be delayed flushSleepTime ms before the buffer is * written. * * <p>Setting flushPartialBuffers true will allow * the LogBufferManager to flush buffers to disk * any time the channel is not busy. This improves * throughput in single threaded and lightly loaded * environments. * * <p>By default, this feature is disabled (false) to * provide compatability with earlier versions of * this library. */ private boolean flushPartialBuffers = false;
Attachments
Attachments
Issue Links
- relates to
-
ARIES-881 The transaction manager is very slow in low concurrency
- Resolved