Message from JavaScript discussions

June 2018

— And to scale those, you need multiple disks, or better network


Right now i have 2 machine. 1 as like web server. another is for encoding. becoznI know encoding need resources to work so I buy 2.

Then I subscribe to Google Drive with similar price (around $5) because my web server run out of space to store video

The Google Drive just to save old video. not the new one.

i assume visitors 90% acces my web server to watch video at the same time then that server got to load longer than regular time

— What do you encode?

— Of course the video. my visitors 90% from mobile. and i need to encode HD or bigger bitrate

— Oh. so you have like a video upload platform and your visitors can upload videos and you encode them for specific devices?

Message permanent page

— No. they just download or stream

— But why dont you encode the Videos once and save them? Do this like a queued job and run it every night when there is not much traffic on your site so nobody will notice

Message permanent page

— Pardon me, can you clarify the question? i only encode once per video. so yes

— I thought you encode the videos in realtime - so once for every visitor. But if you dont do this, everything is fine

Message permanent page

— No. not in real time. but still my video needs to wait longer to start bcoz the traffic. and its bad

— Limit IP not good, limit sessions

— I would suggest to implement for single user first, then think about scaling.. imo