The term data compression refers to lowering the number of bits of information which needs to be stored or transmitted. This can be done with or without losing information, so what will be erased throughout the compression will be either redundant data or unneeded one. When the data is uncompressed afterwards, in the first case the info and the quality shall be the same, while in the second case the quality will be worse. You can find various compression algorithms which are more efficient for different kind of information. Compressing and uncompressing data generally takes a lot of processing time, therefore the server executing the action should have ample resources in order to be able to process your data quick enough. A simple example how information can be compressed is to store just how many consecutive positions should have 1 and just how many should have 0 in the binary code rather than storing the particular 1s and 0s.
Data Compression in Shared Hosting
The ZFS file system that runs on our cloud Internet hosting platform employs a compression algorithm called LZ4. The aforementioned is a lot faster and better than any other algorithm you can find, especially for compressing and uncompressing non-binary data i.e. internet content. LZ4 even uncompresses data faster than it is read from a hard drive, which improves the overall performance of sites hosted on ZFS-based platforms. As the algorithm compresses data really well and it does that very quickly, we are able to generate several backups of all the content kept in the shared hosting accounts on our servers daily. Both your content and its backups will take less space and since both ZFS and LZ4 work very fast, the backup generation will not influence the performance of the hosting servers where your content will be kept.
Data Compression in Semi-dedicated Servers
The semi-dedicated server plans which we provide are created on a powerful cloud platform which runs on the ZFS file system. ZFS works with a compression algorithm known as LZ4 that is superior to any other algorithm you will find in terms of speed and compression ratio when it comes to processing web content. This is valid particularly when data is uncompressed since LZ4 does that more rapidly than it would be to read uncompressed data from a hard disk and because of this, Internet sites running on a platform where LZ4 is present will work faster. We can take full advantage of this feature despite of the fact that it requires quite a lot of CPU processing time because our platform uses many powerful servers working together and we do not create accounts on a single machine like the majority of companies do. There is one more advantage of using LZ4 - considering that it compresses data very well and does that extremely fast, we can also generate several daily backups of all accounts without influencing the performance of the servers and keep them for 30 days. That way, you'll always be able to recover any content that you delete by accident.