Markov Chains using CouchDB's Group Reduce(jchris.mfdz.com)
jchris.mfdz.com
Markov Chains using CouchDB's Group Reduce
http://jchris.mfdz.com/code/2008/6/markov_chains_using_couchdb_s_g
2 comments
Well, of course, with a language this sort of thing is possible. The beauty of the method described in the article is that it's built in the database system itself. No "language" is required (besides simple javascript for a view).
No one said couchdb was required. This article is simply showing how easy it is to accomplish incremental reduces.
No one said couchdb was required. This article is simply showing how easy it is to accomplish incremental reduces.
Languages like Python have high-level wrappers that let you access such databases like a normal hash:
In my experience you can get really fast simple persistence with basically no code this way. It's not as fast as can possibly, but then again the overhead of communicating via JSON and HTTP isn't, either.
Maybe I'm missing something.