[OpenSIPS-Devel] [OpenSIPS/opensips] 71b47f: ratelimit/clusterer: Add "Cluster-Bridge Replicati...

Liviu Chircu noreply at github.com
Thu Sep 25 14:05:35 UTC 2025


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 71b47fa2bb9fe371dd037cc44f622891b9500762
      https://github.com/OpenSIPS/opensips/commit/71b47fa2bb9fe371dd037cc44f622891b9500762
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M bin_interface.c
    M bin_interface.h
    A db/schema/clusterer_bridge.xml
    M db/schema/opensips-clusterer.xml
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/version

  Log Message:
  -----------
  ratelimit/clusterer: Add "Cluster-Bridge Replication" feature

This patch extends both clusterer and ratelimit with an optional
mechanism to replicate pipes between different clusters, possibly over
larger-latency, inter-DC WAN links.  This helps improve the scalability
of the default, full-mesh pipe replication strategy.

A new table has been added, named "clusterer_bridge", which contains
directed replication channels between different clusters.  The
origination node is decided using a shared tag, one for each WAN link.

  Before:
     DC #1         DC #2
           WAN link
       A ─────────── C
       │ \        /  │
       │   \   /     │
       │      X      │            8 inter-DC replication channels
       │    /   \    │               (AC,AD,BC,BD,CA,CB,DA,DB)
       │  /       \  │
       B ─────────── D
           WAN link
        cluster_id: 1

  After:                                                2 inter-DC
          DC #1       WAN link        DC #2            replications
     ( A <-----> B ) <--------> ( C <------> D )         (AC,DB)
      cluster_id: 1               cluster_id: 2
    sender: wan1 shtag          sender: wan1 shtag

Credits to SIPNav for sponsoring this work!


  Commit: 0419e8ac4d261cca4d260914a3179f7c72b73d30
      https://github.com/OpenSIPS/opensips/commit/0419e8ac4d261cca4d260914a3179f7c72b73d30
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M db/schema/opensips-clusterer.xml
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/ratelimit/doc/ratelimit_admin.xml

  Log Message:
  -----------
  clusterer/ratelimit: Document the new Bridge-Replication feature


  Commit: 5449f356fbbdb2f8f0674720f1c74d48199d62b5
      https://github.com/OpenSIPS/opensips/commit/5449f356fbbdb2f8f0674720f1c74d48199d62b5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M bin_interface.c
    M bin_interface.h
    A db/schema/clusterer_bridge.xml
    M db/schema/opensips-clusterer.xml
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h
    M modules/ratelimit/doc/ratelimit_admin.xml
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/version

  Log Message:
  -----------
  Merge branch 'feature/ratelimit-bridge-repl'


Compare: https://github.com/OpenSIPS/opensips/compare/9ce51e374418...5449f356fbbd

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list