Interesting work Tommaso. Is this thing similar to Apache Cellar from Karaf ?

Regards,
dragos dascalita haut 

Sent from my iPad

> On Nov 2, 2013, at 2:37 PM, Robert Munteanu <romb...@apache.org> wrote:
> 
> Hi Tommaso,
> 
> On Thu, Oct 31, 2013 at 4:41 PM, Tommaso Teofili
> <tommaso.teof...@gmail.com> wrote:
>> 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.
> 
> It sounds interesting indeed!
> 
> A quick question - will this module work only between Sling instances,
> or will I be able to make it work with external systems? I'm thinking
> of integration with upstream proxy caches, like Varnish or Apache
> Traffic Server.
> 
> Robert
> 
>> 
>> 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