From: Sage Weil Date: Tue, 23 Jan 2018 23:40:43 +0000 (-0600) Subject: doc/dev/msgr2.rst: a few notes on protocol goals X-Git-Tag: v13.0.2~452^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=73934df3b009faaba8a5798fdced53978b9de424;p=ceph.git doc/dev/msgr2.rst: a few notes on protocol goals Signed-off-by: Sage Weil --- diff --git a/doc/dev/msgr2.rst b/doc/dev/msgr2.rst index 584ce7d82591..a3c17774cb7b 100644 --- a/doc/dev/msgr2.rst +++ b/doc/dev/msgr2.rst @@ -5,6 +5,25 @@ This is a revision of the legacy Ceph on-wire protocol that was implemented by the SimpleMessenger. It addresses performance and security issues. +Goals +----- + +This protocol revision has several goals relative to the original protocol: + +* *Multiplexing*. We will have multiple server entities (e.g., + multiple OSDs and clients) coexisting in the same process. We would + like to share the transport connection (e.g., TCP socket) whenever + possible. +* *Signing*. We will allow for traffic to be signed (but not + necessarily encrypted). +* *Encryption*. We will incorporate encryption over the wire. +* *Flexible handshaking*. The original protocol did not have a + sufficiently flexible protocol negotiation that allows for features + that were not required. +* *Performance*. We would like to provide for protocol features + (e.g., padding) that keep computation and memory copies out of the + fast path where possible. + Definitions -----------