Skip to content

Commit eeda96c

Browse files
committed
Partially revert "Remove the vertx-web-kotlinx-r2dbc-postgresql variant configurations" to add back the vertx-web-kotlinx-r2dbc variants
This reverts commit 6e7efc4.
1 parent 3ad8b84 commit eeda96c

File tree

3 files changed

+148
-0
lines changed

3 files changed

+148
-0
lines changed

frameworks/Kotlin/vertx-web-kotlinx/benchmark_config.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,48 @@
6464
"notes": "",
6565
"versus": "vertx-web-kotlinx-postgresql"
6666
},
67+
"r2dbc-postgresql-separate-pool-size-1": {
68+
"db_url": "/db",
69+
"query_url": "/queries?queries=",
70+
"fortune_url": "/fortunes",
71+
"update_url": "/updates?queries=",
72+
"port": 8080,
73+
"approach": "Realistic",
74+
"classification": "Micro",
75+
"database": "postgres",
76+
"framework": "vertx-web",
77+
"language": "Kotlin",
78+
"flavor": "None",
79+
"orm": "Raw",
80+
"platform": "Vert.x",
81+
"webserver": "None",
82+
"os": "Linux",
83+
"database_os": "Linux",
84+
"display_name": "vertx-web-kotlinx-r2dbc-postgresql-separate-pool-size-1",
85+
"notes": "Original configuration: pool size 1 per verticle, original connection factory",
86+
"versus": "vertx-web-kotlinx-r2dbc-postgresql"
87+
},
88+
"r2dbc-postgresql-separate-pool-size-8": {
89+
"db_url": "/db",
90+
"query_url": "/queries?queries=",
91+
"fortune_url": "/fortunes",
92+
"update_url": "/updates?queries=",
93+
"port": 8080,
94+
"approach": "Realistic",
95+
"classification": "Micro",
96+
"database": "postgres",
97+
"framework": "vertx-web",
98+
"language": "Kotlin",
99+
"flavor": "None",
100+
"orm": "Raw",
101+
"platform": "Vert.x",
102+
"webserver": "None",
103+
"os": "Linux",
104+
"database_os": "Linux",
105+
"display_name": "vertx-web-kotlinx-r2dbc-postgresql-separate-pool-size-8",
106+
"notes": "Pool size 8 per verticle (~512 total on 56-core), original connection factory",
107+
"versus": "vertx-web-kotlinx-r2dbc-postgresql"
108+
},
67109
"exposed-r2dbc-postgresql-separate-pool-size-1": {
68110
"db_url": "/db",
69111
"query_url": "/queries?queries=",
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
FROM gradle:9.2.1-jdk25
2+
3+
WORKDIR /vertx-web-kotlinx
4+
5+
6+
COPY gradle/libs.versions.toml gradle/libs.versions.toml
7+
COPY buildSrc buildSrc
8+
COPY settings.gradle.kts settings.gradle.kts
9+
COPY build.gradle.kts build.gradle.kts
10+
COPY gradle.properties gradle.properties
11+
12+
# make empty directories for subprojects that do not need to be copied for Gradle
13+
RUN mkdir -p common without-db/default with-db/common with-db/default with-db/r2dbc-common with-db/r2dbc with-db/exposed-common with-db/exposed-r2dbc with-db/exposed-vertx-sql-client
14+
15+
COPY common/build.gradle.kts common/build.gradle.kts
16+
COPY common/src common/src
17+
18+
COPY with-db/common/build.gradle.kts with-db/common/build.gradle.kts
19+
COPY with-db/common/src with-db/common/src
20+
21+
COPY with-db/r2dbc-common/build.gradle.kts with-db/r2dbc-common/build.gradle.kts
22+
COPY with-db/r2dbc-common/src with-db/r2dbc-common/src
23+
24+
COPY with-db/r2dbc/build.gradle.kts with-db/r2dbc/build.gradle.kts
25+
COPY with-db/r2dbc/src with-db/r2dbc/src
26+
27+
28+
RUN gradle --no-daemon with-db:r2dbc:installDist
29+
30+
EXPOSE 8080
31+
32+
CMD export JAVA_OPTS=" \
33+
--enable-native-access=ALL-UNNAMED \
34+
--sun-misc-unsafe-memory-access=allow \
35+
--add-opens=java.base/java.lang=ALL-UNNAMED \
36+
-server \
37+
-XX:+UseNUMA \
38+
-XX:+UseParallelGC \
39+
-XX:+UnlockDiagnosticVMOptions \
40+
-XX:+DebugNonSafepoints \
41+
-Djava.lang.Integer.IntegerCache.high=10000 \
42+
-Dvertx.disableMetrics=true \
43+
-Dvertx.disableWebsockets=true \
44+
-Dvertx.disableContextTimings=true \
45+
-Dvertx.disableHttpHeadersValidation=true \
46+
-Dvertx.cacheImmutableHttpResponseHeaders=true \
47+
-Dvertx.internCommonHttpRequestHeadersToLowerCase=true \
48+
-Dio.netty.noUnsafe=false \
49+
-Dio.netty.buffer.checkBounds=false \
50+
-Dio.netty.buffer.checkAccessible=false \
51+
-Dio.netty.iouring.ringSize=16384 \
52+
" && \
53+
with-db/r2dbc/build/install/r2dbc/bin/r2dbc false 1 false
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
FROM gradle:9.2.1-jdk25
2+
3+
WORKDIR /vertx-web-kotlinx
4+
5+
6+
COPY gradle/libs.versions.toml gradle/libs.versions.toml
7+
COPY buildSrc buildSrc
8+
COPY settings.gradle.kts settings.gradle.kts
9+
COPY build.gradle.kts build.gradle.kts
10+
COPY gradle.properties gradle.properties
11+
12+
# make empty directories for subprojects that do not need to be copied for Gradle
13+
RUN mkdir -p common without-db/default with-db/common with-db/default with-db/r2dbc-common with-db/r2dbc with-db/exposed-common with-db/exposed-r2dbc with-db/exposed-vertx-sql-client
14+
15+
COPY common/build.gradle.kts common/build.gradle.kts
16+
COPY common/src common/src
17+
18+
COPY with-db/common/build.gradle.kts with-db/common/build.gradle.kts
19+
COPY with-db/common/src with-db/common/src
20+
21+
COPY with-db/r2dbc-common/build.gradle.kts with-db/r2dbc-common/build.gradle.kts
22+
COPY with-db/r2dbc-common/src with-db/r2dbc-common/src
23+
24+
COPY with-db/r2dbc/build.gradle.kts with-db/r2dbc/build.gradle.kts
25+
COPY with-db/r2dbc/src with-db/r2dbc/src
26+
27+
28+
RUN gradle --no-daemon with-db:r2dbc:installDist
29+
30+
EXPOSE 8080
31+
32+
CMD export JAVA_OPTS=" \
33+
--enable-native-access=ALL-UNNAMED \
34+
--sun-misc-unsafe-memory-access=allow \
35+
--add-opens=java.base/java.lang=ALL-UNNAMED \
36+
-server \
37+
-XX:+UseNUMA \
38+
-XX:+UseParallelGC \
39+
-XX:+UnlockDiagnosticVMOptions \
40+
-XX:+DebugNonSafepoints \
41+
-Djava.lang.Integer.IntegerCache.high=10000 \
42+
-Dvertx.disableMetrics=true \
43+
-Dvertx.disableWebsockets=true \
44+
-Dvertx.disableContextTimings=true \
45+
-Dvertx.disableHttpHeadersValidation=true \
46+
-Dvertx.cacheImmutableHttpResponseHeaders=true \
47+
-Dvertx.internCommonHttpRequestHeadersToLowerCase=true \
48+
-Dio.netty.noUnsafe=false \
49+
-Dio.netty.buffer.checkBounds=false \
50+
-Dio.netty.buffer.checkAccessible=false \
51+
-Dio.netty.iouring.ringSize=16384 \
52+
" && \
53+
with-db/r2dbc/build/install/r2dbc/bin/r2dbc false 8 false

0 commit comments

Comments
 (0)