In this video,
we will discuss persisting the media files we downloaded for storage.
The general options available to us are into generic
file storage and a structured database.
At the end of the day,
it comes down to the specific use case that you have for the media data
that you're downloading and also any other concerns that you and your
organization might have in relation to data privacy,
security, and protection.
Another critical factor to think about is the cost of storage.
While it can seem that cloud providers offer very cheap data storage options,
if you're working at large volumes,
you may well find that the costs mount up very quickly
for both storage and data access.
In general,
the cost of storing data on the cloud is not only related to the
physical storage and persistence but also the speed that you want
to read and write the data itself.
Some providers not only give the option for standard data
persistence but give you the opportunity to put your data into
what's called long‑term cold storage.
This is a very cheap storage option for data that you don't
expect to access on a frequent basis,
but you do need to have it in the background,
perhaps, for regulatory reasons.
In general,
the best advice for persisting media data is to store it on either standard or
other longer relevant media, and then keep a reference to the file in a
database where you can keep track of the origin of the file, the date that you
put it in there, and any retention or deleted data governance policies that
need to be applied to the data itself.