Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 9b548aa

Browse files
rurorujj
andauthored
http-kit uplift to jdk25 (#10645)
* uplift http-kit to jdk-25 * uplift http-kit to jdk-25 --------- Co-authored-by: jj <keistaslogairkosulys@gmail.com>
1 parent c3cd304 commit 9b548aa

6 files changed

Lines changed: 95 additions & 253 deletions

File tree

frameworks/Clojure/http-kit/benchmark_config.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,6 @@
2323
"display_name": "http-kit",
2424
"notes": "",
2525
"versus": ""
26-
},
27-
"raw": {
28-
"db_url": "/raw/db",
29-
"query_url": "/raw/queries/",
30-
"update_url": "/raw/updates/",
31-
"fortune_url": "/raw/fortunes",
32-
"port": 8080,
33-
"approach": "Realistic",
34-
"classification": "Platform",
35-
"database": "MySQL",
36-
"framework": "None",
37-
"language": "Clojure",
38-
"flavor": "None",
39-
"orm": "Raw",
40-
"platform": "Ring",
41-
"webserver": "None",
42-
"os": "Linux",
43-
"database_os": "Linux",
44-
"display_name": "http-kit",
45-
"notes": "",
46-
"versus": "http-kit"
4726
}
4827
}]
4928
}

frameworks/Clojure/http-kit/config.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,3 @@ orm = "Micro"
1717
platform = "Ring"
1818
webserver = "None"
1919
versus = ""
20-
21-
[raw]
22-
urls.db = "/raw/db"
23-
urls.query = "/raw/queries/"
24-
urls.update = "/raw/updates/"
25-
urls.fortune = "/raw/fortunes"
26-
approach = "Realistic"
27-
classification = "Platform"
28-
database = "MySQL"
29-
database_os = "Linux"
30-
os = "Linux"
31-
orm = "Raw"
32-
platform = "Ring"
33-
webserver = "None"
34-
versus = "http-kit"

frameworks/Clojure/http-kit/http-kit-raw.dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
FROM clojure:lein-2.8.1
1+
FROM clojure:lein as lein
22
WORKDIR /http-kit
3-
COPY src src
43
COPY project.clj project.clj
54
RUN lein deps
5+
COPY src src
66
RUN lein uberjar
77

8+
FROM amazoncorretto:25
9+
WORKDIR /http-kit
10+
COPY --from=lein /http-kit/target/http-kit-standalone.jar app.jar
11+
812
EXPOSE 8080
913

10-
CMD ["java", "-server", "-Dclojure.compiler.direct-linking=true", "-jar", "target/http-kit-standalone.jar"]
14+
CMD ["java", "-server", "-XX:+UseParallelGC", "-XX:MaxRAMPercentage=70", "-Dclojure.compiler.direct-linking=true", "-jar", "app.jar"]

frameworks/Clojure/http-kit/project.clj

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
(defproject hello "http-kit"
22
:description "FrameworkBenchmarks test implementations"
33
:url "http://localhost:8080/"
4-
:dependencies [[org.clojure/clojure "1.8.0"]
5-
[compojure "1.4.0"]
6-
[ring/ring-json "0.4.0"]
4+
:dependencies [[org.clojure/clojure "1.12.4"]
5+
[compojure "1.7.2"]
6+
[ring/ring-json "0.5.1"]
77
[org.clojure/tools.cli "0.2.1"]
8-
[http-kit "2.1.19"]
8+
[http-kit "2.8.1"]
99
[javax.xml.bind/jaxb-api "2.2.12"]
10-
[korma "0.4.2"]
1110
[log4j "1.2.15" :exclusions [javax.mail/mail javax.jms/jms com.sun.jdmk/jmxtools com.sun.jmx/jmxri]]
12-
; [ch.qos.logback/logback-classic "1.1.2" :exclusions [org.slf4j/slf4j-api]]
13-
; [org.slf4j/jul-to-slf4j "1.7.7"]
14-
; [org.slf4j/jcl-over-slf4j "1.7.7"]
15-
; [org.slf4j/log4j-over-slf4j "1.7.7"]
1611
[ring/ring-jetty-adapter "1.4.0"]
17-
[mysql/mysql-connector-java "5.1.47"]
18-
[org.clojure/java.jdbc "0.3.7"]
19-
[hikari-cp "1.5.0"]
12+
[com.mysql/mysql-connector-j "9.6.0"]
13+
[com.github.seancorfield/next.jdbc "1.3.1093"]
14+
[hikari-cp "4.0.0"]
2015
[hiccup "1.0.5"]]
2116
:plugins [[lein-ring "0.9.7"]]
2217
:ring {:handler hello.handler/app}

0 commit comments

Comments
 (0)