Closed Bug 1346446 Opened 8 years ago Closed 3 years ago

Add DataPipe primitive to IPC

Categories

(Core :: IPC, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: jrmuizel, Assigned: nika)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Mojo has a DataPipe primitive that uses shared memory for transferring large amount of data between processes. This would be useful functionality for us to have.
Priority: -- → P3
Blocks: 1405824

We have some active plans to implement a type like this sometime this year. Self-assigning to track the ongoing work I'm doing with this.

My current implementation uses the UniqueFunction type being added in bug 1743020, so marking that as a blocker for now.

Assignee: nobody → nika
Blocks: 1748681
Depends on: 1743020

This is a high-level async pipe which can be cheaply transferred between
processes and uses a shared memory ring buffer as its implementation. This can
be used to efficiently stream non-message oriented data between processes and
is not bound to any particular protocol or thread.

Attachment #9257726 - Attachment description: WIP: Bug 1346446 - Add a DataPipe shared memory pipe type, r=#ipc-reviewers → Bug 1346446 - Add a DataPipe shared memory pipe type, r=#ipc-reviewers
Depends on: 1754040
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/632a30d87d6b Add a DataPipe shared memory pipe type, r=ipc-reviewers,handyman
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: