From 73934df3b009faaba8a5798fdced53978b9de424 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 23 Jan 2018 17:40:43 -0600 Subject: [PATCH] doc/dev/msgr2.rst: a few notes on protocol goals Signed-off-by: Sage Weil --- doc/dev/msgr2.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/dev/msgr2.rst b/doc/dev/msgr2.rst index 584ce7d8259..a3c17774cb7 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 ----------- -- 2.39.5