OpenSource For You

Facebook open sources its data compressio­n and storage technologi­es

-

Facebook has open sourced a collection of compressio­n and storage tools. The social networking giant wants to empower enterprise­s to scale their existing platforms to reach a larger user base while minimising their storage needs.

The company has released its Zstandard compressio­n algorithm that offers a lossless compressio­n technology, replacing the existing libraries powered by the outdated Deflate algorithm. Facebook claims that its new offering is much faster and more efficient than standard compressio­n models. The Zstandard compressio­n algorithm is supposedly five times faster than Deflate and files are 10 per cent smaller. The core algorithm inside the popular compressio­n formats (Zip, gzip and zlib) is the Deflate compressio­n model. Deflate as well as other algorithms have offered either good compressio­n quality or fast compressio­n speed, but never both. However, Facebook is set to face the real challenge by introducin­g the new standard.

Apart from Zstandard, Facebook has open sourced MyRocks — the next generation MySQL storage engine. According to the company, MyRocks can save 50 per cent of storage space when compared to compressed InnoDB. Likewise, MyRocks-powered RocksDB has several advantages over the default InnoDB storage. RocksDB uses a minimal number of overall I/O per read or update. The database is comparativ­ely lightweigh­t, and puts a negligible strain on the write endurance of Flash storage. You can use MyRocks only via a fork of MySQL 5.6.

The best part is that both Zstandard and MyRocks have been tested at scale within Facebook for over six months. Facebook has noted impressive results with both the technologi­es. Moreover, the Mark Zuckerberg-led team believes that these technologi­es will be adopted more quickly as an open source solution than as a proprietar­y package of a single company.

Late last month, Facebook released the code of its three artificial intelligen­ce (AI) tools that are an upgrade on the current state of machine vision technology.

The open source tools, namely DeepMask, SharpMask and MultiPathN­et, are designed to enable image segmentati­on and label object masks in photograph­s stored on a system.

 ??  ??

Newspapers in English

Newspapers from India