Confirmed users
99
edits
(Created page with 'Raindrop This page describes our planning and thinking about the direction the Raindrop/BackEnd should take. == Confidences == The Raindrop/RaindropDocumentModel n…') |
(remove confidences, add couchdb) |
||
| Line 3: | Line 3: | ||
This page describes our planning and thinking about the direction the [[Raindrop/BackEnd]] should take. | This page describes our planning and thinking about the direction the [[Raindrop/BackEnd]] should take. | ||
== | == Better leverage of CouchDB == | ||
There are some ways which CouchDB could help us. | |||
=== Better 'externals' support === | |||
Currently our API is implemented using a CouchDB 'external'. It would be great if: | |||
* | * CouchDB allowed more than one request at a time. Currently, requests are "queued" - so if our front-end issues 2 API requests simultaneously, one must wait until the other is complete before starting. It appears as though one of the requests takes twice as long as it actually does. This is reflected in a [https://issues.apache.org/jira/browse/COUCHDB-277 couchdb bug]. | ||
* | * Provide enough information so the external process can connect to the database "hosting" the external. While the database name can be deduced, the address and port on which the database can be connected doesn't seem available. This is being tracked in [https://issues.apache.org/jira/browse/COUCHDB-587 this bug] | ||
* | * Provide a facility to make it simpler to implement custom "entry point" scripts for couch_js. This would allow us to implement our API (and possibly even back-end extensions) directly in JavaScript. There was a problem in couch 0.10 which prevents this (curl support was broken), but 0.11 should make this easier. | ||
== Formal Schema Definitions == | == Formal Schema Definitions == | ||