[Asterisk-Dev] Current database abstraction effort ?

James H. Cloos Jr. cloos at jhcloos.com
Tue Jan 6 08:48:21 MST 2004


>>>>> "Steven" == Steven Critchfield <critch at basesys.com> writes:

Steven> extension lookups in a DB more than once is wasteful and
Steven> way suboptimal. Loading them all at start time makes the DB
Steven> nothing more than a fancy flat file with a funny editing
Steven> language.

The ususal method is to cache the lookups for a configurable length
of time.  There should also be a configurable number of threads
talking to the DB.  It works well for other applications, such as
dns servers.

-JimC






More information about the asterisk-dev mailing list