Skip to content
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

[DEA] Explore using graalVM #1258

Open
mahalakshme opened this issue Jun 18, 2024 · 0 comments
Open

[DEA] Explore using graalVM #1258

mahalakshme opened this issue Jun 18, 2024 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Jun 18, 2024

Goals:

  • To improve performance by executing rules on GraalVM (DEA subject profile render)
  • Easy maintenance of code - Eg: no need authentication mechanism, etc.,

Analysis:

Because of the below reasons, using graalVM doesn't seem to be worth based on cost-benefit analysis:

  • In the rules we use openchs-models. Hence we map the server response to JS model objects in rules-server before being able to call methods on openchs-models.
  • We need entities related to the context of the rule, eg: for say decision rule to be able to execute the rule, which are fetched from server db.

AC:

  • Validate the above and see if we would get any benefits by using GraalVM

Inputs:

  • short-circuited code
  • Java upgrade needed
@mahalakshme mahalakshme changed the title Explore using graalVM [DEA] Explore using graalVM Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis
Development

No branches or pull requests

1 participant