pepijnve / ditaa

A stripped down version of ditaa.
GNU Lesser General Public License v3.0
10 stars 3 forks source link

Use GraalVM to produce native images #12

Open ggrossetie opened 1 year ago

ggrossetie commented 1 year ago

On https://kroki.io, I'm now using PlantUML and UMlet as native binaries. I would like to do the same with ditaa to make the gateway server more reliable.

I can submit a pull request to add a GitHub Actions that will build native binaries (from a tag) and publish the binaries into a release. What do you think?

pepijnve commented 1 year ago

No strong feelings either way. It's not something I would use myself, but I'm fine with letting GitHub build the images.

Just out of curiosity, how does this help with stability? Is it to keep memory usage of the main server process in check?

ggrossetie commented 1 year ago

Just out of curiosity, how does this help with stability? Is it to keep memory usage of the main server process in check?

Yes, we found a few memory leaks and infinite loops in UMlet/PlantUML/Ditaa. Since I'm using Vert.x with a relatively low number of threads it can severely impact performance/stability.