ACD Performance tuning

ACD Router is a single threaded PHP daemon that heavily relies on PosgreSQL database.
Profiling revealed that SQL backend tuning is critical otherwise update queries can take 100ms and performance can drop to as low as 10 calls a second.

postgreSQL tuning

/var/lib/pgsql/data/postgresql.conf
# - Settings -

fsync = off                             # turns forced synchronization on or off
synchronous_commit = off                # immediate fsync at commit

Changing these options requires

 service sipxecs stop
 service postgres restart 
 service sipxecs start
This "little" change gives 10 fold performance boost!
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.