-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Improve Hazelcast serialization #1131
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
Comments
In order to fix the issue mentioned in #1319 (client-server topology with custom-class session entries), the solution must ensure that no session entries are deserialized on the server-side. |
As @oxc pointed out
This can be partially done via Portable serialization (more information here at #1671). No user code deployments or classes on the server's classpath would be needed if Portable applies. Moreover, it will have a considerable impact on the query performance of Leaving the comment here to make this a sort of reminder for the issue. |
HazelcastSessionRepository
currently relies on standard Java serialization, which isn't the ideal option performance wise. We should look into leveraging Hazelcast's serialization mechanism likeDataSerializable
which should yield a nice performance improvement.The text was updated successfully, but these errors were encountered: