[OpenSIPS-Devel] [OpenSIPS/opensips] 48e529: dialog: improve performance of replicated profiles

Vlad Pătrașcu noreply at github.com
Tue May 14 12:45:15 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 48e5293fea014f5e26cd1ca1dfce397aa49cbefc
      https://github.com/OpenSIPS/opensips/commit/48e5293fea014f5e26cd1ca1dfce397aa49cbefc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-05-14 (Tue, 14 May 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_repl_profile.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: improve performance of replicated profiles

Improve the performance of operations with replicated profiles
(increment/decrement, get count) by avoiding the traversal of a list of
counters proportional with the number of dialogs.
This patch mostly impacts profiles with value.

(cherry picked from commit 40ccbf9cabad05b4cfd264cefeb113187131dd43)





More information about the Devel mailing list