[hibernate-issues] [JIRA] (HHH-13979) Performance with JCache/EhCache v3 is three times slower than with old ehcache

Alex Roytman (JIRA) jira at hibernate.atlassian.net
Thu Apr 23 21:45:26 EDT 2020


Alex Roytman ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aaf412e6c-7e3f-4cbf-8528-13cb0b843224 ) *commented* on HHH-13979 ( https://hibernate.atlassian.net/browse/HHH-13979?atlOrigin=eyJpIjoiYTQzZjgwMWYyNjBlNDg3ZGFhMDE5NzBjYTE3MjllMjQiLCJwIjoiaiJ9 )

Re: Performance with JCache/EhCache v3 is three times slower than with old ehcache ( https://hibernate.atlassian.net/browse/HHH-13979?atlOrigin=eyJpIjoiYTQzZjgwMWYyNjBlNDg3ZGFhMDE5NzBjYTE3MjllMjQiLCJwIjoiaiJ9 )

I did go through with debugger and I see that hibernate's cache entry with its disassembled state (array fields) is being serialized to a byte buffer before being stored in cache. I would have thought that cache entry should be stored in the cache as is without serialization

( https://hibernate.atlassian.net/browse/HHH-13979#add-comment?atlOrigin=eyJpIjoiYTQzZjgwMWYyNjBlNDg3ZGFhMDE5NzBjYTE3MjllMjQiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13979#add-comment?atlOrigin=eyJpIjoiYTQzZjgwMWYyNjBlNDg3ZGFhMDE5NzBjYTE3MjllMjQiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:63ccdc5 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200424/af7a74e2/attachment-0001.html 


More information about the hibernate-issues mailing list