Finally found a good server location for video streaming but how to pull off a good streaming speed

superdev666

Member
Registered
Joined
Mar 15, 2018
Messages
24
Points
3
Hi Guys,

So i have been testing the ping from several server datacenter to my visitors location and bought the server, since my traffic are mainly from korea/japan, and i found this seattle which is located in the US which has extremely low MS to those area, although not very low, but if i buy a server from my country and ping to those countries, the MS is about the same. So i guess this server location will be very good for my vistiors, and here's my question.

What actually contributes to the streaming speed ?

1) Server location/Data center ? ( i got one now, already very close to my visitors ), as compared to previous server which is located at Warsaw/Poland. As you can see, it's over 250MS.


2) i will be using pseudo streaming (nginx) to serve the videos. heard that progressive download is not so good.

3) Ram will affect also ? I will have 32gb ram, not sure if there's enough for 2500 concurrent viewers, it's a video on demand, encoded and ready to view. Should i add 16gb ram more ? or 32 is enough

4) Bandwidth ? (will be using 10gbps unmetered). But provider didn't say the guaranteed speed. But it will be dedicated port ( unshared, able to use 24/7 ).

5) Raid level ? (will be using software raid 10 -> 10x8tb hdd), the server have two more drive which is ssd, 2x150gb ssd. Not sure how to use these two drives, does these two drives matter ?

6) does the packet loss affect the total streaming speed ? I have been researching on this packet loss stuff. if it does, who is responsible for the packet loss ? The bandwidth provider or the server setup configuration?
will be streaming to 2500+ concurrent viewers. Server will be separate from my main server(used for serving visitors only, not videos).

7) Just to add on, i was using 3 servers to load balance, each server was serving around 500-800mbps, not sure if this 10gbps is able to handle 3 servers combined (any advice on this too)

Anything i missed out to pull a good streaming speed ?

This will be the spec of the server :

Dual Xeon 5520
32GB RAM
IPMI
2x120GB SSD + 10 x 8TB HDD

Good thing is provider say that if we want add storage anytime, we can jst let them know and they will add.

Any good advice for a good streaming speed is appreciate. Please don't ask me to use a cdn, cdn is very expensive for me :(

Thank you !!!
 
Last edited:

HostColor

Well-known member
Hosting Provider
Registered
Joined
Jul 27, 2016
Messages
247
Points
28
The CPU of the server is 8-9 year old model and it has been depreciated a long time ago. I don't know how much CPU do you need for your streaming service, but I strongly suggest you to go with any good hardware specification based on E5-2600 series CPU. Using NGINX (or nginx based web server) is a good decision.

A quality 10 Gbps port will cost you a fortune. Check the terms of the offering as you might get 10 GigE physical port, but no more than 1 Gbps bandwidth or just to be forced to pay a lot on the overage bandwidth above the contract commitment.

I would suggest you to go and check whether you can use any CDN which has POPs in Japan or Korea, which specializes in video streaming. Alternatively, you can get server in one of those two countries, which should lower your bill as most of the data transfer will be local traffic (could be local peering).

Those are the things to consider before you choose a streaming software. Another option is to search for streaming providers who would offer "Out-of-the-box" solution.
 

superdev666

Member
Registered
Joined
Mar 15, 2018
Messages
24
Points
3
superdev666
Thank you for your advice.

i Would need some help again. I took a video of my video player loading speed ( this is my server video player ). it took 41 seconds to load finish 20 seconds of duration. Anyone knows how can i increase this using nginx ? using nginx to serve the video files, we upgraded our bandwidth to 1gbps from 500mbps, but it seems it doesn't help at all, it goes to 580mbps then back to 520mbps, then this loading speed doesn't increase fast like during less peak hour.

What could be the possible cause?

https://gfycat.com/MintyWideHaddock
 
Older Threads
Replies
17
Views
3,977
Replies
12
Views
5,771
Replies
4
Views
2,840
Replies
4
Views
2,321
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top