Re: Hosting a CDN question

2020-03-18 Thread Stuart Henderson
On 2020/03/19 00:55, tom ryan wrote: > On 2020-03-18 19:42, Stuart Henderson wrote: > > On 2020-03-17, Flipchan wrote: > >> Yeah the point with a cdn is to lower the latency of it so therefor you > >> what is needed is just not only a fast http server but a traffic > >> redirector depending on

Re: Hosting a CDN question

2020-03-18 Thread tom ryan
On 2020-03-18 19:42, Stuart Henderson wrote: > On 2020-03-17, Flipchan wrote: >> Yeah the point with a cdn is to lower the latency of it so therefor you what >> is needed is just not only a fast http server but a traffic redirector >> depending on the end users origin > > Doing this via

Re: Hosting a CDN question

2020-03-18 Thread Stuart Henderson
On 2020-03-17, Flipchan wrote: > Yeah the point with a cdn is to lower the latency of it so therefor you what > is needed is just not only a fast http server but a traffic redirector > depending on the end users origin Doing this via redirects does not lower latency, it increases it. It may

Re: Hosting a CDN question

2020-03-17 Thread Aaron Mason
In that case, relayd would be the most likely port of call. On Wed, Mar 18, 2020 at 10:06 AM Flipchan wrote: > > Yeah the point with a cdn is to lower the latency of it so therefor you what > is needed is just not only a fast http server but a traffic redirector > depending on the end users

Re: Hosting a CDN question

2020-03-17 Thread Flipchan
Yeah the point with a cdn is to lower the latency of it so therefor you what is needed is just not only a fast http server but a traffic redirector depending on the end users origin On March 17, 2020 3:44:27 AM GMT+01:00, Aaron Mason wrote: >You can easily "write" one in Go with 9 lines of

Re: Hosting a CDN question

2020-03-17 Thread Kevin Chadwick
On 2020-03-17 02:48, Aaron Mason wrote: > It's worth noting that httpd didn't go over ~30% in the test, whereas > the Go web server absolutely slammed the system. I wonder if this is linked to Go's concurrency. Personally I would look into tweaking httpd defaults and relayd as GOs net/http runs

Re: Hosting a CDN question

2020-03-17 Thread infoomatic
varnish does not bring down the network latency if users are sitting on the other end of the world... On 17.03.20 08:48, Wayne Oliver wrote: On 2020/03/16 12:26, Flipchan wrote: Hey all, My company needs to put up a cdn for fast hosting of javascript, images and css for websites, and then i

Re: Hosting a CDN question

2020-03-17 Thread Wayne Oliver
On 2020/03/16 12:26, Flipchan wrote: Hey all, My company needs to put up a cdn for fast hosting of javascript, images and css for websites, and then i would need something faster then httpd. Does anyone here run a cdn for static website content? If so what software did u use to set it up ?

Re: Hosting a CDN question

2020-03-16 Thread Jordan Geoghegan
On 2020-03-16 03:26, Flipchan wrote: Hey all, My company needs to put up a cdn for fast hosting of javascript, images and css for websites, and then i would need something faster then httpd. Does anyone here run a cdn for static website content? If so what software did u use to set it up

Re: Hosting a CDN question

2020-03-16 Thread Aaron Mason
It's worth noting that httpd didn't go over ~30% in the test, whereas the Go web server absolutely slammed the system. On Tue, Mar 17, 2020 at 1:44 PM Aaron Mason wrote: > > You can easily "write" one in Go with 9 lines of code. And since Go > builds static binaries, you can chroot it for

Re: Hosting a CDN question

2020-03-16 Thread Aaron Mason
You can easily "write" one in Go with 9 lines of code. And since Go builds static binaries, you can chroot it for security. I just did a quick test between httpd and a web server written in Go and on a simple text file with 20,000 requests from 10 threads I saw a 2.3x improvement on a pair of

Hosting a CDN question

2020-03-16 Thread Flipchan
Hey all, My company needs to put up a cdn for fast hosting of javascript, images and css for websites, and then i would need something faster then httpd. Does anyone here run a cdn for static website content? If so what software did u use to set it up ? have a good one Sincerely Filip