FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Why store messages in text files?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Why store messages in text files? [message #168382] Thu, 25 April 2013 01:15 Go to next message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: July 2012
Location: Oceanside
Karma: 6
Senior Member
The FAQ says that this is for performance, but I really don't understand how storing files in the filesystem could result in quicker performance than storing those same messages in the database -- especially if that database can fit in RAM.

This is the first situation where the way FUDforum does something (or at least the default way it does it) seems wrong to me.

I keep seeing this banner ad for web performance load testing. I wonder if they could test it for me and tell me which way is faster.

Now let me go back on what I said. As I recall, phpBB2 had a cache and would store that in a filesystem... Hmmm...
Re: Why store messages in text files? [message #168386 is a reply to message #168382] Thu, 25 April 2013 05:59 Go to previous message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Test both and decide what works best for you. FUDforum will support it either way. It can even move messages between database and file system storage and vice versa (see Compact Messages).

File system storage works reasonably well for most forums. Think of file system storage as operating the forum from cache. If you plan on running your forum across multiple sites with database replication, then it would probably be better to put the messages in the DB and enable a caching plugin.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Individual Forum Analytics
Next Topic: PATH_INFO style URLs?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 16:45:02 GMT 2024

Total time taken to generate the page: 0.02116 seconds