graalvm

Karol Wójcik 2023-05-05T16:33:46.887059Z

Does anybody have an experience in making Datomic with DynamoDB persistance layer working under native-image? Blog posts or step by step tutorials much appreciated.

souenzzo 2023-05-06T16:09:11.847439Z

Why would you run datomic peer on native-image? Native image is not faster, it does not use less memory.

Karol Wójcik 2023-05-06T16:10:45.390849Z

Hmm, I would like to query Datomic from my app and compile it all with native-image.

souenzzo 2023-05-06T16:12:21.772779Z

Native image is for short lived process Datomic peer is for long running. It will load the entire db into the memory in the first query. Use datomic-client-api from native image

👍 1
Karol Wójcik 2023-05-06T16:14:12.157219Z

Okay. Thanks! Will do!