Skip to content

Why does Node.js not provide something like SharedObjectBuffers out of the box? #131

@hjerabek

Description

@hjerabek

First, I want to thank @Bnaya very much for creating and sharing this great library, and for putting in the effort to maintain it. Keep up the great work!

My main question is why projects like Node.js do not provide a solution like this out of the box. IMO, any application that requires sharing large objects between worker threads benefits from not having to permanently serialize and deserialize the objects. Yet, this objectbuffer is the only solution I could find that comes close to what I would consider a proper SharedObjectBuffer implementation. Can anybody give me a reason for this? A frequent "excuse" to not implement SharedObjectBuffers are potential race conditions, but, as this project shows, this can be solved with locks...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions