You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Johnny Weng Luu (JIRA)" <ji...@apache.org> on 2011/07/13 07:40:04 UTC

[jira] [Updated] (COUCHDB-1219) Send data

     [ https://issues.apache.org/jira/browse/COUCHDB-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Weng Luu updated COUCHDB-1219:
-------------------------------------

    Description: 
With CouchDB the application server landscape has changed. The database can now handle almost all logic that is data related, eg. validation, updating, formatting etc.

It has a HTTP server for incoming requests but one thing I find missing is a HTTP client that can push data to other servers.

What I have to do right now for sending data to an external service is to setup a (node.js) server that listens on the _changes feed.

When there is a document meant for being delivered through email, node.js will send a HTTP request to the (sendgrid) email service.

I think it would make sense if CouchDB could make HTTP requests on document changes, meaning we can eliminate that extra HTTP client layer just for sending the data.

Why only have a HTTP server for data but not a HTTP client for data.

(This would make even more sense if CouchDB was redesigned with node.js).

  was:
With CouchDB the application server landscape has changed. The database can now handle almost all logic that is data related, eg. validation, updating, formatting etc.

It has a HTTP server for incoming requests but one thing I find missing is a HTTP client that can push the data to other servers.

What I have to do right now to send the data to an external service is to setup a server (node.js) that listens on the _changes feed.

When there is a document meant for being delivered through email node.js will send a HTTP request to a email service (sendgrid).

I think it would make sense if CouchDB could make HTTP requests on document changes, so that we can eliminate that extra layer.

Why only HTTP server for data but not HTTP client for data.

(This would make even more sense if CouchDB was redesigned with node.js).


> Send data
> ---------
>
>                 Key: COUCHDB-1219
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1219
>             Project: CouchDB
>          Issue Type: New Feature
>            Reporter: Johnny Weng Luu
>            Priority: Minor
>
> With CouchDB the application server landscape has changed. The database can now handle almost all logic that is data related, eg. validation, updating, formatting etc.
> It has a HTTP server for incoming requests but one thing I find missing is a HTTP client that can push data to other servers.
> What I have to do right now for sending data to an external service is to setup a (node.js) server that listens on the _changes feed.
> When there is a document meant for being delivered through email, node.js will send a HTTP request to the (sendgrid) email service.
> I think it would make sense if CouchDB could make HTTP requests on document changes, meaning we can eliminate that extra HTTP client layer just for sending the data.
> Why only have a HTTP server for data but not a HTTP client for data.
> (This would make even more sense if CouchDB was redesigned with node.js).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira