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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to