Skip to content

Set managed Jsonb provider - #18

Draft
lampajr wants to merge 1 commit into
wildfly-extras:mainfrom
lampajr:managed_jsonb
Draft

Set managed Jsonb provider#18
lampajr wants to merge 1 commit into
wildfly-extras:mainfrom
lampajr:managed_jsonb

Conversation

@lampajr

@lampajr lampajr commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

This seems to be a workaround to the problem raised #17, in particular #17 (comment).

With this fix we are injecting a default/managed Jsonb instance avoiding Resteasy to keep calling getDelegate everytime a new response needs to be serialized causing quite evident degradation in the performance of this very simple application.

As mentioned I think this is just a workaround as I was expecting Resteasy to cache the Jsonb even when not explicitly provided but since I am not that familiar on this part I'd like to get some other feedback on the best approach here.

Before
image

After
image

Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant