apache / apache/fineract-consumer-facing

Add GraalVM support in backend

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
4
Forks
7
Avg merge
1d 17h
Merged PRs (30d)
18

Description

## Overview
Add support for GraalVM in the backend to enable native image compilation and improved performance characteristics.

## Description
This issue tracks the work needed to implement GraalVM support in the fineract-consumer-facing backend. GraalVM native images can provide faster startup times, reduced memory footprint, and improved performance for production deployments.

## Goals
- Enable GraalVM native image compilation for the backend application
- Ensure all backend dependencies are compatible with GraalVM
- Configure native image build settings and metadata
- Test and validate the native image build process
- Document GraalVM setup and usage for developers

## Tasks
- [ ] Audit backend dependencies for GraalVM compatibility
- [ ] Configure GraalVM native image build configuration
- [ ] Add native image metadata (reflection, serialization, resources)
- [ ] Implement native image build in CI/CD pipeline
- [ ] Perform functional testing with native image builds
- [ ] Create documentation for GraalVM native image builds
- [ ] Set up performance benchmarking between JVM and native builds

## Acceptance Criteria
- Backend can be compiled to a native image using GraalVM
- Native image builds successfully without warnings or errors
- All backend functionality works correctly in native image mode
- Documentation is available for developers on building native images

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the backend dependency configuration and existing CI/CD build process, then audit dependencies for native-image compatibility. Define the required native-image metadata and validation approach, including functional tests, JVM-versus-native benchmarks, and developer documentation. Done means the backend builds and runs as a native image without warnings or errors and the documented process works.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, build-system, ci-cd, documentation, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.