Date: Tue, 12 Dec 2000 18:30:36 +0100 From: Christoph Sold <so@server.i-clue.de> To: Mike <mike@fdhosting.com>, isp@freebsd.org Subject: Re: OT: gdbm Message-ID: <3A3660BC.1030105@i-clue.de> References: <4.3.2.7.2.20001206025552.02e79f98@mail.futuredesigns.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike wrote: > Quick off topic question: > Would it be better/faster to pull configuration for a C or PHP cgi > from a text file, or GDBM db? The program will be accessed over > 200,000/day, so speed and reliability is a concern. Depends. If you have to start up gdbm and all its libs each time you access the data, and the configuration data is small, a text file would be faster. If you configuration data is lagre or you need complicated selection algorithms, gdbm may gain speed against simnply reading and sorting through a text file. In both cases, if there is enough memory, the OS will keep the files in RAM. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3660BC.1030105>