Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brick_server client API enhancement - get/4 with byte range option #23

Open
tatsuya6502 opened this issue Oct 30, 2014 · 0 comments
Open
Assignees
Milestone

Comments

@tatsuya6502
Copy link
Member

Add new operation flag range to get/4 operation:

  • {range, Start::non_negative_integer(), Length::integer()}

Start is a zero-based offset into a value of the key and Length is the length of that part. (Will decide more details later.)

One of the major benefits of issue #17 (Redesign disk storage and checkpoint/scavenger processes) is that now value blob can be read without deserializing a log hunk (no need to apply binary_to_term/1 to it), so this feature can be easily implemented and will have no performance overhead.

@tatsuya6502 tatsuya6502 added this to the v0.3.1 milestone Oct 30, 2014
@tatsuya6502 tatsuya6502 self-assigned this Oct 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant