Data compression is the compacting of info by decreasing the number of bits which are stored or transmitted. This way, the compressed information will take substantially less disk space than the initial one, so more content might be stored using identical amount of space. You will find various compression algorithms that function in different ways and with several of them just the redundant bits are erased, which means that once the information is uncompressed, there is no decrease in quality. Others remove unnecessary bits, but uncompressing the data subsequently will lead to reduced quality compared to 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 needs to have sufficient power to support this feature. An example how information can be compressed is to replace a binary code such as 111111 with 6x1 i.e. "remembering" how many consecutive 1s or 0s there should be instead of keeping the actual code.
Data Compression in Shared Hosting
The compression algorithm which we work with on the cloud web hosting platform where your new shared hosting account will be created is called LZ4 and it is applied by the leading-edge ZFS file system which powers the platform. The algorithm is far better than the ones other file systems employ because its compression ratio is much higher and it processes data significantly faster. The speed is most noticeable when content is being uncompressed as this happens even faster than info can be read from a hdd. Therefore, LZ4 improves the performance of each and every website hosted on a server that uses this algorithm. We take advantage of LZ4 in an additional way - its speed and compression ratio let us generate a couple of daily backup copies of the entire content of all accounts and keep them for thirty days. Not only do the backups take less space, but also their generation will not slow the servers down like it can often happen with alternative file systems.
Data Compression in Semi-dedicated Hosting
The semi-dedicated hosting plans that we provide are created on a powerful cloud hosting platform which runs on the ZFS file system. ZFS employs a compression algorithm known as LZ4 that outperforms any other algorithm these days in terms of speed and data compression ratio when it comes to processing web content. This is valid especially when data is uncompressed because LZ4 does that more rapidly than it would be to read uncompressed data from a hard disk and owing to this, websites 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 needs quite a considerable amount of CPU processing time as our platform uses a number of powerful servers working together and we never make accounts on just a single machine like many companies do. There's an additional reward of using LZ4 - since it compresses data rather well and does that very fast, we can also make several daily backups of all accounts without affecting the performance of the servers and keep them for 30 days. This way, you can always restore any content that you delete by accident.