Data compression is the compacting of information by reducing the number of bits that are stored or transmitted. Consequently, the compressed info needs much less disk space than the initial one, so extra content could be stored on the same amount of space. There're many different compression algorithms that work in different ways and with several of them just the redundant bits are deleted, which means that once the info is uncompressed, there is no loss of quality. Others delete excessive bits, but uncompressing the data afterwards will result in reduced quality in comparison with the original. Compressing and uncompressing content consumes a significant amount of system resources, particularly CPU processing time, therefore every web hosting platform that uses compression in real time should have ample power to support this feature. An example how information can be compressed is to substitute a binary code such as 111111 with 6x1 i.e. "remembering" how many consecutive 1s or 0s there should be instead of keeping the whole code.
Data Compression in Shared Hosting
The compression algorithm used by the ZFS file system that runs on our cloud internet hosting platform is known as LZ4. It can enhance the performance of any website hosted in a shared hosting account with us as not only does it compress data more efficiently than algorithms used by various file systems, but also uncompresses data at speeds that are higher than the hard drive reading speeds. This can be done by using a great deal of CPU processing time, that is not a problem for our platform considering that it uses clusters of powerful servers working together. An additional advantage of LZ4 is that it allows us to make backups more quickly and on less disk space, so we can have multiple daily backups of your databases and files and their generation will not influence the performance of the servers. In this way, we can always recover the content that you could have removed by mistake.
Data Compression in Semi-dedicated Servers
The semi-dedicated server plans that we offer are created on a powerful cloud hosting platform that runs on the ZFS file system. ZFS uses a compression algorithm named LZ4 that is greater than any other algorithm you will find in terms of speed and compression ratio when it comes to processing web content. This is valid especially when data is uncompressed because LZ4 does that more quickly than it would be to read uncompressed data from a hard disk and owing to this, websites running on a platform where LZ4 is enabled will work at a higher speed. We are able to take advantage of this feature despite of the fact that it needs quite a lot of CPU processing time because our platform uses a wide range of powerful servers working together and we don't make accounts on just a single machine like a lot of companies do. There's one more advantage of using LZ4 - considering the fact that it compresses data rather well and does that speedily, we can also make several daily backup copies of all accounts without affecting the performance of the servers and keep them for a whole month. This way, you'll always be able to bring back any content that you erase by accident.