And welcome back now in place, we will be discussing about the range gets into the history.
So when you looked into their data retrieval options in the registry, there are two primary configuration
options which are available.
First one is to retrieve an entire object and second one is to retrieve object in parts.
So the first one will go ahead and perform a single great operation, which will return the entire object,
which is stored in history.
Now, the second one, which is the Vetri object in Parkes, you're we basically make use of these EPA
that we get the request and you can specify the range in a number of byte in an object which is stored
in history.
So you can only retrieve that amount of bytes.
So this can be better explained with this diagram where you have a big file available in history and
they use it.
He requests to give only the first pin in the fight and the S3 bucket has the return, only the fourth
anniversary of the fight instead of sending the entire file.
So that's the basic concept behind this.
Now, speaking about the advantages of this kind of operation, there are two important benefits which
are available.
First one is that this presumably download is useful when you need only a portion of your object data.
So this is something that we've already seen in the earlier target.
The second one is that it is useful where a network connectivity is forward and you need to react to
failures.
Now, one common example is that a lot of people have seen is that when you download a big fight from
the Internet, so there are certain websites which does not give you, as you may well download.
So at 99 percent, if your Internet disconnects due to some reason and you try to resume it, it does
not resume.
You have to again download from scratch.
So that is a big thing.
So this presumably download related feature really helps.
So this strange indicate you can go ahead and also download the remaining one percent.
Great.
So that's the high level overview.
Let's quickly look into the practical aspect so that it becomes a better industry.
So for today's demo, what we have is we have a five Colace number 36.
And let me quickly open this up.
And what it does, it basically brings the number from one 200.
So now let's do one thing.
Let's go ahead and execute the fight and you will typically see the numbers being generated.
So let's go ahead and store it to five quarters numbers.
All right.
So if you quickly do a guide on numbers NEHTA, you should see a number from over 200.
So what do we do?
We'll go ahead and we'll copy this specific fight to a three bucket.
So I have a history book at Golez might be Livestock Range and will be uploading the failure.
So let's specify the filename and I'll specify that bucket name.
All right, so the data has been copied, so I already had the access is configured with the appropriate
permission.
So if you want to verify, you can quickly refresh and you should see the number which is available.
So as you are discussing, if you want to fix certain aspects of the file, you can make use of the
database S3 API get object.
Come on.
So if you go back down and within this synopsis, you will see that there is a specific option called
range.
And if you go a bit down, it mentions that it downloads the specified range of bytes of a specific
object.
So you like it also references to the appropriate documentation associated with the EU, the Internet.
So let's go ahead and make use of this and we'll go ahead and fit the range of numbers not being defined.
So let me clear the screen.
So let's say that this is three EPA.
We do a get object operation and we'll specify the range where we specify zero to 10 bytes and then
you can go and look into the synopsis.
So you have to specify the bucket as well as the key.
So this is little different from a typical Idalis S3 CPE card.
So the bucket is my epilepsia front range and the is numbers dirtbag's.
And then let's go ahead and specify the range of the file in our workstation that would be downloaded.
Now before we do that, let's quickly verify that.
So the key name is no dopiest.
Let's fix this table and let's present.
So within the content range is Redzepi header.
You have the bytes, which is zero out of 10 from 292.
Now, if you quickly do a list, you should see that there is one modified custom on the screen.
And if you look at on this file, you will only see the numbers over one, two, five on it.
So I hope you understood at the of it.
Were you on how you can specify the range in bytes to download specific content over a three object?
Great.
So with this will conclude this.
We do.
I hope this video has been informative for you and I look forward to seeing the next video.