Message from JavaScript discussions
June 2018
— 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?
— 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
— 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
— 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
— My videos content againts their rules, so I host my self. then another free host video sutes has ads on it. and I think they dont like ads. so i host the video by my self
— Cloud flare? i consider it
— I will search info about this and load balancer stuff maybe i learn first