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

[performance] switch cache implementation to fastjson #1289

Open
martinlippert opened this issue Jul 9, 2024 · 1 comment
Open

[performance] switch cache implementation to fastjson #1289

martinlippert opened this issue Jul 9, 2024 · 1 comment
Assignees

Comments

@martinlippert
Copy link
Member

At the moment, the IndexCacheOnDisc implementation uses Gson to convert objects to and from JSON. Especially the write operations are executed quite frequently (basically every time a file changes and the cache is updated), switching the JSON conversion part over to fastjson will improve performance.

Side note: with this switch, we would also need to update the custom type adapters that we implemented for Gson to the corresponding mechanism in fastjson.

@martinlippert
Copy link
Member Author

Additional cache-related performance improvements are captured in #1071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant