[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-212) Added a new very efficient ReaderProvider

Sanne Grinovero (JIRA) noreply at atlassian.com
Fri Jun 13 18:41:33 EDT 2008


Added a new very efficient ReaderProvider
-----------------------------------------

                 Key: HSEARCH-212
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-212
             Project: Hibernate Search
          Issue Type: Improvement
          Components: directory provider
            Reporter: Sanne Grinovero
            Assignee: Sanne Grinovero


Creating a new ReaderProvider, it should be faster and more scalable compared to the current ones.

Here are some numbers on a little 9MB index; it should improve on bigger indexes:
(SharingBufferReaderProvider is the name it had during tests)

using 100 threads:
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 34735ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 34396ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 37347ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 36895ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 36100ms. (20000 searches, 1000 insertions, 2000 updates)

Performance test for shared: 42433ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for shared: 44830ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for shared: 40704ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for shared: 43685ms. (20000 searches, 1000 insertions, 2000 updates)

Performance test for not-shared: 50452ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for not-shared: 48171ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for not-shared: 52862ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for not-shared: 49999ms. (20000 searches, 1000 insertions, 2000 updates)

20 Threads:
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 31133ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for org.hibernate.search.reader.SharingBufferReaderProvider: 31408ms. (20000 searches, 1000 insertions, 2000 updates)

Performance test for shared: 38170ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for shared: 36327ms. (20000 searches, 1000 insertions, 2000 updates)

Performance test for not-shared: 41712ms. (20000 searches, 1000 insertions, 2000 updates)
Performance test for not-shared: 42224ms. (20000 searches, 1000 insertions, 2000 updates)

-- 
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