Share per-table cursors for get/put/delete operations. #4

Merged
gburd merged 1 commit from gsb-shared-cursors into master 2013-03-13 22:15:35 +00:00
gburd commented 2013-03-13 21:34:48 +00:00 (Migrated from github.com)

This change adds an ets table mapping table name to an open shared cursor for operations (get/put/delete) on that table to avoid open/use/close cycle of calling the session_{get,put,delete} operations. This should save us some time going in and out of the WT library.

One open question is if the cursor handles could potentially become invalid for reuse due to some error condition in the library.

This change adds an ets table mapping table name to an open shared cursor for operations (get/put/delete) on that table to avoid open/use/close cycle of calling the session_{get,put,delete} operations. This should save us some time going in and out of the WT library. One open question is if the cursor handles could potentially become invalid for reuse due to some error condition in the library.
vinoski commented 2013-03-13 22:15:31 +00:00 (Migrated from github.com)

+1

+1
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/wterl#4
No description provided.