David Smiley created ZOOKEEPER-4187:
---------------------------------------

             Summary: Support compressed data natively
                 Key: ZOOKEEPER-4187
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4187
             Project: ZooKeeper
          Issue Type: Improvement
            Reporter: David Smiley


I think it's common to put files in ZooKeeper that compress well, sometimes 
extremely well.  The client (perhaps facilitated by Curator) can compress this, 
but it'd be nicer I think if ZK supported this natively.

Wether a file is compressed or not could be the choice of the client, and the 
ZK client could just do it for the user (ease of use), provided you have the 
appropriate dependency.  The server need not do any compression; leave it to 
the client.  A ZK client could tell the server what compression algorithms it 
supports, so that if a client (perhaps an old one) doesn't have the compression 
libs needed for a given file it wants, the server could decompress on its 
behalf.  That should handle backwards-compatibility.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to