[JAVA-22] set batch size ( was: Ability to configure getmore buffer size in Java driver ) Created: 18/Aug/09  Updated: 02/Oct/09  Resolved: 15/Sep/09

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.10

Type: Improvement Priority: Major - P3
Reporter: Ryan Nitz Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

As discussed...

When walking over a ~ 3M document collection the server is locking all collections for ~ 300-400 ms as it pulls more data from the server to the cursor.

While there are concurrency issues, it would be handy to pull less data (hence locking less).



 Comments   
Comment by Eliot Horowitz (Inactive) [ 18/Aug/09 ]

number of objects.
we don't have a way currently to do data size, that would be a much bigger change

Comment by Ryan Nitz [ 18/Aug/09 ]

Does batch size refer to the number of documents or the amount of data pulled?

Generated at Thu Feb 08 08:51:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.