- Joined
- Nov 14, 2012
I've tried every optimization. Here's how fucked it is.
I've spent all morning implementing an X-Accel-Redirect header in XenForo. I learned about this during Infinity Next.
github.com
Basically, if you use PHP for sending images, you're going to have a bad time. Literally the exact fucking opposite of web scale. For some reason, XenForo does this. It's become apparent XenForo is not optimized for large sites and especially not for large sites that want to cache content.
So I set to work getting this feature in XF2 and by the end of it, proxy.php is so fast that the new iowait bottleneck is on nginx and the entire server is down, effectively DoS'd by early morning traffic.
fuck this, I'm going to buy a server tomorrow and hope the merch run finances it, we can't wait anymore
I've spent all morning implementing an X-Accel-Redirect header in XenForo. I learned about this during Infinity Next.
infinity-next/infinity-next
Infinity Next is an imageboard suite utilizing the Laravel framework. - infinity-next/infinity-next

Basically, if you use PHP for sending images, you're going to have a bad time. Literally the exact fucking opposite of web scale. For some reason, XenForo does this. It's become apparent XenForo is not optimized for large sites and especially not for large sites that want to cache content.
So I set to work getting this feature in XF2 and by the end of it, proxy.php is so fast that the new iowait bottleneck is on nginx and the entire server is down, effectively DoS'd by early morning traffic.
fuck this, I'm going to buy a server tomorrow and hope the merch run finances it, we can't wait anymore