Another interesting avenue to pursue vis-a-vis faster views would be an Erlang view server. I don't think it would be practical for general use (running untrusted code in a privileged environment), but it would be an easy way to see how fast things could be if the JSON translation costs disappear. And if it is fast enough, maybe it would be useful for high-demand applications.
Writing one would involve making an alternate version of couch_query_servers.erl that skipped all the JSON stuff and just ran Erlang functions inside itself. Feasible? -- Chris Anderson http://jchris.mfdz.com
