couchdbcouchdb-python

Does different language = different performance in couchDB lists?


I am writing a list function in couchDB. I want to know if using a faster language than javascript would boost performance (i was thinking python, just because I know it).

Does anyone know if this is true, and has anyone tested whether it is true?


Solution

  • You can use the V8 engine if you want for Couch. A guy from IrisCouch wrote couchjs to do this (I've seen him on Stack Overflow quite a bit too).

    https://github.com/iriscouch/couchjs

    Also for views, filtered replication, things like that, you can write the functions in Erlang instead of javascript. I've done that and seen around a 50% performance increase.

    Seems you can write list functions in Erlang: http://tisba.de/2010/11/25/native-list-functions-with-couchdb/