Freeswitch database polling
Hello, A question for curiosity: We use ODBC over MySQL to serve the FS core database. This database is replicated (by MySQL means) to a backup system which runs MySQL also. There is no cluster between the two, only one-way MySQL replication. The FS on on the other system shows an updated current status of all extensions registered (sofia status profile XXX). How does it do so? a timely update/polling of the database? If so, what is the interval, and doesn't it make much load on MySQL database when there are a lot of registered phones? Thanks! __Yehavi:
When you run the 'sofia status profile xxx' command it does a database lookup. There's no polling, just a lookup when it needs to see who is registered. -Steve On 17 March 2011 07:18, Yehavi Bourvine <yehavi.bourvine@gmail.com> wrote:
Hello,
A question for curiosity: We use ODBC over MySQL to serve the FS core database. This database is replicated (by MySQL means) to a backup system which runs MySQL also. There is no cluster between the two, only one-way MySQL replication.
The FS on on the other system shows an updated current status of all extensions registered (sofia status profile XXX). How does it do so? a timely update/polling of the database? If so, what is the interval, and doesn't it make much load on MySQL database when there are a lot of registered phones?
Thanks! __Yehavi:
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Steven Ayre
-
Yehavi Bourvine