Skip to content

question about read concurrency [JIRA: RIAK-2330] #228

@benoitc

Description

@benoitc

I was looking at the code of bitcask and was looking for a way to improve the read concurrency coming from different processes. Questions follow:

  • if I open a database as read only in 1 process, and read_write in another, will it be possible to catch novelty in the read_only database? O I could use 1 process for writes and one or more for reads?
  • Looking at ìterator/3` (https://github.com/basho/bitcask/blob/develop/src/bitcask.erl#L536-L538) is this possible if know the keydir to open the iterator in another erlang process? The general idea would be having multiple iterator workers processes without seeing stuck to one process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions