[OpenSIPS-Users] setflag/isflagset or cache_store/cache_fetch

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Dec 6 11:10:17 UTC 2022


Hi Alain,

Setting a flag is less expensive. But if you want to have call/dialog 
persistence for the flags, use the dialog flags, not the transaction flags.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
   https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/

On 11/21/22 5:39 PM, Alain Bieuzent wrote:
>
> Hi All,
>
> I need to store information during a call. They are often binary 
> information (for example which rtpengine was used).
>
> For the moment I store this information in a local redis database. In 
> most cases a setflag/isflagset would be enough.
>
> What are the best practices, which of the two systems consumes the 
> least CPU?
>
> Thanks
>
> Alain
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221206/c54ffa02/attachment.html>


More information about the Users mailing list