Daniel Kec
Daniel Kec
Would be great if `Native.load()` was not invoked in static block, it's quite ugly to substitute that for Graal's native image https://github.com/oracle/graal/issues/439#issuecomment-394341725 https://github.com/luben/zstd-jni/blob/a4926bb6535939f6d8d058ee47a2ed864f314789/src/main/java/com/github/luben/zstd/ZstdOutputStream.java#L15-L17
I did that lazy loading when ZstdOutputStream is constructed and it seems to be working well, but my use case is limited to Kafka client needs. https://github.com/oracle/helidon/pull/2555/files#diff-e753f841f896d9d0153523f5980d3bac292135793c9eacfab8fe2a082c41665bR76-R92
@luben That would be super cool 👍
Simplest possible workaround is slowing down the writes so Netty can keep up sending the data and properly reusing ByteBuffs ```java for (int i = 0; i < 500; i++)...
Thats the one, this actually solves the situation ```diff Index: webserver/jersey/src/main/java/io/helidon/webserver/jersey/ResponseWriter.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP UTF-8 =================================================================== diff --git a/webserver/jersey/src/main/java/io/helidon/webserver/jersey/ResponseWriter.java b/webserver/jersey/src/main/java/io/helidon/webserver/jersey/ResponseWriter.java --- a/webserver/jersey/src/main/java/io/helidon/webserver/jersey/ResponseWriter.java (revision 22b9decade16b2ccfbed93aff2d21ab1ebd0beb8) +++ b/webserver/jersey/src/main/java/io/helidon/webserver/jersey/ResponseWriter.java (date 1659115039051)...
Nah downstream demands 1 by 1, almost look like Netty releases buffs after it confirms sent chunk
Another workaround is possible with using reactive route directly, this however requires Heldion 2 and newer with IoMulti tooling: ```java @ApplicationScoped @RoutingPath("/download") public class DownloadService implements Service { @Override public...
`TestInstance.Lifecycle.PER_CLASS` doesn't work together with `@HelidonTest` as test class is actually a CDI singleton bean in HelidonTest
We should consider some way of fall back or better error message
Reproduced with rate 1 : 1_006_655 ```diff diff --git a/tests/tck/tck-reactive-streams/src/test/java/io/helidon/common/reactive/MultiFromNotTrustedInputStreamTckTest.java b/tests/tck/tck-reactive-streams/src/test/java/io/helidon/common/reactive/MultiFromNotTrustedInputStreamTckTest.java --- a/tests/tck/tck-reactive-streams/src/test/java/io/helidon/common/reactive/MultiFromNotTrustedInputStreamTckTest.java (revision 2374bc104c3bfd00b5a3e33c414524b9fa48ab28) +++ b/tests/tck/tck-reactive-streams/src/test/java/io/helidon/common/reactive/MultiFromNotTrustedInputStreamTckTest.java (date 1635368852257) @@ -62,4 +62,15 @@ .build(); } + @Override + public void...