228 reputation
28
bio website
location
age
visits member for 4 years, 10 months
seen Oct 22 '12 at 18:46

Aug
27
comment Best way to load balance across multiple static file servers for even an bandwidth distribution?
Yes, that's exactly how I'm storing the images. However, the problem isn't with storage, it's with bandwidth distribution.
Aug
27
comment Best way to load balance across multiple static file servers for even an bandwidth distribution?
Thank you very much. Your survey results were very helpful. I think this is the solution I will finally come to. However, "Like any good researcher, I don't act until I have enough data.". :)
Aug
27
comment Best way to load balance across multiple static file servers for even an bandwidth distribution?
Hey, thanks for the response. I've actually tried this already, and it doesn't work as well in practice as it does in theory. The reason is that Apache handles all the requests, so every time a user hits an image, Apache is spawned, looks at the url, then sends it to it lighty. Which is no different then just having Apache handle the image in the first place. I agree that a load balancer provided by my host is the best option, but it's also one of the most expensive. They charge per concurrent connection, and I get hundreds of them.
Aug
27
comment Best way to load balance across multiple static file servers for even an bandwidth distribution?
Yes, HAProxy is on the same server - I only have one so far. Even if I broke it out to another server, wouldn't all data still travel through the server with HAProxy, as I've explained above? Short URLs are important because that's sort of the purpose to the site. It's a crossover between ImageShack and TinyPic. The longer the URL, the less point my site has. But as I said, if the only viable option is to setup a subdomain, then I'd just have to do it. I would really prefer not to though.