stackvana / hook.io

Open-Source Microservice Hosting Platform
https://hook.io
Other
1.26k stars 117 forks source link

Improve performance of CouchDB views / indices #264

Closed Marak closed 7 years ago

Marak commented 7 years ago

The current implementation of Resource.find in Couch 1.x using JugglingDB is not great. There is a good amount of documents in the Couch now and we are starting to see performance issues related to unindexed queries.

Since CouchDB 2.0 has been released, it might be a good time to try upgrading to the latest couch and use the new /_find and /_index endpoints.

Marak commented 7 years ago

Updated to Couch 2.0 on production with no incidents.

Closing.