Skip to content

Instantly share code, notes, and snippets.

View martin-g's full-sized avatar
🏠
Working from home

Martin Grigorov martin-g

🏠
Working from home
View GitHub Profile
Oct 20, 2020 4:05:54 PM org.apache.catalina.core.AprLifecycleListener init
WARNING: The Apache Tomcat Native library failed to load. The error reported was [Unsupported JNI version 0xffffffff, required by /home/ubuntu/git/apache/tomcat-native-build/lib/libtcnative-1.so.0.2.26]
java.lang.UnsatisfiedLinkError: Unsupported JNI version 0xffffffff, required by /home/ubuntu/git/apache/tomcat-native-build/lib/libtcnative-1.so.0.2.26
at com.oracle.svm.jni.JNILibraryInitializer.checkSupportedJNIVersion(JNILibraryInitializer.java:80)
at com.oracle.svm.jni.JNILibraryInitializer.callOnLoadFunction(JNILibraryInitializer.java:73)
at com.oracle.svm.jni.JNILibraryInitializer.initialize(JNILibraryInitializer.java:127)
at com.oracle.svm.core.jdk.NativeLibrarySupport.addLibrary(NativeLibrarySupport.java:185)
at com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibrary0(NativeLibrarySupport.java:141)
at com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibrary(NativeLibrarySupport.java:123)
at java.lang.ClassLoader.loadLibr
<plugin>
<groupId>org.graalvm.nativeimage</groupId>
<artifactId>native-image-maven-plugin</artifactId>
<version>20.2.0</version>
<executions>
<execution>
<goals>
<goal>native-image</goal>
</goals>
<phase>package</phase>
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
<Certificate certificateKeyFile="conf/localhost-rsa-key.pem"
certificateFile="conf/localhost-rsa-cert.pem"
certificateChainFile="conf/localhost-rsa-chain.pem"
type="RSA" />
</SSLHostConfig>
</Connector>
@martin-g
martin-g / dotnet-http2-aarch64.json
Last active October 9, 2020 12:39
Load test HTTP2 web servers
{
"latencies": {
"total": 284907093739,
"mean": 553459,
"50th": 509426,
"90th": 737653,
"95th": 851459,
"99th": 1180301,
"max": 289693230,
"min": 234433
This file has been truncated, but you can view the full file.
2020-09-21 14:24:08.016 INFO 231822 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 18080 (https)
2020-09-21 14:24:08.027 INFO 231822 --- [main] o.a.coyote.http11.Http11NioProtocol : The ["https-jsse-nio-18080"] connector has been configured to support negotiation to [h2] via ALPN
2020-09-21 14:24:08.027 INFO 231822 --- [main] o.a.coyote.http11.Http11NioProtocol : Initializing ProtocolHandler ["https-jsse-nio-18080"]
2020-09-21 14:24:08.028 INFO 231822 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2020-09-21 14:24:08.028 INFO 231822 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.39-dev]
2020-09-21 14:24:08.066 INFO 231822 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2020-09-21 14:24:08.066 INFO 231822 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 79
MGT.uptime 6907 1.00 Management process uptime
MGT.child_start 1 0.00 Child process started
MGT.child_exit 0 0.00 Child process normal exit
MGT.child_stop 0 0.00 Child process unexpected exit
MGT.child_died 0 0.00 Child process died (signal)
MGT.child_dump 0 0.00 Child process core dumped
MGT.child_panic 0 0.00 Child process panic
MAIN.summs 269074 38.95 stat summ operations
MAIN.uptime 6909 1.00 Child process uptime
MAIN.sess_conn 682 0.10 Sessions accepted
MGT.uptime 6930 1.00 Management process uptime
MGT.child_start 1 0.00 Child process started
MGT.child_exit 0 0.00 Child process normal exit
MGT.child_stop 0 0.00 Child process unexpected exit
MGT.child_died 0 0.00 Child process died (signal)
MGT.child_dump 0 0.00 Child process core dumped
MGT.child_panic 0 0.00 Child process panic
MAIN.summs 471698 68.06 stat summ operations
MAIN.uptime 6931 1.00 Child process uptime
MAIN.sess_conn 714 0.10 Sessions accepted
Forked child 0
Forked child 1
Forked child 2
+DT:md4:3:16
Forked child 3
+DT:md4:3:16
Forked child 4
+DT:md4:3:16
Forked child 5
Forked child 6
Forked child 0
Forked child 1
+DT:md4:3:16
Forked child 2
Forked child 3
+DT:md4:3:16
Forked child 4
+DT:md4:3:16
Forked child 5
+DT:md4:3:16
Running 30s test @ http://192.168.0.206:8080
8 threads and 96 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 5.32ms 6.71ms 71.29ms 90.25%
Req/Sec 3.26k 639.12 4.14k 65.52%
779297 requests in 30.08s, 95.13MB read
Requests/sec: 25908.50
Transfer/sec: 3.16MB