On 06/16/2011 10:35 PM, Worley, Dale R (Dale) wrote: > The obvious place to improve performance is to put a bit of caching in the > sipX server libraries. You could cache based either on the TTL received from > the DNS server or have a fixed, short cache lifetime. What would really help > is to have an autonomous thread refreshing the cache -- if a cache entry is > about to time out and it has been referenced recently, the thread would do a > DNS request in hope of extending the entry's lifetime. In most cases, sipX > only translates a handful of DNS names, the same names over and over, and if > the working threads never had to make DNS requests (because the refreshing > thread would keep all the translations in-cache), it would avoid blocking. >
I agree with Dale on this and I believe a timed cache for DNS SRV records is a relatively trivial task to implement and is a sure winner. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
