Skip to content

Serialize request/response with BSON instead of JSON #11

@jjavery

Description

@jjavery

Currently request and response messages are serialized with JSON, so only types supposed by JSON can be passed between a worker pool and its workers. This prevents, for example, a Date instance from being returned by a worker function.

Look into using BSON (or another faster/more capable serializer?) so more built-in types can be deserialized unmolested.

When child_process.fork() "advanced" serialization is used, errors occur. Look into why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions