Data compression is the compacting of info by lowering the number of bits which are stored or transmitted. Thus, the compressed data will take substantially less disk space than the initial one, so more content could be stored using the same amount of space. You will find different compression algorithms that work in different ways and with a number of them just the redundant bits are removed, which means that once the data is uncompressed, there is no loss of quality. Others erase excessive bits, but uncompressing the data later will lead to lower quality in comparison with the original. Compressing and uncompressing content consumes a significant amount of system resources, in particular CPU processing time, therefore each and every Internet hosting platform which employs compression in real time should have ample power to support that attribute. An example how data can be compressed is to replace a binary code such as 111111 with 6x1 i.e. "remembering" what number of consecutive 1s or 0s there should be instead of saving the actual code.
Data Compression in Shared Hosting
The compression algorithm used by the ZFS file system that runs on our cloud hosting platform is called LZ4. It can supercharge the performance of any website hosted in a shared hosting account on our end because not only does it compress data much better than algorithms employed by various other file systems, but also uncompresses data at speeds which are higher than the hard disk reading speeds. This is achieved by using a lot of CPU processing time, that is not a problem for our platform considering the fact that it uses clusters of powerful servers working together. An additional advantage of LZ4 is that it enables us to generate backups more speedily and on lower disk space, so we shall have multiple daily backups of your databases and files and their generation will not affect the performance of the servers. In this way, we could always restore all of the content that you may have deleted by accident.
Data Compression in Semi-dedicated Servers
The semi-dedicated server plans that we supply are created on a powerful cloud hosting platform which runs on the ZFS file system. ZFS works with a compression algorithm called LZ4 that outperforms any other algorithm you can find in terms of speed and compression ratio when it comes to processing website content. This is valid particularly when data is uncompressed since LZ4 does that more quickly than it would be to read uncompressed data from a hard disk and because of this, websites running on a platform where LZ4 is present will function faster. We can benefit from this feature although it requires quite a lot of CPU processing time as our platform uses a large number of powerful servers working together and we don't create accounts on a single machine like the vast majority of companies do. There's another advantage of using LZ4 - since it compresses data rather well and does that very fast, we can also generate several daily backup copies of all accounts without affecting the performance of the servers and keep them for 30 days. By doing this, you can always recover any content that you delete by accident.