Data compression is the decrease of the number of bits which should be stored or transmitted and the process is rather important in the web hosting field because information kept on hard drives is generally compressed to take less space. You can find different algorithms for compressing info and they provide different efficiency based upon the content. Some of them remove only the redundant bits, so no data will be lost, while others delete unnecessary bits, which results in worse quality when your data is uncompressed. This method employs a lot of processing time, therefore a hosting server should be powerful enough to be able to compress and uncompress data quickly. An illustration how binary code could be compressed is by "remembering" that there're five consecutive 1s, for example, in contrast to storing all five 1s.
Data Compression in Cloud Hosting
The ZFS file system which operates on our cloud hosting platform employs a compression algorithm named LZ4. The latter is significantly faster and better than any other algorithm out there, especially for compressing and uncompressing non-binary data i.e. internet content. LZ4 even uncompresses data quicker than it is read from a hard disk, which improves the performance of sites hosted on ZFS-based platforms. As the algorithm compresses data quite well and it does that quickly, we can generate several backups of all the content kept in the cloud hosting accounts on our servers daily. Both your content and its backups will need reduced space and since both ZFS and LZ4 work very quickly, the backup generation will not change the performance of the web servers where your content will be kept.
Data Compression in Semi-dedicated Servers
The semi-dedicated server plans which we offer are created on a powerful cloud platform which runs on the ZFS file system. ZFS employs a compression algorithm called LZ4 that is superior to any other algorithm available in terms of speed and compression ratio when it comes to processing web content. This is valid especially when data is uncompressed as LZ4 does that a lot faster than it would be to read uncompressed data from a hard disk and for that reason, sites running on a platform where LZ4 is enabled will function at a higher speed. We're able to take full advantage of the feature although it requires quite a large amount of CPU processing time because our platform uses a large number of powerful servers working together and we don't create accounts on a single machine like the majority of companies do. There's one more benefit of using LZ4 - given that it compresses data really well and does that speedily, we can also make multiple daily backup copies of all accounts without influencing the performance of the servers and keep them for a whole month. This way, you can always restore any content that you erase by accident.