Skip to content

Implement GraalVM Native Image support for binary distribution #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
avelino opened this issue Mar 5, 2025 · 0 comments · May be fixed by #13
Open

Implement GraalVM Native Image support for binary distribution #12

avelino opened this issue Mar 5, 2025 · 0 comments · May be fixed by #13
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@avelino
Copy link
Member

avelino commented Mar 5, 2025

Add GraalVM Native Image support to ChronDB to enable distribution as a standalone binary, improving deployment options and startup performance.

Motivation

GraalVM Native Image will allow ChronDB to:

  • Reduce startup time significantly
  • Decrease memory footprint
  • Enable distribution as a single executable without JVM dependency
  • Improve deployment in containerized environments

Implementation Details

  1. Add GraalVM configuration files:

    • Create reflect-config.json for reflection configuration
    • Add resource-config.json for resource inclusion
    • Configure native-image properties
  2. Update build process:

    • Add native-image build target to project configuration
    • Document build requirements and process
  3. Test native binary:

    • Verify functionality matches JVM version
    • Benchmark performance improvements
@avelino avelino added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 5, 2025
@avelino avelino linked a pull request Mar 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant