Slow transfers in Jetty with chunked transfer encoding at certain buffer size

后端 未结 3 1707
忘了有多久
忘了有多久 2021-02-07 05:47

I\'m investigating a performance problem with Jetty 6.1.26. Jetty appears to use Transfer-Encoding: chunked, and depending on the buffer size used, this can be very

3条回答
  •  攒了一身酷
    2021-02-07 06:43

    This is pure speculation, but I'm guessing this is some sort of Garbage Collector issue. Does the performance of the Java client improve when you run the JVM with more heap like... java -Xmx 128m

    I don't recall the JVM switch to turn on GC logging, but figure that out and see if GC kicks in just as you are getting into your doGet.

    My 2 cents.

提交回复
热议问题