vB Accelerator
Mod Version: 0.4, by Vitaly
vB Version: 3.8.x |
Rating: (4 votes - 4.25 average) |
Installs: 87 |
Released: 07 Mar 2009 |
Last Update: 10 Mar 2009 |
Downloads: 552 |
Not Supported
Uses Plugins
Auto-Template
Re-usable Code
|
This mod is suited for medium and big boards. It reduces server load, caused by thumnails and big attachments.
what's the problem with?- In original vB all thumbnails a downloaded via php. So, if you page contains 10-20 attached images, then each page php request will be followed by 10-20 thumbnails php requests. That's very bad.
- When attachments body transfered via php, that's much more waisteful, than direct transfer of static file. Especially for big files.
what this mod does:- All thumbnails will have DIRECT links (served as static files). Much lower reply latency and server load.
- If you have http://nginx.net/ webserver, you php-fcgi will not participate in file transfer any more. It will reply with X-Accel-Redirect header. Then nginx will proceed attachment as static file.
- No more problems with multiple downloads of 10-mb files.
- No needs to restrict attachments and full-size images for guests and search bots.
- That works for forum posts, blogs, albums. Everywhere!
how to install:- Make sure, this files are stored on disk, NOT in database:
- post attachments & thumbnails
- blog attachments & thumbnails
- album images & thumbnails
- Make sure, that thumbnails are in web-accessible area. If not - reconfigure your web-server first. If you own big board - then you know how to do that .
- Check manually, that you can download any .thumb file via browser.
- Import this product, and set options for you configuration.
- Be happy to reduce server count in your cluster
PS. It's tested and works fine at my production site for 1 week. But I'll be happy to know server load statistics from big boards owners.
This mod is developped here: https://github.com/rcdesign/vb-accelerator . Patches are welcome.
History
0.4
- fixed bug with PHP wagnings in server logs.
0.3
- first public release
Download
product-vb_accelerator.xml (12.8 KB, 537 downloads)
Supporters / CoAuthors
Screenshots
|