You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by sleepnova <wa...@gmail.com> on 2011/02/15 13:08:30 UTC

About CouchDB_replication_protocol

Hi all,

I have the need to implement a Java client which can pull/push/update
from/to a CouchDB.
I think it might be a good idea to consider using CouchDB_replication_protocol.
But I didn't found any document about it.

--
- sleepnova

Re: About CouchDB_replication_protocol

Posted by Aaron Boxer <bo...@gmail.com>.
Cool, thanks sleepnova.  Will let you know when the repo is set up.

Aaron

On Thu, Feb 17, 2011 at 3:07 PM, sleepnova <wa...@gmail.com> wrote:
> 'Aye'... Since we both need it on Android, I can help on the Java part of it.
>
> For some reason, I also like to try prototyping a pure Java version too.
> Maybe we can call it JCouchReplicant. (This reminds me Git and JGit)
> Maybe we can share a common Java API layer.
>
> 2011/2/18 Aaron Boxer <bo...@gmail.com>:
>> Cool! Will let you know when the github project has liftoff.
>>
>> I was thinking of CouchReplicant as a project name.
>>
>> Cheers,
>> Aaron
>>
>>
>> On Thu, Feb 17, 2011 at 10:38 AM, Justin Walgran <jw...@azavea.com> wrote:
>>> Aaron,
>>>
>>> 'Aye' would love to help out on this project.
>>>
>>> Justin
>>>
>>> On Thu, Feb 17, 2011 at 10:29 AM, Aaron Boxer <bo...@gmail.com> wrote:
>>>> Hi Justin,
>>>>
>>>> Good point. In fact, come to think of it, C might be a more
>>>> appropriate language to implement this project in,
>>>> because it has support on iOS, Android (through NDK), WebOS and
>>>> Windows Phone 7 (C# supports C).
>>>>
>>>> And, of course, performance will be better than Java.
>>>>
>>>> Cheers,
>>>> Aaron
>>>>
>>>>
>>>>
>>>> On Thu, Feb 17, 2011 at 10:16 AM, Justin Walgran <jw...@azavea.com> wrote:
>>>>> Aaron,
>>>>>
>>>>> It would be interesting if this C library could also be used in iOS
>>>>> applications (or other, non-Java apps for that matter). Could the
>>>>> library be designed so that the functionality is not tied to a Java
>>>>> implementation?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Justin
>>>>>
>>>>> On Thu, Feb 17, 2011 at 10:04 AM, Aaron Boxer <bo...@gmail.com> wrote:
>>>>>> Thanks, sleepnova.
>>>>>>
>>>>>> Yes, I am interested in building a replication layer.
>>>>>> I need it in C, and you are on Android, so I am happy
>>>>>> with writing a standard java library to do this.
>>>>>>
>>>>>> I'll start a project on Github.
>>>>>>
>>>>>> Anyone else who is interested, please say Aye!
>>>>>>
>>>>>> We can take this offline for further planning.
>>>>>>
>>>>>> Cheers,
>>>>>> Aaron
>>>>>>
>>>>>> On Thu, Feb 17, 2011 at 1:22 AM, sleepnova <wa...@gmail.com> wrote:
>>>>>>> 2011/2/17 Aaron Boxer <bo...@gmail.com>:
>>>>>>>> I'm game. I think even simply documenting the replication algorithm in
>>>>>>>> great detail would be a big win.
>>>>>>>
>>>>>>> Sorry, I'm not a native speaker. What do you mean by your're game?
>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>>>>>>>>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>>>>>>>>> Hey Sleepnova,
>>>>>>>>>>
>>>>>>>>>> I'm trying to do something similar. Will your app be OSS?
>>>>>>>
>>>>>>> What things are you trying to do? Is there any chance that we can
>>>>>>> collaborate in someway?
>>>>>>>
>>>>>>>>>
>>>>>>>>> Even if it's not you two should collaborate on making an OSS
>>>>>>>>> replication implementation, licensed such that you can both depend on
>>>>>>>>> it.
>>>>>>>>> I think that'd be a really nice contribution to the community.
>>>>>>>
>>>>>>> Yes...
>>>>>>> The app I'm doing is not an open source project, but it would be great
>>>>>>> to separate the data store and replicator parts to be an open source
>>>>>>> project. I'm now trying to make a trivial/minimal workable version for
>>>>>>> my use case. It would be great for anyone interested in this goal to
>>>>>>> collaborate and share some useful information about the replication
>>>>>>> implementation detail.
>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Aaron
>>>>>>>
>>>>>>> --
>>>>>>> - sleepnova
>
> --
> - sleepnova
>

Re: About CouchDB_replication_protocol

Posted by sleepnova <wa...@gmail.com>.
'Aye'... Since we both need it on Android, I can help on the Java part of it.

For some reason, I also like to try prototyping a pure Java version too.
Maybe we can call it JCouchReplicant. (This reminds me Git and JGit)
Maybe we can share a common Java API layer.

2011/2/18 Aaron Boxer <bo...@gmail.com>:
> Cool! Will let you know when the github project has liftoff.
>
> I was thinking of CouchReplicant as a project name.
>
> Cheers,
> Aaron
>
>
> On Thu, Feb 17, 2011 at 10:38 AM, Justin Walgran <jw...@azavea.com> wrote:
>> Aaron,
>>
>> 'Aye' would love to help out on this project.
>>
>> Justin
>>
>> On Thu, Feb 17, 2011 at 10:29 AM, Aaron Boxer <bo...@gmail.com> wrote:
>>> Hi Justin,
>>>
>>> Good point. In fact, come to think of it, C might be a more
>>> appropriate language to implement this project in,
>>> because it has support on iOS, Android (through NDK), WebOS and
>>> Windows Phone 7 (C# supports C).
>>>
>>> And, of course, performance will be better than Java.
>>>
>>> Cheers,
>>> Aaron
>>>
>>>
>>>
>>> On Thu, Feb 17, 2011 at 10:16 AM, Justin Walgran <jw...@azavea.com> wrote:
>>>> Aaron,
>>>>
>>>> It would be interesting if this C library could also be used in iOS
>>>> applications (or other, non-Java apps for that matter). Could the
>>>> library be designed so that the functionality is not tied to a Java
>>>> implementation?
>>>>
>>>> Thanks,
>>>>
>>>> Justin
>>>>
>>>> On Thu, Feb 17, 2011 at 10:04 AM, Aaron Boxer <bo...@gmail.com> wrote:
>>>>> Thanks, sleepnova.
>>>>>
>>>>> Yes, I am interested in building a replication layer.
>>>>> I need it in C, and you are on Android, so I am happy
>>>>> with writing a standard java library to do this.
>>>>>
>>>>> I'll start a project on Github.
>>>>>
>>>>> Anyone else who is interested, please say Aye!
>>>>>
>>>>> We can take this offline for further planning.
>>>>>
>>>>> Cheers,
>>>>> Aaron
>>>>>
>>>>> On Thu, Feb 17, 2011 at 1:22 AM, sleepnova <wa...@gmail.com> wrote:
>>>>>> 2011/2/17 Aaron Boxer <bo...@gmail.com>:
>>>>>>> I'm game. I think even simply documenting the replication algorithm in
>>>>>>> great detail would be a big win.
>>>>>>
>>>>>> Sorry, I'm not a native speaker. What do you mean by your're game?
>>>>>>
>>>>>>>
>>>>>>> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>>>>>>>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>>>>>>>> Hey Sleepnova,
>>>>>>>>>
>>>>>>>>> I'm trying to do something similar. Will your app be OSS?
>>>>>>
>>>>>> What things are you trying to do? Is there any chance that we can
>>>>>> collaborate in someway?
>>>>>>
>>>>>>>>
>>>>>>>> Even if it's not you two should collaborate on making an OSS
>>>>>>>> replication implementation, licensed such that you can both depend on
>>>>>>>> it.
>>>>>>>> I think that'd be a really nice contribution to the community.
>>>>>>
>>>>>> Yes...
>>>>>> The app I'm doing is not an open source project, but it would be great
>>>>>> to separate the data store and replicator parts to be an open source
>>>>>> project. I'm now trying to make a trivial/minimal workable version for
>>>>>> my use case. It would be great for anyone interested in this goal to
>>>>>> collaborate and share some useful information about the replication
>>>>>> implementation detail.
>>>>>>
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Aaron
>>>>>>
>>>>>> --
>>>>>> - sleepnova

-- 
- sleepnova

Re: About CouchDB_replication_protocol

Posted by Aaron Boxer <bo...@gmail.com>.
Cool! Will let you know when the github project has liftoff.

I was thinking of CouchReplicant as a project name.

Cheers,
Aaron


On Thu, Feb 17, 2011 at 10:38 AM, Justin Walgran <jw...@azavea.com> wrote:
> Aaron,
>
> 'Aye' would love to help out on this project.
>
> Justin
>
> On Thu, Feb 17, 2011 at 10:29 AM, Aaron Boxer <bo...@gmail.com> wrote:
>> Hi Justin,
>>
>> Good point. In fact, come to think of it, C might be a more
>> appropriate language to implement this project in,
>> because it has support on iOS, Android (through NDK), WebOS and
>> Windows Phone 7 (C# supports C).
>>
>> And, of course, performance will be better than Java.
>>
>> Cheers,
>> Aaron
>>
>>
>>
>> On Thu, Feb 17, 2011 at 10:16 AM, Justin Walgran <jw...@azavea.com> wrote:
>>> Aaron,
>>>
>>> It would be interesting if this C library could also be used in iOS
>>> applications (or other, non-Java apps for that matter). Could the
>>> library be designed so that the functionality is not tied to a Java
>>> implementation?
>>>
>>> Thanks,
>>>
>>> Justin
>>>
>>> On Thu, Feb 17, 2011 at 10:04 AM, Aaron Boxer <bo...@gmail.com> wrote:
>>>> Thanks, sleepnova.
>>>>
>>>> Yes, I am interested in building a replication layer.
>>>> I need it in C, and you are on Android, so I am happy
>>>> with writing a standard java library to do this.
>>>>
>>>> I'll start a project on Github.
>>>>
>>>> Anyone else who is interested, please say Aye!
>>>>
>>>> We can take this offline for further planning.
>>>>
>>>> Cheers,
>>>> Aaron
>>>>
>>>> On Thu, Feb 17, 2011 at 1:22 AM, sleepnova <wa...@gmail.com> wrote:
>>>>> 2011/2/17 Aaron Boxer <bo...@gmail.com>:
>>>>>> I'm game. I think even simply documenting the replication algorithm in
>>>>>> great detail would be a big win.
>>>>>
>>>>> Sorry, I'm not a native speaker. What do you mean by your're game?
>>>>>
>>>>>>
>>>>>> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>>>>>>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>>>>>>> Hey Sleepnova,
>>>>>>>>
>>>>>>>> I'm trying to do something similar. Will your app be OSS?
>>>>>
>>>>> What things are you trying to do? Is there any chance that we can
>>>>> collaborate in someway?
>>>>>
>>>>>>>
>>>>>>> Even if it's not you two should collaborate on making an OSS
>>>>>>> replication implementation, licensed such that you can both depend on
>>>>>>> it.
>>>>>>> I think that'd be a really nice contribution to the community.
>>>>>
>>>>> Yes...
>>>>> The app I'm doing is not an open source project, but it would be great
>>>>> to separate the data store and replicator parts to be an open source
>>>>> project. I'm now trying to make a trivial/minimal workable version for
>>>>> my use case. It would be great for anyone interested in this goal to
>>>>> collaborate and share some useful information about the replication
>>>>> implementation detail.
>>>>>
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Aaron
>>>>>
>>>>> --
>>>>> - sleepnova
>>>>>
>>>>
>>>
>>
>

Re: About CouchDB_replication_protocol

Posted by Justin Walgran <jw...@azavea.com>.
Aaron,

'Aye' would love to help out on this project.

Justin

On Thu, Feb 17, 2011 at 10:29 AM, Aaron Boxer <bo...@gmail.com> wrote:
> Hi Justin,
>
> Good point. In fact, come to think of it, C might be a more
> appropriate language to implement this project in,
> because it has support on iOS, Android (through NDK), WebOS and
> Windows Phone 7 (C# supports C).
>
> And, of course, performance will be better than Java.
>
> Cheers,
> Aaron
>
>
>
> On Thu, Feb 17, 2011 at 10:16 AM, Justin Walgran <jw...@azavea.com> wrote:
>> Aaron,
>>
>> It would be interesting if this C library could also be used in iOS
>> applications (or other, non-Java apps for that matter). Could the
>> library be designed so that the functionality is not tied to a Java
>> implementation?
>>
>> Thanks,
>>
>> Justin
>>
>> On Thu, Feb 17, 2011 at 10:04 AM, Aaron Boxer <bo...@gmail.com> wrote:
>>> Thanks, sleepnova.
>>>
>>> Yes, I am interested in building a replication layer.
>>> I need it in C, and you are on Android, so I am happy
>>> with writing a standard java library to do this.
>>>
>>> I'll start a project on Github.
>>>
>>> Anyone else who is interested, please say Aye!
>>>
>>> We can take this offline for further planning.
>>>
>>> Cheers,
>>> Aaron
>>>
>>> On Thu, Feb 17, 2011 at 1:22 AM, sleepnova <wa...@gmail.com> wrote:
>>>> 2011/2/17 Aaron Boxer <bo...@gmail.com>:
>>>>> I'm game. I think even simply documenting the replication algorithm in
>>>>> great detail would be a big win.
>>>>
>>>> Sorry, I'm not a native speaker. What do you mean by your're game?
>>>>
>>>>>
>>>>> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>>>>>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>>>>>> Hey Sleepnova,
>>>>>>>
>>>>>>> I'm trying to do something similar. Will your app be OSS?
>>>>
>>>> What things are you trying to do? Is there any chance that we can
>>>> collaborate in someway?
>>>>
>>>>>>
>>>>>> Even if it's not you two should collaborate on making an OSS
>>>>>> replication implementation, licensed such that you can both depend on
>>>>>> it.
>>>>>> I think that'd be a really nice contribution to the community.
>>>>
>>>> Yes...
>>>> The app I'm doing is not an open source project, but it would be great
>>>> to separate the data store and replicator parts to be an open source
>>>> project. I'm now trying to make a trivial/minimal workable version for
>>>> my use case. It would be great for anyone interested in this goal to
>>>> collaborate and share some useful information about the replication
>>>> implementation detail.
>>>>
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Aaron
>>>>
>>>> --
>>>> - sleepnova
>>>>
>>>
>>
>

Re: About CouchDB_replication_protocol

Posted by Aaron Boxer <bo...@gmail.com>.
Hi Justin,

Good point. In fact, come to think of it, C might be a more
appropriate language to implement this project in,
because it has support on iOS, Android (through NDK), WebOS and
Windows Phone 7 (C# supports C).

And, of course, performance will be better than Java.

Cheers,
Aaron



On Thu, Feb 17, 2011 at 10:16 AM, Justin Walgran <jw...@azavea.com> wrote:
> Aaron,
>
> It would be interesting if this C library could also be used in iOS
> applications (or other, non-Java apps for that matter). Could the
> library be designed so that the functionality is not tied to a Java
> implementation?
>
> Thanks,
>
> Justin
>
> On Thu, Feb 17, 2011 at 10:04 AM, Aaron Boxer <bo...@gmail.com> wrote:
>> Thanks, sleepnova.
>>
>> Yes, I am interested in building a replication layer.
>> I need it in C, and you are on Android, so I am happy
>> with writing a standard java library to do this.
>>
>> I'll start a project on Github.
>>
>> Anyone else who is interested, please say Aye!
>>
>> We can take this offline for further planning.
>>
>> Cheers,
>> Aaron
>>
>> On Thu, Feb 17, 2011 at 1:22 AM, sleepnova <wa...@gmail.com> wrote:
>>> 2011/2/17 Aaron Boxer <bo...@gmail.com>:
>>>> I'm game. I think even simply documenting the replication algorithm in
>>>> great detail would be a big win.
>>>
>>> Sorry, I'm not a native speaker. What do you mean by your're game?
>>>
>>>>
>>>> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>>>>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>>>>> Hey Sleepnova,
>>>>>>
>>>>>> I'm trying to do something similar. Will your app be OSS?
>>>
>>> What things are you trying to do? Is there any chance that we can
>>> collaborate in someway?
>>>
>>>>>
>>>>> Even if it's not you two should collaborate on making an OSS
>>>>> replication implementation, licensed such that you can both depend on
>>>>> it.
>>>>> I think that'd be a really nice contribution to the community.
>>>
>>> Yes...
>>> The app I'm doing is not an open source project, but it would be great
>>> to separate the data store and replicator parts to be an open source
>>> project. I'm now trying to make a trivial/minimal workable version for
>>> my use case. It would be great for anyone interested in this goal to
>>> collaborate and share some useful information about the replication
>>> implementation detail.
>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Aaron
>>>
>>> --
>>> - sleepnova
>>>
>>
>

Re: About CouchDB_replication_protocol

Posted by Justin Walgran <jw...@azavea.com>.
Aaron,

It would be interesting if this C library could also be used in iOS
applications (or other, non-Java apps for that matter). Could the
library be designed so that the functionality is not tied to a Java
implementation?

Thanks,

Justin

On Thu, Feb 17, 2011 at 10:04 AM, Aaron Boxer <bo...@gmail.com> wrote:
> Thanks, sleepnova.
>
> Yes, I am interested in building a replication layer.
> I need it in C, and you are on Android, so I am happy
> with writing a standard java library to do this.
>
> I'll start a project on Github.
>
> Anyone else who is interested, please say Aye!
>
> We can take this offline for further planning.
>
> Cheers,
> Aaron
>
> On Thu, Feb 17, 2011 at 1:22 AM, sleepnova <wa...@gmail.com> wrote:
>> 2011/2/17 Aaron Boxer <bo...@gmail.com>:
>>> I'm game. I think even simply documenting the replication algorithm in
>>> great detail would be a big win.
>>
>> Sorry, I'm not a native speaker. What do you mean by your're game?
>>
>>>
>>> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>>>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>>>> Hey Sleepnova,
>>>>>
>>>>> I'm trying to do something similar. Will your app be OSS?
>>
>> What things are you trying to do? Is there any chance that we can
>> collaborate in someway?
>>
>>>>
>>>> Even if it's not you two should collaborate on making an OSS
>>>> replication implementation, licensed such that you can both depend on
>>>> it.
>>>> I think that'd be a really nice contribution to the community.
>>
>> Yes...
>> The app I'm doing is not an open source project, but it would be great
>> to separate the data store and replicator parts to be an open source
>> project. I'm now trying to make a trivial/minimal workable version for
>> my use case. It would be great for anyone interested in this goal to
>> collaborate and share some useful information about the replication
>> implementation detail.
>>
>>>>>
>>>>> Cheers,
>>>>> Aaron
>>
>> --
>> - sleepnova
>>
>

Re: About CouchDB_replication_protocol

Posted by Aaron Boxer <bo...@gmail.com>.
Thanks, sleepnova.

Yes, I am interested in building a replication layer.
I need it in C, and you are on Android, so I am happy
with writing a standard java library to do this.

I'll start a project on Github.

Anyone else who is interested, please say Aye!

We can take this offline for further planning.

Cheers,
Aaron

On Thu, Feb 17, 2011 at 1:22 AM, sleepnova <wa...@gmail.com> wrote:
> 2011/2/17 Aaron Boxer <bo...@gmail.com>:
>> I'm game. I think even simply documenting the replication algorithm in
>> great detail would be a big win.
>
> Sorry, I'm not a native speaker. What do you mean by your're game?
>
>>
>> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>>> Hey Sleepnova,
>>>>
>>>> I'm trying to do something similar. Will your app be OSS?
>
> What things are you trying to do? Is there any chance that we can
> collaborate in someway?
>
>>>
>>> Even if it's not you two should collaborate on making an OSS
>>> replication implementation, licensed such that you can both depend on
>>> it.
>>> I think that'd be a really nice contribution to the community.
>
> Yes...
> The app I'm doing is not an open source project, but it would be great
> to separate the data store and replicator parts to be an open source
> project. I'm now trying to make a trivial/minimal workable version for
> my use case. It would be great for anyone interested in this goal to
> collaborate and share some useful information about the replication
> implementation detail.
>
>>>>
>>>> Cheers,
>>>> Aaron
>
> --
> - sleepnova
>

Re: About CouchDB_replication_protocol

Posted by sleepnova <wa...@gmail.com>.
2011/2/17 Aaron Boxer <bo...@gmail.com>:
> I'm game. I think even simply documenting the replication algorithm in
> great detail would be a big win.

Sorry, I'm not a native speaker. What do you mean by your're game?

>
> On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
>> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>>> Hey Sleepnova,
>>>
>>> I'm trying to do something similar. Will your app be OSS?

What things are you trying to do? Is there any chance that we can
collaborate in someway?

>>
>> Even if it's not you two should collaborate on making an OSS
>> replication implementation, licensed such that you can both depend on
>> it.
>> I think that'd be a really nice contribution to the community.

Yes...
The app I'm doing is not an open source project, but it would be great
to separate the data store and replicator parts to be an open source
project. I'm now trying to make a trivial/minimal workable version for
my use case. It would be great for anyone interested in this goal to
collaborate and share some useful information about the replication
implementation detail.

>>>
>>> Cheers,
>>> Aaron

-- 
- sleepnova

Re: About CouchDB_replication_protocol

Posted by Aaron Boxer <bo...@gmail.com>.
I'm game. I think even simply documenting the replication algorithm in
great detail would be a big win.


On Wed, Feb 16, 2011 at 4:39 PM, Randall Leeds <ra...@gmail.com> wrote:
> On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
>> Hey Sleepnova,
>>
>> I'm trying to do something similar. Will your app be OSS?
>>
>
> Even if it's not you two should collaborate on making an OSS
> replication implementation, licensed such that you can both depend on
> it.
> I think that'd be a really nice contribution to the community.
>
>>
>> Cheers,
>> Aaron
>>
>> On Wed, Feb 16, 2011 at 3:18 PM, sleepnova <wa...@gmail.com> wrote:
>>> 2011/2/15 Jan Lehnardt <ja...@apache.org>:
>>>>
>>>> On 15 Feb 2011, at 15:06, sleepnova wrote:
>>>>
>>>>> I might implement an embedded version of CouchDB...(ignore)
>>>>
>>>> While an honourable goal, porting the replicator and getting it all right is gonna be a lot more work than working on improving the Android port.
>>>
>>> Sorry for my inaccuracy, I just want to implement a lightweight local
>>> store that can replicate with CouchDB (Don't need a web server to
>>> export my data). My little Android app is only about 64KByte now, it's
>>> not likely to include an extra dependency to a several MB package.
>>> What I need to know is how Couch replicator works, maybe plus
>>> _id/rev/Etag generation rules.
>>>
>>> The replicator algorithm thread does help. :)
>>>
>>>>> I also create a quora entry.
>>>>> http://www.quora.com/What-is-the-CouchDB-replication-protocol
>>>>
>>>> I'm not really sure what good this does when you also ask here.
>>>
>>> Just trying to make these information easier to access on the web.
>>> Mailing list doesn't seems like a great place to rank and organize answers.
>>>
>>>>>> what's wrong with using the regular CouchDB Document API?
>>>>>>
>>>>>>  http://wiki.apache.org/couchdb/HTTP_Document_API
>>>
>>> Nothing wrong with it, I'll use CouchDB Document API once I figure out
>>> the replicator logic.
>>>
>>>>>> Cheers
>>>>>> Jan
>>>>>> --
>>>
>>> --
>>> - sleepnova
>>>
>>
>

Re: About CouchDB_replication_protocol

Posted by Randall Leeds <ra...@gmail.com>.
On Wed, Feb 16, 2011 at 12:22, Aaron Boxer <bo...@gmail.com> wrote:
> Hey Sleepnova,
>
> I'm trying to do something similar. Will your app be OSS?
>

Even if it's not you two should collaborate on making an OSS
replication implementation, licensed such that you can both depend on
it.
I think that'd be a really nice contribution to the community.

>
> Cheers,
> Aaron
>
> On Wed, Feb 16, 2011 at 3:18 PM, sleepnova <wa...@gmail.com> wrote:
>> 2011/2/15 Jan Lehnardt <ja...@apache.org>:
>>>
>>> On 15 Feb 2011, at 15:06, sleepnova wrote:
>>>
>>>> I might implement an embedded version of CouchDB...(ignore)
>>>
>>> While an honourable goal, porting the replicator and getting it all right is gonna be a lot more work than working on improving the Android port.
>>
>> Sorry for my inaccuracy, I just want to implement a lightweight local
>> store that can replicate with CouchDB (Don't need a web server to
>> export my data). My little Android app is only about 64KByte now, it's
>> not likely to include an extra dependency to a several MB package.
>> What I need to know is how Couch replicator works, maybe plus
>> _id/rev/Etag generation rules.
>>
>> The replicator algorithm thread does help. :)
>>
>>>> I also create a quora entry.
>>>> http://www.quora.com/What-is-the-CouchDB-replication-protocol
>>>
>>> I'm not really sure what good this does when you also ask here.
>>
>> Just trying to make these information easier to access on the web.
>> Mailing list doesn't seems like a great place to rank and organize answers.
>>
>>>>> what's wrong with using the regular CouchDB Document API?
>>>>>
>>>>>  http://wiki.apache.org/couchdb/HTTP_Document_API
>>
>> Nothing wrong with it, I'll use CouchDB Document API once I figure out
>> the replicator logic.
>>
>>>>> Cheers
>>>>> Jan
>>>>> --
>>
>> --
>> - sleepnova
>>
>

Re: About CouchDB_replication_protocol

Posted by Aaron Boxer <bo...@gmail.com>.
Hey Sleepnova,

I'm trying to do something similar. Will your app be OSS?


Cheers,
Aaron

On Wed, Feb 16, 2011 at 3:18 PM, sleepnova <wa...@gmail.com> wrote:
> 2011/2/15 Jan Lehnardt <ja...@apache.org>:
>>
>> On 15 Feb 2011, at 15:06, sleepnova wrote:
>>
>>> I might implement an embedded version of CouchDB...(ignore)
>>
>> While an honourable goal, porting the replicator and getting it all right is gonna be a lot more work than working on improving the Android port.
>
> Sorry for my inaccuracy, I just want to implement a lightweight local
> store that can replicate with CouchDB (Don't need a web server to
> export my data). My little Android app is only about 64KByte now, it's
> not likely to include an extra dependency to a several MB package.
> What I need to know is how Couch replicator works, maybe plus
> _id/rev/Etag generation rules.
>
> The replicator algorithm thread does help. :)
>
>>> I also create a quora entry.
>>> http://www.quora.com/What-is-the-CouchDB-replication-protocol
>>
>> I'm not really sure what good this does when you also ask here.
>
> Just trying to make these information easier to access on the web.
> Mailing list doesn't seems like a great place to rank and organize answers.
>
>>>> what's wrong with using the regular CouchDB Document API?
>>>>
>>>>  http://wiki.apache.org/couchdb/HTTP_Document_API
>
> Nothing wrong with it, I'll use CouchDB Document API once I figure out
> the replicator logic.
>
>>>> Cheers
>>>> Jan
>>>> --
>
> --
> - sleepnova
>

Re: About CouchDB_replication_protocol

Posted by sleepnova <wa...@gmail.com>.
2011/2/15 Jan Lehnardt <ja...@apache.org>:
>
> On 15 Feb 2011, at 15:06, sleepnova wrote:
>
>> I might implement an embedded version of CouchDB...(ignore)
>
> While an honourable goal, porting the replicator and getting it all right is gonna be a lot more work than working on improving the Android port.

Sorry for my inaccuracy, I just want to implement a lightweight local
store that can replicate with CouchDB (Don't need a web server to
export my data). My little Android app is only about 64KByte now, it's
not likely to include an extra dependency to a several MB package.
What I need to know is how Couch replicator works, maybe plus
_id/rev/Etag generation rules.

The replicator algorithm thread does help. :)

>> I also create a quora entry.
>> http://www.quora.com/What-is-the-CouchDB-replication-protocol
>
> I'm not really sure what good this does when you also ask here.

Just trying to make these information easier to access on the web.
Mailing list doesn't seems like a great place to rank and organize answers.

>>> what's wrong with using the regular CouchDB Document API?
>>>
>>>  http://wiki.apache.org/couchdb/HTTP_Document_API

Nothing wrong with it, I'll use CouchDB Document API once I figure out
the replicator logic.

>>> Cheers
>>> Jan
>>> --

-- 
- sleepnova

Re: About CouchDB_replication_protocol

Posted by Jan Lehnardt <ja...@apache.org>.
On 15 Feb 2011, at 15:06, sleepnova wrote:

> It's okay for me to use CouchDB Document API if it's the best way to go.
> 
> I just wonder what is the most efficient way to replicate data sets
> between CouchDB databases.
> In fact, I might implement an embedded version of CouchDB because all
> CouchDB feature are useful for me but the Android version require
> Android 2.1, 2.2 and the package size and the memory require is way
> too heavy.

While an honourable goal, porting the replicator and getting it all right is gonna be a lot more work than working on improving the Android port.

> I found some description at Stack Overflow
> http://stackoverflow.com/questions/4766391/what-is-the-couchdb-replication-protocol-is-it-like-git
> 
> I also create a quora entry.
> http://www.quora.com/What-is-the-CouchDB-replication-protocol

I'm not really sure what good this does when you also ask here.

Cheers
Jan
-- 


> 
> 2011/2/15 Jan Lehnardt <ja...@apache.org>:
>> 
>> On 15 Feb 2011, at 13:08, sleepnova wrote:
>> 
>>> Hi all,
>>> 
>>> I have the need to implement a Java client which can pull/push/update
>>> from/to a CouchDB.
>>> I think it might be a good idea to consider using CouchDB_replication_protocol.
>>> But I didn't found any document about it.
>> 
>> Hi,
>> 
>> what's wrong with using the regular CouchDB Document API?
>> 
>>  http://wiki.apache.org/couchdb/HTTP_Document_API
>> 
>> Cheers
>> Jan
>> --
>> 
>> 
> 
> -- 
> - sleepnova


Re: About CouchDB_replication_protocol

Posted by sleepnova <wa...@gmail.com>.
It's okay for me to use CouchDB Document API if it's the best way to go.

I just wonder what is the most efficient way to replicate data sets
between CouchDB databases.
In fact, I might implement an embedded version of CouchDB because all
CouchDB feature are useful for me but the Android version require
Android 2.1, 2.2 and the package size and the memory require is way
too heavy.

I found some description at Stack Overflow
http://stackoverflow.com/questions/4766391/what-is-the-couchdb-replication-protocol-is-it-like-git

I also create a quora entry.
http://www.quora.com/What-is-the-CouchDB-replication-protocol

2011/2/15 Jan Lehnardt <ja...@apache.org>:
>
> On 15 Feb 2011, at 13:08, sleepnova wrote:
>
>> Hi all,
>>
>> I have the need to implement a Java client which can pull/push/update
>> from/to a CouchDB.
>> I think it might be a good idea to consider using CouchDB_replication_protocol.
>> But I didn't found any document about it.
>
> Hi,
>
> what's wrong with using the regular CouchDB Document API?
>
>  http://wiki.apache.org/couchdb/HTTP_Document_API
>
> Cheers
> Jan
> --
>
>

-- 
- sleepnova

Re: About CouchDB_replication_protocol

Posted by Jan Lehnardt <ja...@apache.org>.
On 15 Feb 2011, at 13:08, sleepnova wrote:

> Hi all,
> 
> I have the need to implement a Java client which can pull/push/update
> from/to a CouchDB.
> I think it might be a good idea to consider using CouchDB_replication_protocol.
> But I didn't found any document about it.

Hi,

what's wrong with using the regular CouchDB Document API?

  http://wiki.apache.org/couchdb/HTTP_Document_API

Cheers
Jan
--