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

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


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: df90f8dc7a9c8e7fe0a9a2a5bdb179497f6cd836
      https://github.com/OpenSIPS/opensips/commit/df90f8dc7a9c8e7fe0a9a2a5bdb179497f6cd836
  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
    M modules/dialog/dlg_replication.h

  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