PoSocket: Parcel Delivery over TPC/Unix Sockets

  • Id: RS-005.
  • Status: Placeholder.
  • Type: Implementation.

Abstract

This document will describe PoSocket, a binding for internal Parcel Delivery Connections (PDC) on top of TCP or Unix sockets. As a purpose-built Application Layer protocol, this is the most efficient binding to deliver parcels.

Open Questions

  • Is this binding really worth having? PoWebSocket can achieve exactly the same, although not very efficiently because implementations typically load the whole message in memory and the protocol adds some overhead (especially due to the lack of HTTP/2 support). Would these theoretical performance gains be noticeable? And if so, do they justify having a purpose-built Layer 7 protocol?