Couchdb Replication Traffic Compression

I need one-way replication from the server to CouchOne Mobile (both iOS and Android). I disabled traffic and I see that there is plain JSON text without compression. Is it possible to speed up the replication process and encrypt traffic, if possible?

+4
source share
1 answer

Marcello Nuccio suggests using a proxy server - your best option at the moment, because CouchDB does not support GZip compression natively. Since replication is done using the public HTTP api, the proxy will work fine.

Suppose your mobile application runs on M and you have an S server. You are currently likely to have replication set to M in order to deduce from S If you added a reverse proxy, P before S , you just need to change replication, so M pulls from P

0
source

Source: https://habr.com/ru/post/1380710/


All Articles