I am currently setup with Kamailio 5.1 on an AWS t2.micro as a SIP300 LCR solution with a http_query call to an external resource (c# .NetCore app for LRN dip and MySQL Route choices) to get the contacts string, tag it to the Contact header an send 300. Its been a while since I have performance tested on SIP and It was SIPp. - Is http_query a bad choice for performance. Is KEMI better? - Are there any better free apps than SIPp? - Has anyone got cps stats for a SIP300 only Kamailio instance on AWS - Is AWS a bad choice for prime time LCR. Any gory stories? KD
On Thu, May 24, 2018 at 10:15:42PM +0000, KamDev Essa wrote:
- Is http_query a bad choice for performance. Is KEMI better?
As long as you perform the queries in a properly asynchronous manner, i.e. using http_async_client, not necessarily. But yes, HTTP queries are by nature bureaucratic, since they evolve the establishment of a new connection socket, etc. Doing something more inline is always better.
- Are there any better free apps than SIPp?
sipp is the leading FOSS tool for this. There are a variety of commercial ones.
- Has anyone got cps stats for a SIP300 only Kamailio instance on AWS
That's a meaningless question; way, way, way too many variables.
- Is AWS a bad choice for prime time LCR. Any gory stories?
No, it's not a bad choice.
-- Alex
I am assuming the function http_query in kamailio utils is async. Is it not? KD On Thursday, May 24, 2018, 6:19:33 PM EDT, Alex Balashov abalashov@evaristesys.com wrote:
On Thu, May 24, 2018 at 10:15:42PM +0000, KamDev Essa wrote:
- Is http_query a bad choice for performance. Is KEMI better?
As long as you perform the queries in a properly asynchronous manner, i.e. using http_async_client, not necessarily. But yes, HTTP queries are by nature bureaucratic, since they evolve the establishment of a new connection socket, etc. Doing something more inline is always better.
- Are there any better free apps than SIPp?
sipp is the leading FOSS tool for this. There are a variety of commercial ones.
- Has anyone got cps stats for a SIP300 only Kamailio instance on AWS
That's a meaningless question; way, way, way too many variables.
- Is AWS a bad choice for prime time LCR. Any gory stories?
No, it's not a bad choice.
-- Alex
On Thu, May 24, 2018 at 10:27:00PM +0000, KamDev Essa wrote:
I am assuming the function http_query in kamailio utils is async. Is it not?
It is not async, and is furthermore deprecated in 5.x.
You may want to have a look at:
https://kamailio.org/docs/modules/5.1.x/modules/http_client.html https://kamailio.org/docs/modules/5.1.x/modules/http_async_client.html
But in general, if you're looking to squeeze maximum performance for a dialer type workload, no, pound-for-pound, HTTP is not the way to go.
-- Alex