Skip to content

[Question] Guidelines on Using OPA Java WASM Client #130

@kjhunjhunwala

Description

@kjhunjhunwala

Hi,

I have a few questions regarding the use of the OPA Java WASM client:

Can it be used as a replacement for the OPA Go SDK? Other than the limited builtin support, are there any known limitations?
Currently, we are using the OPA Go SDK within a container and evaluating our policies by making network calls from our Java-based application.

Since the OpaPolicy object is not thread-safe, what are the recommended best practices for use in a highly multithreaded environment? Would it be advisable to implement an object pool for OpaPolicy instances and reuse them? Please suggest if there are any other recommended approaches.

Thanks,
Kushal

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