On Dec 19, 2024, at 1:54 pm, Ben Kaufman bkaufman@bcmone.com wrote:
Alex,
I read the OP's requirements like this. They want to implement a redirect server that will: • Receive a SIP INVITE • Make a single http request that has a RTT of 200ms • Copy a header from the HTTP reply to a SIP 300 reply • Handle the ACK for the reply
Is it your opinion this cannot be implemented reliably with Kamailio on a 4vCPUs and 4GB RAM host at a rate of 750 INVITE requests per second?
I have no idea. That's an empirical question. In my experience, that's an ambitious ask given the stochastic variation in HTTP API response time (i.e. it's not exactly and literally 200 ms), but it's probably possible with enough processes.
My only argument--from first principles-- is that you'll get a lot more throughput if you ditch HTTP, and I joined the conversation at the point at which Alexis Fidalgo expressed that async isn't a cure-all. I wanted to sign onto this sentiment.
-- Alex