[asterisk-dev] How to improve astdb? Any ideas?
Olle E. Johansson
oej at edvina.net
Mon Sep 6 04:06:32 CDT 2010
6 sep 2010 kl. 10.43 skrev Matt Riddell:
> On 6/09/10 3:17 PM, Mark Murawski wrote:
>> I remember talking to some main people in #asterisk-dev about a
>> possible plan to ditch astdb and go with sqlite under the hood. sqlite
>> is really easy to incorporate into an app and is in public domain. It
>> can also be used completely in-memory, which will avoid the disk
>> bottlenecks you're hitting.
>
> I'm not sure that sqlite would be much quicker than brekley db (or
> whatever astdb is).
>
> When I've worked with it in the past I haven't found it to be that fast
> - I guess no matter what the back end is some of the similar issues
> would come up, so maybe some of the ideas would be useful regardless?
> Even a config option to enable batching of some writes.
Well, with my "appleraisin" branch you can use sqlite, mysql or
anything you have realtime drivers for as a replacement for the
old astdb/Berkeley DB.
/O
More information about the asterisk-dev
mailing list