[OpenSIPS-Devel] [OpenSIPS/opensips] 1c88f8: presence/clustering: Keep presence state on all no...

Vlad Pătrașcu noreply at github.com
Wed Jan 22 10:33:35 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1c88f8fa074b0f773f83a27bffde570db86fba0f
      https://github.com/OpenSIPS/opensips/commit/1c88f8fa074b0f773f83a27bffde570db86fba0f
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/presence/README
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  presence/clustering: Keep presence state on all nodes without shared DB

Add the option to set cluster_federation_mode = 2, which does the
following:

- All PUBLISH/presence state is recorded on the presence node, even when
  no one is subscribed. PUBLISH is now accepted on any node for updated
  state.

This means that you can round-robin your PUBLISH instead of having to
choose a single presence endpoint. And it also means you can switch to
other nodes and get up-to-date state from there, when a node dies.

This is achieved without using a shared DB (which has its own
limitations obviously).


  Commit: d680f158e4af6872bce3fd0d22c1882206377c04
      https://github.com/OpenSIPS/opensips/commit/d680f158e4af6872bce3fd0d22c1882206377c04
  Author: Vlad Pătrașcu <vladp at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/presence/README
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  Merge pull request #1892 from wdoekes/feature/clustering-publish-to-any

presence/clustering: Keep presence state on all nodes without shared DB


Compare: https://github.com/OpenSIPS/opensips/compare/0278b070ac76...d680f158e4af



More information about the Devel mailing list