Wednesday, August 9, 2017

S3 and EBS Storage Modes

What is block level storage and What is object level storage

S3 uses object level Storage and EBS uses block level storage. Please find more info about block level storage and about object level storage below.

Block level Storage

In block level storage your HDD will be divided  into small pieces called blocks. For eg:  Let's say you have an file of size 10 MB and you are saving it to your HDD of your PC/Laptop. File will take space on HDD based on the block size of HDD, if the block size is 512 KB then it will take 20 blocks in the HDD. If the file is opened again and if the contents of the file are modified. Then is it required to update all blocks ?. The Answer is NO, it is enough to modify the blocks where change has happened. 

Object Level Storage

In object level storage, lets take the same. If the file is opened again and if the contents of the file are modified. Then is it required to update all blocks ?. The Answer is YES in this case, the complete file need to be flushed out and copied again.

TIP : For fast read and write, block level storage is the right option. For continuous read and rare write then object level storage is better is the better Option

No comments:

Post a Comment