This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-11
Channels
- # announcements (3)
- # babashka (6)
- # babashka-sci-dev (37)
- # beginners (39)
- # calva (1)
- # clj-kondo (55)
- # clj-on-windows (1)
- # cljdoc (1)
- # clojure (30)
- # clojure-dev (3)
- # clojure-europe (8)
- # clojure-losangeles (1)
- # clojure-morsels (1)
- # clojurescript (26)
- # conjure (8)
- # graalvm (5)
- # helix (6)
- # hyperfiddle (12)
- # meander (6)
- # minecraft (1)
- # pathom (17)
- # polylith (1)
- # releases (2)
- # shadow-cljs (2)
- # sql (1)
- # squint (4)
Hello folks, what connection pool libraries do you use/recommend with GraalVM? I'm writing a POC of a microservice that runs in a native-image compiled binary and after I added Hikari it increased my binary size to 30Mb. I had to do a bunch of https://github.com/rafaeldelboni/microservice-graalvm/blob/main/resources/META-INF/native-image/reflect-config.json to make it work. Any recommendations?
@rafaeldelboni You could check out https://github.com/leafclick/pgmig which uses hikari as well I think
Looks like it did something similar to me in the reflection config, I'm going to use it's config to see if I get any different file size
if something adds 30mb to your binary, it could be the result of dynamic require / requiring-resolve etc See overview here https://github.com/borkdude/dynaload
This looks super cool, playing with graalvm makes me feel the need to understand better the JVM.