Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta
-
Fix Version/s: 2.0-beta
-
Component/s: couchbase-bucket
-
Security Level: Public
-
Labels:None
Description
We'd like 2 optimizations to make reads faster and more efficient:
1. Stored the update seq id of every update inside the item rowId. This should be a very simple task.
2. Batch reads together. As background fetches get backed-up, there is an opportunity to batch the reads from a single vbucket into one bulk read request. This will require some restructuring of the background fetch code to batch them together, ensure that reads are scheduled fairly (perhaps try to batch by vbucket in a loop) so we don't make read requests wait a very long time.
This task has a dependency onMB-5163, which are the couchstore modifications necessary to make this happen.
1. Stored the update seq id of every update inside the item rowId. This should be a very simple task.
2. Batch reads together. As background fetches get backed-up, there is an opportunity to batch the reads from a single vbucket into one bulk read request. This will require some restructuring of the background fetch code to batch them together, ensure that reads are scheduled fairly (perhaps try to batch by vbucket in a loop) so we don't make read requests wait a very long time.
This task has a dependency on
Activity
Trond Norbye
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | couchbase-bucket [ 10173 ] | |
| Component/s | bucket-engine [ 10010 ] |
Frank Weigel
made changes -
| Sprint Status | Next Sprint | Current Sprint |
Jin Lim
made changes -
| Assignee | Jin Lim [ jin ] | Aaron Miller [ aaron ] |
Chiyoung Seo
made changes -
| Assignee | Aaron Miller [ aaron ] | Jin Lim [ jin ] |
| Fix Version/s | 2.0-beta [ 10113 ] | |
| Affects Version/s | 2.0-beta [ 10113 ] |
Dipti Borkar
made changes -
| Summary | Couchkvstore read improvements | Couchkvstore read improvements ( BDR- batch disk reads) |
| Sprint Priority | 1 |
Dipti Borkar
made changes -
| Link | This issue depends on CBD-340 [ CBD-340 ] |
Jin Lim
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Mike Wiederhold
made changes -
| Sprint Status | Current Sprint |
Just my 0.5 nok...