Where should I store my website video and photos for fast rendering. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Where should I store my website video and photos for fast rendering.

I am creating a website(in core php) where user will post video and photos. So where should I store the video and photo fir fast rendering. Should I store it on my server or other server. Which way is best for this.

29th May 2018, 4:15 PM
Amit
Amit - avatar
5 Answers
+ 1
Phantom Downvoter aditionaly to his qestions: filesystems? databases? it can be useful to use a second server that has uses a filesysten with better read write performance for the average file size that you will be handling, depending on how big the website is you want to use multiple servers that distribute requests between multiple media servers and multiple normal servers
29th May 2018, 4:27 PM
Max
Max - avatar
+ 1
For fast rendering, you cannot rely on server, the faster server still has large latency time. You should load image object in browser first before display it on DOM using Image() function.
29th May 2018, 5:10 PM
Calviղ
Calviղ - avatar
0
Can we encrypt the video and photo for fast rendering. Is it possible?
29th May 2018, 4:22 PM
Amit
Amit - avatar
0
So max I should use the other server like Google cloud service or other.
29th May 2018, 4:30 PM
Amit
Amit - avatar
0
depends on how many users you have. amazon ec2 is also a standart choice
29th May 2018, 4:32 PM
Max
Max - avatar