Design doc: Zstd re-compression for CDT cache entries

10 views
Skip to first unread message

Himanshu Panwar

unread,
Apr 7, 2026, 8:57:02 AMApr 7
to net...@chromium.org, Suresh Potti, Dheeraj Pannala, Mayur Patil, Nitin Dwivedi
  Hi net-dev,                                                                                                           
                                         
  I'm working on adding zstd compression for Compression Dictionary Transport (CDT) cache entries in the HTTP cache     
                                                                                                                        
  CDT enables delta-compressed HTTP responses using shared dictionaries, but the disk cache currently stores the fully  
  decompressed body. This means cache entries are significantly larger than the original on-the-wire response. The
  proposal is to re-compress these bodies with zstd level 1 before writing to disk, and transparently decompress on     
  cache reads.                           

  Design doc: https://docs.google.com/document/d/1UMHyHuZmjpP_ZVeuZ68mzFK1C-YCq35EM5SXBVoPHdI/edit?tab=t.0                                                                                                                                                   
                                                                                                                        
  Would appreciate any feedback on the approach, particularly around the threading model and the state machine     
  integration points.                                                                                              
                                         
  Thanks,                                                                                                               
  Himanshu

Adam Rice

unread,
Apr 24, 2026, 11:12:22 AM (4 days ago) Apr 24
to Himanshu Panwar, net...@chromium.org, Suresh Potti, Dheeraj Pannala, Mayur Patil, Nitin Dwivedi
Sorry for the delayed response. This is good work. I made a couple of comments, nothing major.

Thanks,
Adam

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/PSAP153MB0520172DA189CCEC8622522BB65AA%40PSAP153MB0520.APCP153.PROD.OUTLOOK.COM.
Reply all
Reply to author
Forward
0 new messages