[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. |
| Comment by Ryan Nitz [ 18/Aug/09 ] |
|
Does batch size refer to the number of documents or the amount of data pulled? |