title: CouchDB Erlang View
body: <p>After posting yesterday about a fairly slow couchdb design-doc/view yesterday here: 
  <a href="https://stackoverflow.com/questions/22966594/couchdb-delay-building-index-couchdb-1-5-0-on-windows-server-2008-r2">CouchDB delay building index (CouchDB 1.5.0 on Windows Server 2008 R2)</a> , I am trying to investigate if I could gain significant performance if I was to rewrite slow views in Erlang. </p>
  
  <p>Being a total Erlang newbie, I find that the ground of specific erlang/couch tutorial is quite thin. The most up to date queries I can find here are already old and extremely brief:  <a href="https://stackoverflow.com/questions/9663520/erlang-views-in-couch-db?rq=1">Erlang Views in Couch DB</a> and <a href="https://stackoverflow.com/questions/6800688/translate-couchdb-javascript-views-to-erlang">Translate CouchDB javascript views to erlang</a> . They refer to version 0.10.0.</p>
  
  <p>I am really surprised there does not seem to be any more recent document or tutorial. If you are using Erlang views, what resources did you use to teach yourself? If I am missing any good resources on Erlang and views, please point these out to me. </p>
  
  <p>Finally I am trying to figure out if there's anything else I need to install to run these such as erlang itself. </p>
  
  <p>I am running couchdb 1.5 on Windows, but prototyping on Ubuntu, so would have to consider both systems. </p>