I’m looking into faking external attachments by rewriting all attachment related requests in a reverse proxy so that they go to and from a storage service e.g. S3. From the clients point of view it should be “as if” the attachments were in the database.
Rewriting the requests listed here http://docs.couchdb.org/en/latest/api/document/attachments.html <http://docs.couchdb.org/en/latest/api/document/attachments.html> should not be a problem. However, I’m unsure whether there are any other attachment related requests that we might need to take into account. I’m in particular worried about the scenario where a CouchDB with internal attachments syncs up with a database behind the proxy. What is the API for attachments during sync/replication? Best Regards, Robert Nagy Robert Nagy Mail: [email protected] <mailto:[email protected]> | Phone: +46 (0)735441639 | Web: Boffins Technologies AB <http://www.boffins.se/> Boffins Technologies Södervägen 12 232 52 Åkarp Sweden
