Mini CDN For My Blog Videos
After posting an example of 720p resolution H.264 video I was annoyed that whilst viewing my own blog I was not receiving the best video load rates, as my blog is hosted on a server in the USA and I am located in the UK.
Regular encoded .flv videos would load perfectly well as I could download from the USA at 200kB/sec and these videos only require about 90kB/sec of bandwidth, but the H.264 video requires about 470kB/sec to load/play instantly.
So, I have coded a simple CDN solution and now videos for users from the Western hemisphere will load from a server in the USA and videos for users east of the Atlantic will load from my server in the UK. I now receive download speeds of 480kB/sec which is just enough for the H.264 video and only limited by my broadband connection.
I shall expand upon the CDN code in due course, but for now it is a perfect and fully automated solution requiring no maintenance.
If you experience any troubles with the videos on the site then please let me know by posting a comment below.