Robert Stupp created CASSANDRA-8971:
---------------------------------------
Summary: Multiplexed storage protocol
Key: CASSANDRA-8971
URL: https://issues.apache.org/jira/browse/CASSANDRA-8971
Project: Cassandra
Issue Type: Improvement
Components: Core
Reporter: Robert Stupp
The current storage protocol requires to (de)serialize the whole {{Verb}} once
into a big byte-buffer with the intention not to influence other concurrent
requests. Just want to say that removing the payload size doesn't eliminate the
need to buffer the whole {{Verb}}.
Both streaming-result-set stuff (CASSANDRA-8483) and removing payload size
(CASSANDRA-8100) could benefit from a multiplexed storage protocol - comparable
to the move from thrift to native for the client side. Means: if we have
streams on the storage protocol, we could easily implement both without
influencing other concurrent requests.
With CASSANDRA-8483 working from client via coordinator to replicas, a request
could also become more responsive - i.e. results that are available early can
reach the client early.
Beside improving payload handling a multiplexed storage protocol would also
reduce number of threads and heap pressure required by temporary and possibly
big buffers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)