Questions tagged [couchdb]

Apache CouchDB is an open source database that focuses improved usability and on being a database that completely embraces the web.

Apache CouchDB is an open source database that focuses improved usability and on being a database that completely embraces the web.

15 questions
66
votes
14 answers

Is there any reason not to go directly from client-side Javascript to a database?

Possible Duplicate: Writing Web “server less” applications So, let's say I'm going to build a Stack Exchange clone and I decide to use something like CouchDB as my backend store. If I use their built-in authentication and database-level…
Chris Smith
  • 766
  • 1
  • 5
  • 8
10
votes
5 answers

Writing Web "server less" applications

TL;DR What are the prospects of writing applications which are completely based on a REST database server (CouchDB) and web applications which directly access the DB instead of having a web server in between? I recently started looking up some…
crodjer
  • 1,039
  • 1
  • 9
  • 10
6
votes
1 answer

Solutions for iOS collaborative sync (iCloud CoreData, CouchDB)?

I'm developing an iOS app where one of the features will be allowing users to share and collaborate on data (e.g. lists). From everything I've read and based on the way that iCloud CoreData sync works I assume that it would not be a good fit for the…
mluisbrown
  • 161
  • 4
4
votes
0 answers

NoSQL data modelling for multi level nested documents

What kind of NoSql data modelling is best suitable for the following requirement? This can be visualised (NoSQL-Document) as a Collection of Records where each Record contains nested Documents.The nested document entities at different levels are…
KDR
  • 153
  • 8
4
votes
1 answer

Multi-platform design with Delphi, Java, MySQL and CouchDB

What are the most obvious drawbacks to this idea for an enterprise(ish) model using the following technologies. Browser based and native developed GUI using Delphi to connect to Datasnap server (Delphi, obviously) via Rest which stores documents…
Peter Turner
  • 6,897
  • 1
  • 33
  • 57
3
votes
2 answers

Accepting the UUID collision risk based on number of clients

After reading some questions about the probability of UUID collisions it seems like collisions although unlikely, are still possible and a conflict solution is still needed. Therefore I am wondering about the background of choosing UUIDs for…
SystematicFrank
  • 897
  • 8
  • 18
3
votes
3 answers

Is it a good idea to use CouchDB?

Is it a good idea to use CouchDB for a web application that is going to be platform agnostic (from tablet to PC): The app is a big form which I need to be able to modify at will. I also need to scan the results to retrieve the data to send some…
Lunatikzx
  • 33
  • 5
2
votes
1 answer

Database rollover handling patterns

I have a question regarding the design of an application where the database system has a rollover. To clarify the context : the database system (a cloudant instance) is fed with sensor data by an iot platform the iot platform performs a database…
joel
  • 23
  • 2
2
votes
1 answer

Conflict resolution for two-way sync offline sync

How do you manage two-way synchronization between a 'main' database server and many 'secondary' servers, in particular conflict resolution, assuming a connection is not always available(offline syncing)? For example, I have an Android application…
2
votes
2 answers

Is eventual consistency a wrong solution for e-commerce applications?

I'm reading about eventual consistency in couchDB. I'm somewhat confused by the term and its consequences on an application. Let's say I'm building a distributed e-commerce website where monetary transactions are critical. There could be online…
Songo
  • 6,548
  • 4
  • 48
  • 89
2
votes
1 answer

In-memory DB to perform intersects on set slices

I have a specific programming need where I need to efficiently store large sorted sets in memory, query them for ranges, and intersect them against other sets that are also queried for ranged. I am looking at Redis, but I can't see a range slice…
IamIC
  • 151
  • 6
2
votes
2 answers

Provide a URL to a CouchDB document attachment without giving the username/password?

I posted this question on DBA, but it got closed and was never reopened even after I rewrote the whole thing to be more specific. I think its more appropriate for programmers anyway :) Background Information I have a CouchDB server (Server B) that…
cs_brandt
  • 185
  • 7
1
vote
2 answers

What's the least intrusive method for creating a backup of a couchdb database?

We're looking to create regular backups of a couchdb database, to ship offsite. What's the least intrusive way to obtain these - ideally without interrupting or significantly slowing down performance on the existing database server?
blueberryfields
  • 13,200
  • 8
  • 51
  • 87
0
votes
1 answer

Approach for Querying Relational Data

Setup Consider the following models (pseudo-code) Place: type: const = "Place" id: str name: str lat: float lon: float # other fields Event: type: const = "Event" id: str name: str start_date: timestamp location: Place #…
niko
  • 111
  • 4
0
votes
0 answers

Drag and drop and handling huge amount of documents to update position

I'm having a series of data as documents in a document db (CouchDB) Sample of a document looks like below { _id: xxx _rev: xxx data: xxx position: 1 } These documents displays in a web front-end in a vertically scrollable list and any item can…