Collection.findAll performance issue - offset and limit improvement
-------------------------------------------------------------------
Key: DS-659
URL: http://jira.dspace.org/jira/browse/DS-659
Project: DSpace 1.x
Issue Type: Improvement
Components: DSpace API
Affects Versions: 1.7.0
Reporter: Bojan Suzic
Priority: Trivial
Attachments: collection.java.add.txt
During the REST API development it has been noticed that in some cases
Collection.findAll may introduce performance issues, e.g. by working on big
collections.
For REST based browsing it is inefficient to preload big collection of say
20000 items and then return only first 100 items to the user. There are also
other examples.
In order to prevent those issues and optimize response I created two
additional findall functions making possible to use offset and limit clauses
during collections browsing. Also the simple function for returning number of
collections in the system is added.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel