Zstandard (zstd) Compressed
Zstandard (zstd) เป็นอัลกอริทึมบีบอัดสมัยใหม่ที่ให้ความสมดุลที่ยอดเยี่ยมระหว่างความเร็วและอัตราส่วนการบีบอัด พัฒนาโดย Facebook ออกแบบมาเพื่อแทนที่ gzip ในหลายสถานการณ์
ประเภท MIME
application/zstd
ประเภท
ไบนารี
การบีบอัด
ไม่สูญเสียคุณภาพ
ข้อดี
- + 2-5x faster than gzip at comparable compression ratios
- + Wide compression level range (1-22) from real-time to archival
- + Dictionary mode excels at compressing small, similar payloads
- + Supported in HTTP content encoding and modern Linux distributions
ข้อเสีย
- − Newer format with less universal tool support than gzip
- − Not natively supported by older operating systems
- − Maximum compression levels are slower than xz for marginal gains
เมื่อใดควรใช้ .ZST
ใช้ Zstandard แทน gzip สมัยใหม่ — การส่งเนื้อหาเว็บ การบีบอัดล็อก ไฟล์เก็บถาวรแพ็กเกจ และงานที่ต้องการทั้งความเร็วและการบีบอัดที่ดี
รายละเอียดทางเทคนิค
Zstandard รวม LZ77 matching กับตัวเข้ารหัส tANS (finite state entropy) และรองรับ 22 ระดับการบีบอัด โหมด Dictionary ช่วยเพิ่มอัตราส่วนสำหรับข้อมูลขนาดเล็กที่คล้ายกัน
ประวัติ
Yann Collet (ผู้สร้าง LZ4 ด้วย) พัฒนา Zstandard ที่ Facebook ในปี 2015 เปิดเป็นโอเพนซอร์สในปี 2016 และได้รับมาตรฐานเป็น RFC 8478 ในปี 2018