Skip to content

Local Sockets as Pipes #186

@rennergade

Description

@rennergade

We've been successful at increasing IPC performance via pipes (and aim to do better through some mutex optimizations). On the other hand, things in the LAMP stack do IPC via sockets. WSGI uses network sockets locally, and libpq/postgres use local unix domain sockets.

We should be able to model local socket connections in RustPOSIX as a set of two pipes, one in each direction. We should be able to keep track of if a socket is A) created via NaCl/RustPOSIX and B) uses localhost. If so, we should direct RustPOSIX to use these pipes instead of actual sockets.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions