Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: flat-file vs DB_File

by pmas (Hermit)
on Sep 09, 2001 at 06:44 UTC ( #111234=note: print w/replies, xml ) Need Help??

in reply to flat-file vs DB_File

Using database is preferable in this situation IMHO, because:
- it is more scalable (if more users/more fieds added, flat-file performance will degrade much faster
- will add SQL/database skills to your toolset. It is better to start learning it on this kind of simple projects, so next time, when needed, you'll be ready...

I agree with dws that reading small flat file with file caching can be faster, but I believe we need to ask business questions: if small number of users, speed gain will not be important enough for not applying scalable solution, so why not to do it properly? Next time, when cynix will need accomodate more users, s/he can start with something better than flat files...

Just my $0.02

To make errors is human. But to make million errors per second, you need a computer.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://111234]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2022-05-16 10:07 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (62 votes). Check out past polls.