Entry
Is it worth creating files, like a log, for each new member or simply pull from a database.
Mar 15th, 2008 21:26
dman, ha mo, Kerim Cilingiroglu, Narendra Jain, Martin Tuncaydin, http://www.ttnr.org
It purely depends on the extent of the information needed for your
application. Following should be considered:
1. Do you need user history?
2. User security requirements.
3. Module security / usage requirements.
4. Disk space requirements and availability.
5. System performance and response times required.
Generall speaking, I would like a logging for users and even track
module usage for all usage statistics etc. Afterall, computers are
faster with much more available spaces - and so do not create much
problems.
Hope this helps...
-----
Definitely use database. Even mysql is dramatically faster than straight
file access.
Using database for this feature would not only good for performance but
it would make it easier for you to make large scale changes and
maintenance as well.