Skip to content

Can you do this, but async? #14

@nichoth

Description

@nichoth

I was thinking about a situation of doing a 'live' map-reduce operation — where you group multiple log values under a key (this is the map function, choosing the key), and then reducing to get the value for that key. In order to get the previous reduced value from the leveldb though, you would need to read the current value for this key, which is an async operation.

I have a feeling that it could get weird when you try to keep all the constraints we want, like atomic writes, and also optimizing the writes by batching a number of input values. I haven't thought this through too much yet, but figured it wouldn't hurt to think out loud.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions