[asterisk-dev] How to improve astdb? Any ideas?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Sep 6 07:09:56 CDT 2010


On Sun, Sep 05, 2010 at 08:32:03PM +0200, Stefan Schmidt wrote:
> Hello list,
> 
> in my test scenario i have seen that astdb could be a problem in a heavy
> loaded system (for example 2000 sip peers). Atleast the real problem is
> the astdb->sync which is called on every astdb_put/delete or deltree call.
> 
> the problem is that syncing the astdb to the disk will needs minimum 2ms
> and up to 40 ms with an big amount of entries in the database. In this
> time no incoming package is read so this will cause some really bad
> things to the system like every peer get unreachable.

What kernel do you use? What filesystem?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list