chibenwa opened a new pull request #572:
URL: https://github.com/apache/james-project/pull/572


   SHA-256 generates 32 bytes long hash.
   
   HEX encodes 1 byte with two characters so leads to 64 long
    char strings.
   
   Base64 have an overhead of 133% so leads to use 44
   characters.
   
   This simple change have the potential to significantly
   decrease Cassandra storage space: each message storing 4
   blobIds minimum (messageV3 header and body, header in
    imapuidtable and messageidtable, not counting attachments)
   thus we save 80 bytes per message pre-compression.
   
   Note that deduplication is affected by this fix: similar
   content before / after this fix will be affected different
   blobIds so will be stored twice.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to