Skip to content

poor performance with Jarl execution- compared to response consumed over OPA as REST api #173

Description

@rai-prashanna

latency
RED line is used for JARL.
GREEN line is used for OPA REST.

Tested on OPA Version: 0.53.0

It seems that Jarl was designed only to fulfill the correctness of plan.json but not with performance.
In my experiment, I have one class that interacts with OPA as a REST API
and another class that uses Jarl to make decisions.
With the executions, it generates metrics into Prometheus Server.
Grafana is used to plot graphs.

My policy can be found in this link.
https://play.openpolicyagent.org/p/W7dh9TIqMi
https://play.openpolicyagent.org/p/LYgbgZj0Qg

My link to the repo of testing
https://github.com/rai-prashanna/performanceTesting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions