AVPs are in shared men and protected by locks. VARs
are not.
There shouldn't be a big impact on using lots of them. Are you
experiencing any issues?
Regards
Ovidiu Sas
On Feb 20, 2014 7:32 PM, "Jijo" <realjijo(a)gmail.com> wrote:
We have defined dedicated AVP variables for each
feature. For example,
SIP Trunks or Subscribers or Media Handling or Header Manipulation etc, So
the no of variables (AVP) has been increased in the initialization.
At an instance the no of AVP's used/active might be quite low as each
avp's are dedicated for the feature.
Does avp read or write cause any Lock?
The VAR's has been used locally through out the route for header
manipulation and other functions.
On Thu, Feb 20, 2014 at 5:37 PM, Alex Balashov <abalashov(a)evaristesys.com
wrote:
Can you give some example of your use cases for
them?
I cannot say for sure, but my intuition is that if you have three
hundred variables in any program, you're doing something wrong. At that
point you're in territory that clearly calls for some sort of non- scalar
data structure, such as an associative array.
Jijo <realjijo(a)gmail.com> wrote:
Hi All,
I have around 300 AVP's and quite amount of VAR's are used in the
config file? Does that impact performance?, If so how can i improve it?
Thanks
Jijo
------------------------------
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Sent from my mobile, and thus lacking in the refinement one might expect
from a fully fledged keyboard.
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0671
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org