Hi all,

In the last weeks I've been working on an Apache Sling based replication
module and I'd like to donate it to the project so I'm wondering if that
may sound interesting for the community.

Its main purpose is to "replicate" data between Sling instances.

Some design concepts :
- Replication agents are the responsible units for the replication of data
to a certain endpoint
- Each replication agent is an OSGi service
- Configuration of agents happens via OSGi configuration (e.g. by adding
nodes of type sling:OsgiConfig with certain properties as JSoN files)
- Configuration of agents include: endpoint, instance authentication,
transport implementation, binary format for data to be exchanged
- Each agent manages one or more queues of data packages to be replicated

Main use case is master / slave architectures where data gets created on
the master and need to be replicated on the slaves which are publicly
available, or viceversa where data gets created by the user and needs to be
consistently replicated in the other instances of the architecture.

The current implementation is still a work in progress so don't expect it
to be full feature but maybe it's worth having it among the extensions or
either in a sandbox space.

I can create a Jira issue and add the code as a patch / zip file if there's
interest.
Looking forward to hear what you think,
Regards,
Tommaso

Reply via email to