[ https://issues.apache.org/jira/browse/COUCHDB-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065131#comment-13065131 ]
Johnny Weng Luu commented on COUCHDB-1219: ------------------------------------------ Can't I use the "Wish" type? I don't find a mailing list good for feature suggestions. They just get lost. > 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. > I think this would make CouchDB even more suitable for couchapps. > Now the app can be offline. We send an email and it will be sent by couchdb > when Internet connectivity is there. > Also now the whole app can be replicated and every couchdb instance can make > it's own HTTP requests and we no longer have to have a node.js server just to > support basic HTTP requests. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira