couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schneider <maili...@cedarsoft.com>
Subject [Newbie] Partial replication
Date Sat, 04 Sep 2010 08:36:38 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

I have started learning CouchDB two days ago. And I really like it.
While I have read a good part of CouchDB The Definitive Guide, I might
have missed the crucial part..

At first I wanna say thanks for that great product. The first impression
is impressive...
Second I have a question about attachments and/or replication.


Think about that kind of product:
Storage of (large) media files (e.g. raw photos). For each media file
there are a lot of data entries (comments, ratings, discussions...).
And of course there are previews in different sizes.

Now I'd like to implement a client on Android (based on
http://www.couch.io/android). And I like that idea of replicating the
database to the mobile device.
But of course I just want a part of my database on the Android.
I never want the large raw files. And I don't only need a part of the
previews (those that correspond to the screen size).

But I also don't want to download the complete database (which might
contain millions of documents). I'd prefer to have some kind of
semi-intelligent algorithm (maybe download the last n entries or
something like that). Or maybe just some documents used for overview
pages (view results).
And of course it should be possible to download the missing documents on
request...


Is this possible with CouchDB? If yes, could you give me some
hints/keywords so that I can continue my search...




Thanks,

Johannes Schneider
- -- 
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJMggUSAAoJEAytD9R7Qv6db/8H/AjvnJNl3FSWyHvY5+lJ4Cuf
+Q3Ud/qsSXJPzsh+XJOQBBlgyG0hcIIXVG+G+Kv8tX5MloT/fWGSMVM8nYHPZ9Gj
MHVS16Oc5+WDPp9j+mc3WWV3yYLPz6J6Qfk26RKR8M9Jpu9VrcTWS00PQJSuKE3/
4RFBQMCQg5o/hVdEwCzp4V0y07fXyNlhc2cDFEIUyYOi0OWahwej3OasTyvDkPK9
5JFB30/A/Nn1SMrgrMvisP1+LyMG5hxphY3X7GjUnHHkQOcZ9H9PPS8GN69MxZ9N
0w9D79E8ReTrFLy3sic7f4AKwKyhD1/p9mI/tiwJDwjzuYkj1hPimq1j/xMwE1s=
=0eI2
-----END PGP SIGNATURE-----

Mime
View raw message