View Full Version : Archive
Estad
Sat 22nd Apr '06, 4:28am
How About to add a system for archiving the threads by converting these threads to HTML Pages only, then remove these threads and there posts from DB.
That means. These threads will be only for viewing and no body can replay.
This system will help to decrease the DB Size, and will make less than pressure on DB.
You can make this system in ADMINCO with Adding a lot of setting for it. Such as you can select the forum, the user name, the date or the duration of the date.
I hope to take this suggestion
With best Regards
:cool:
BellyBelly
Wed 3rd May '06, 10:34am
That sounds like a great idea...
Estad
Thu 4th May '06, 1:13pm
converting these threads to HTML Pages only, then remove these threads and there posts from DB.
maybe not body understand this sugestion .
Colin F
Thu 4th May '06, 5:36pm
While the devs read all the suggestions, they may not respond to each one.
feldon23
Fri 5th May '06, 10:35am
More likely that threads will be stored in some kind of flat system with a Perl front-end.
SaN-DeeP
Sat 6th May '06, 1:21am
what will you do in case you need to modify your archive pages ?
feldon23
Sat 6th May '06, 11:28am
In what way?
It doesn't really accomplish anything for an "archive" to still be drawing from a large MySQL database with PHP code. It uses almost the same amount of system resources as the regular forum.
Perl would serve up "flattened" forum pages where usernames, signatures, avatars, etc. don't have to be fetched.
infexious
Sun 7th May '06, 11:15am
feldon23 would you mind explaining why you think a flatfile db with a perl front-end would be more suitable than the system generating structured html pages?
It can from a templating perspective but it would be nice for the archve to be purely html as you could then export it and bigger forums with more of a following could even sell their archives as cd's / zips to the hardcore users. which wouldnt be possible with a perl front end.
It also introduces another programming language into the equasion and keeping everything php sql and html sounds easier and much more efficient especially on servers that are dedicated to the application which wouldnt need to run perl if the archive front end was all html.
From a templating perspective, the admin CP could have a script which processed each page of the archive with changes you wanted to make. similar to how the mail all users function works where it could move from one page to another to avoid a timeout. The fact that its an archive means that it wouldnt need much style or many (if any) changes.
feldon23
Sun 7th May '06, 11:50am
The purpose of the Archive is to reduce database load.
If it still has to fetch user, thread, and forum info including avatar, signature, # of posts, join date, etc., then you've wasted your time and the Archive will be just as much a drain on the server as the regular forum.
A true archive is a read-only snapshot of events.
I know of no Linux webhost that doesn't have perl running. Heck, most of the configuration scripts that are built into the operating system use perl. Saying that a server might not have perl so we shouldn't do it is like saying we shouldn't assume that "dir/w" will work on a PC.
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.