You have probably heard the term SSD or Solid State Drive before. So what is it exactly and how does it compare to the regular hard drive?

The term “RAID” gets thrown around a lot and it might sound pretty complex. Believe me—it is not, and you can become fluent in the RAID-terminology in no time.

RAID is an abbreviation from Redundant Array of 独立的 磁盘. Having independent disks is the main idea behind RAID (water is wet, right?), since it improves the fault tolerance and the chances that if something goes wrong, you will not lose your important data.

Fun fact: it was called Redundant Array of 便宜的 磁盘首先, but since the vendors thought it suggests the low price of the disks, it was later changed to Redundant Array of 独立的 磁盘.

简而言之, RAID is meant to distribute your data between several hard (or solid state) drives, resulting (depending on the chosen RAID level) in more fault-tolerance and/or speed. You can sometimes use RAID on your personal computer, but they are mainly used for servers.

现在 that we got that out of the way, let’s explain the most popular levels without getting too technical, 我们?

RAID 0, also called Disk Striping

To begin, imagine you have two hard drives. You want to write data on them as fast as you can. 你是做什么的?? Well, you could write data on both drives at the same time. So, 为一个例子, if you want to write the word “Hello” on your drives, 你会写" H ", “l” and “o” to drive number 1, 和“e”, " l "指向第二个驱动器.

Since you can perform two actions at once, the writing times are cut in half. The negative side of RAID 0 is that if one of the drives fails or there’s a power outage, 你可能会丢失所有的数据.

RAID 0 is recommended for services that need to be especially fast. Such services might include live streaming services or video editing, which might otherwise take quite a long time.

RAID 1, also called Disk Mirroring

If you have valuable information that you can’t afford to lose (but you still have a limited budget), RAID 1 might be the right solution for you.

Mirroring just doubles the same data on two (or more) drives, making it more fault-tolerant, 但也慢. 本质上, it’s like writing with both hands at the same time – it’s going to slow the system down since it doubles all the actions, 但当一个驱动器故障时, you can always turn to the other one to ask for your valuables back. Another downside is that it uses up double the space, so it is more expensive than just having one drive.

RAID 1 is recommended for services that store critical information, such as application servers or drives that have important information on them.

RAID 5, also called Disk Striping + Parity

Somehow we have made it from 0 and 1 to 5, hooray! The reason being that RAID levels 2-4 are not very popular, and this article would be just painful with ALL the different types.

RAID 5 is a slightly more complicated version of RAID 0. All the data gets written on (at least) 3 disks, but the third disk contains the sum (parity) of data written on the first two disks. So, 为一个例子, if the sum of the first disk’s data is 10, the sum of the second one is 20, then the parity number is 10 + 20 = 30.

现在, 第一块硬盘故障, the parity can be used for what it’s meant for –  the second drive’s sum gets subtracted from the parity (30 – 20 = 10). With that calculated number, the missing data can be rewritten.
RAID 5 is faster than just disk mirroring (RAID 1) and offers more fault tolerance. 然而, it is not as fast as RAID 0, since the drives still need to calculate the parity after each write. 它也很贵, since it requires at least 3 drives, and 1/3 of the storage space is taken up by the parity.

RAID 5 is recommended for file storage servers, business servers and NAS devices

RAID 1+0, also called Disk Striping + Mirror

This RAID does pretty much what it says – it combines the first and second RAID levels. In short, it combines the speed of RAID 0 and the performance of RAID 1. The main downside of using RAID 1+0 is that it is expensive, since you need at least 4 drives. 也, write times are twice as slow as the read times, since two copies will be written at the same time.

RAID 1+0 is recommended for servers that must do a lot of writing

We would be happy to implement a RAID system of your choosing, or offer you a free consultation to see what would be your best option.