You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code change: fix shared event loop formula from max(5, cores/4) to
min(5, cores). The previous formula scaled poorly — cores/4 gives 1
on 2-core and 6 on 24-core, defeating the intent to cap at 5.
min(5, cores) gives 2→2, 4→4, 8+→5, matching the design goal.
Documentation: add comprehensive class-level javadoc to both
GRPCServer and HTTPServer explaining their thread models, why we keep
framework default executor pools on JDK <25 (extensions/handlers may
block on long I/O), and how virtual threads replace them on JDK 25+.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: oap-server/server-library/library-server/src/main/java/org/apache/skywalking/oap/server/library/server/grpc/GRPCServer.java
Copy file name to clipboardExpand all lines: oap-server/server-library/library-server/src/main/java/org/apache/skywalking/oap/server/library/server/http/HTTPServer.java
+77-5Lines changed: 77 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -46,18 +46,77 @@
46
46
47
47
importstaticjava.util.Objects.requireNonNull;
48
48
49
+
/**
50
+
* Armeria-based HTTP server shared by all OAP HTTP endpoints (core-http, receiver-http,
51
+
* promql-http, logql-http, zipkin-query-http, zipkin-http, firehose-http — up to 7 servers).
0 commit comments