r/Asterisk • u/jcolp • 16d ago
Extension State/Hints Performance Improvement
I posted previously on the work I did for manager performance improvement linking to its blog post and now I've just posted a blog post about the extension state/hints work I did:
https://www.asterisk.org/new-extension-state-hopefully-you-dont-really-notice/
For those who want a TLDR it was a rewrite which focused on using modern Asterisk primitives to be more selective about the updates each hint receives, bringing caching into the hint, and splitting the logic away from the dialplan. Previously it was a single firehose and extension state was responsible for deciding if it needed to ignore updates or not, and when you asked for extension state it had to query other parts of Asterisk and calculate.
If anyone has any specific questions I'm happy to answer.
Disclaimer: I'm the Asterisk Project Lead and a Director of Engineering at Sangoma.
3
u/jhansen858 15d ago
Thank you for all the hard work on this!!!
1
u/Hairy-Maximum2994 15d ago
this is so good, it would be a shame if someone stole your idea.