Forum Moderators: coopster & phranque

Message Too Old, No Replies

perl database

only 10k members?

         

tarek990

10:27 am on May 27, 2004 (gmt 0)

10+ Year Member



i purchased this perl cgi membership script that the author says it can take up to 10K members..
it uses 2 .dat files to store user info.. one for all the info and one for the internal messages..

my question is : Why would the database have a limit of # of users? is it that the .dat would not exceed a maximum size? or that it wouldnt be fast enough after that?
in any case.. can i increase the max number of users?

thanks,
Tarek

volatilegx

4:07 pm on May 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If its using flat files to store the data, then it is using an inefficent means to do data lookups.

10,000 is an arbitrary number, and the script probably could handle more (unless the author hardcoded it not to), but might bog down after 10,000.

You might want to consider moving to MySQL or another relational database which would be more efficient.

coopster

4:08 pm on May 27, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



It is more than likely a performance recommendation by the author, but very well could be an advisory regarding other issues such as operating system or file system limitations. Or perhaps it is a limitation invoked by the author to have you subscribe to a paying service beyond that many users? If there is nothing in the script/purchase agreement regarding license limitations, go ahead and try increasing, but be prepared to have a backup plan (database solution) just in case!

guess we were on the same wavelength, volatilegx!