Wow! Thank you! Looking forward to trying them...
Are you on Twitter?
On Sun, Aug 25, 2013 at 9:12 AM, champion <champion@163.com>
wrote:
> Hello,I have writen three append to improve logback, and tested them
with
> log4j2 performance test.
>
http://logging.apache.org/log4j/2.0/manual/async.html#Performance
> The result is
>
> Ranking:
> 1. Logback: Async disruptor Appender (single thread): throughput:
9,993,043
> ops/sec. latency(ns): avg=3532.4 99% < 19660.8 99.99% <
16829644.8 (285431
> samples)
> 2. Logback: Async jactor2 Appender (single thread): throughput:
9,001,575
> ops/sec. latency(ns): avg=1210.0 99% < 2048.0 99.99% < 65536.0
(21476524
> samples)
> 3. Logback: Async jactor Appender (single thread): throughput:
8,482,989
> ops/sec. latency(ns): avg=1201.4 99% < 2048.0 99.99% < 65536.0
(22639435
> samples)
> 4. Log4j2: Loggers all async (single thread): throughput: 8,394,794
ops/sec.
> latency(ns): avg=8631.6 99% < 13107.2 99.99% < 26869760.0
(610686 samples)
> 5. Log4j2: Async Appender (single thread): throughput: 7,408,055
ops/sec.
> latency(ns): avg=864.6 99% < 4096.0 99.99% < 131072.0 (478795
samples)
> 6. Logback: Async disruptor Appender (2 threads): throughput:
4,103,790
> ops/sec. latency(ns): avg=884.1 99% < 4505.6 99.99% < 65536.0
(4500675
> samples)
> 7. Log4j2: Async Appender (2 threads): throughput: 3,829,409
ops/sec.
> latency(ns): avg=685.1 99% < 4096.0 99.99% < 65536.0 (2034956
samples)
> 8. Log4j2: Async Appender (4 threads): throughput: 2,658,120
ops/sec.
> latency(ns): avg=607.9 99% < 2048.0 99.99% < 239206.4 (19951913
samples)
> 9. Log4j2: Loggers all Sync (4 threads): throughput: 2,480,657
ops/sec.
> latency(ns): avg=4324.3 99% < 7372.8 99.99% < 13841203.2
(6575838 samples)
> 10. Log4j2: Loggers all Sync (2 threads): throughput: 2,430,352
ops/sec.
> latency(ns): avg=651.3 99% < 2457.6 99.99% < 65536.0 (8625233
samples)
> 11. Logback: Async disruptor Appender (4 threads): throughput:
2,301,079
> ops/sec. latency(ns): avg=7799.6 99% < 4300.8 99.99% <
24169676.8 (7478483
> samples)
> 12. Logback: Async jactor2 Appender (2 threads): throughput:
1,739,406
> ops/sec. latency(ns): avg=931.2 99% < 2048.0 99.99% < 42598.4
(48717475
> samples)
> 13. Logback: Async jactor Appender (2 threads): throughput:
1,486,585
> ops/sec. latency(ns): avg=930.7 99% < 2048.0 99.99% < 36044.8
(49685633
> samples)
> 14. Logback: Async jactor2 Appender (4 threads): throughput:
1,340,977
> ops/sec. latency(ns): avg=1253.6 99% < 1587.2 99.99% < 80281.6
(87902519
> samples)
> 15. Logback: Async jactor Appender (4 threads): throughput:
1,159,258
> ops/sec. latency(ns): avg=1020.1 99% < 1587.2 99.99% < 77004.8
(99564074
> samples)
>
> my code is at https://github.com/cp149/jactor-logger
> hope it is useful
> ________________________________
> champion
>
> _______________________________________________
> Logback-user mailing list
> Logback-user@qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user