Data compression is the compacting of info by lowering the number of bits that are stored or transmitted. In this way, the compressed information will require much less disk space than the initial one, so extra content can be stored using the same amount of space. There're different compression algorithms that work in different ways and with many of them just the redundant bits are erased, which means that once the information is uncompressed, there's no loss of quality. Others erase excessive bits, but uncompressing the data at a later time will result in reduced quality in comparison with the original. Compressing and uncompressing content takes a large amount of system resources, and in particular CPU processing time, therefore every web hosting platform which uses compression in real time should have enough power to support that feature. An example how data can be compressed is to replace a binary code such as 111111 with 6x1 i.e. "remembering" the number of sequential 1s or 0s there should be instead of keeping the actual code.
Data Compression in Web Hosting
The compression algorithm that we use on the cloud hosting platform where your new web hosting account will be created is named LZ4 and it is used by the advanced ZFS file system that powers the platform. The algorithm is greater than the ones other file systems employ since its compression ratio is much higher and it processes data a lot faster. The speed is most noticeable when content is being uncompressed as this happens faster than data can be read from a hdd. For that reason, LZ4 improves the performance of any website hosted on a server that uses the algorithm. We use LZ4 in an additional way - its speed and compression ratio let us produce a number of daily backup copies of the entire content of all accounts and store them for thirty days. Not only do our backups take less space, but in addition their generation won't slow the servers down like it often happens with some other file systems.
Data Compression in Semi-dedicated Servers
Your semi-dedicated server account will be created on a cloud platform that is run on the leading-edge ZFS file system. The aforementioned uses a compression algorithm known as LZ4, that is far better than other algorithms in terms of compression ratio and speed. The gain is noticeable particularly when data is being uncompressed and not only is LZ4 faster than other algorithms, but it is also quicker in uncompressing data than a system is in reading from a hard drive. This is the reason why Internet sites running on a platform which uses LZ4 compression perform better since the algorithm is most efficient when it processes compressible data i.e. web content. An additional advantage of using LZ4 is that the backup copies of the semi-dedicated accounts that we keep require much less space and they're generated a lot quicker, which allows us to keep a couple of daily backups of all your files and databases.