]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev/msgr2.rst: a few notes on protocol goals 20083/head
authorSage Weil <sage@redhat.com>
Tue, 23 Jan 2018 23:40:43 +0000 (17:40 -0600)
committerSage Weil <sage@redhat.com>
Tue, 23 Jan 2018 23:40:43 +0000 (17:40 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
doc/dev/msgr2.rst

index 584ce7d82591d097f5f88451343a40684878618b..a3c17774cb7b168d9d570d122c4eb8e9ec25d357 100644 (file)
@@ -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
 -----------