Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 07:54:16 -0800 (PST)
From:      Tom Samplonius <tom@sdf.com>
To:        Mike <mike@fdhosting.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: OT: gdbm
Message-ID:  <Pine.BSF.4.05.10012060752330.19340-100000@misery.sdf.com>
In-Reply-To: <4.3.2.7.2.20001206025552.02e79f98@mail.futuredesigns.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 6 Dec 2000, 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.

  If the program needs to read the entire configuration, there would be no
difference because the entire file would need to read.  Any kind of db
only helps if you are retrieving data by key.

  The best things is to not use CGI at all (well with fastcgi, you could
load the config just once).

Tom



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?Pine.BSF.4.05.10012060752330.19340-100000>