Skip to content

thread-stream and sonic-boom are really needed? #13

@H4ad

Description

@H4ad

From what I learn, this is the flow that triggers each package:

flowchart TD
%% Nodes
A("pinojs"):::green
B("Create Instance"):::orange
C("Received transport"):::blue
D("Use Sonic Boom"):::blue
E("Use Thread Stream"):::blue

%% Edges
A --> B --> C
C -- No --> D
C -- Yes --> E
Loading

Using this workflow, we can:

  • replace sonic-boom for createWriteStream.
    • It will be slower but will work until we port sonic-boom.
  • replace thread-stream for stdin: true on worker.
    • We will need to re-implement the flush mechanisms, and the communication in theory will be slower since thread-stream use SharedArrayBuffer.

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