Version: , by Kevlar
Developer Last Online: Apr 2017
Version: Unknown
Rating:
Released: 03-13-2006
Last Update: Never
Installs: 0
No support by the author.
How do large boards handle attachments? Right now I have about 7GB of attachments in my file system. I was just curious how others deal with this issue. Especially if you have more than one web server...
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Anyone with more than a few hundred MB of attachements should move them out of the DB and into the file system. Personally I would always use the file system anyway, I don't think attachments belong in the database (the only time it's useful to have them in the DB is when moving server)
I have attachments on a separate server with some minor hacks to the attachment php files and templates.
I guess... the next question would be, how did you come across those minor hacks to allow you to run the attachments from a different server? :surprised:
I guess... the next question would be, how did you come across those minor hacks to allow you to run the attachments from a different server? :surprised:
Given some of the hacks he's released, its pretty safe to assume that he meant that he figured out how to mod the files accordingly. There is no publically released hack that tells you how to do it.
This is a very good read for anyone that would like more "exact" information on why Files stored in Database for a busy site is not a good idea; as well as a compromise.
Keep the master storage in the Database, while providing a local cache in the file system.
I guess... the next question would be, how did you come across those minor hacks to allow you to run the attachments from a different server? :surprised:
It's actually easier than it looks - make sure subdomains are included in the cookie, then have an attachment server that runs a strip down vbulletin with just attachment.php, global.php and some include files, modify attachment.php, modify the attachment templates to point to the subdomain for the attachment server, and you're done.
It's actually easier than it looks - make sure subdomains are included in the cookie, then have an attachment server that runs a strip down vbulletin with just attachment.php, global.php and some include files, modify attachment.php, modify the attachment templates to point to the subdomain for the attachment server, and you're done.
I would be interested to know how that is covered by the licence since you are running two copies of vb ?
well if the forum powered it all (on the backend) it wouldnt be a violation it still would be 1 copy (just not in the directory structure they supplied)