[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-327) Capability to reuse IndexWriter instances across transactions
Sanne Grinovero (JIRA)
noreply at atlassian.com
Fri Oct 30 07:08:14 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34358#action_34358 ]
Sanne Grinovero commented on HSEARCH-327:
-----------------------------------------
Getting impressive results with a micro-benchmark (not very reliable):
FS, new IndexWriter per Transaction:
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 15453ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 15960ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 14787ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 38502ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 14450ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 14397ms. (100 searches, 10 insertions, 20 updates)
FS, IndexWriter shared across each Transaction:
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 1395ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 305ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 266ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 274ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 267ms. (100 searches, 10 insertions, 20 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 173ms. (100 searches, 10 insertions, 20 updates)
> Capability to reuse IndexWriter instances across transactions
> -------------------------------------------------------------
>
> Key: HSEARCH-327
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-327
> Project: Hibernate Search
> Issue Type: Improvement
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 3.2.0
>
>
> don't close the IndexWriter but reuse it for the work on the next transaction.
> It is needed that this can be disabled for some configurations: create a new configuration parameter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list