Project

General

Profile

Shared data in cluster mode

Julia Zashchitina
Added almost 4 years ago

Hello.

We need to persist some data in our custom plugin or component (e.g. concurrent map) and this data should be shared within cluster environment. We plan to use Tigase ACS for clustering. Could you please make a tip if there is a way to do that with some existing functionality or what is a preferred way to accomplish the task. Thanks in advance.


Replies (1)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam almost 4 years ago

It is hard to give you suggestions without knowing details and all the requirements. We do share some data in the cluster in some places and depending on the use-case we use either a database (cluster connections management and auto configuration) or memory (Tigase ACS). Using a shared database is pretty straightforward and there are a few APIs for that in Tigase. Using memory involves using clustered API and synchronizing data over the cluster. This is not straightforward or easy but is usually more effective and fast than database.

    (1-1/1)