by henning · 18y ago · 0 comments
Languages like Python have high-level wrappers that let you access such databases like a normal hash:
wordpairs[foo] = wordpairs[foo] + k # reads from disk then writes
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.
No one said couchdb was required. This article is simply showing how easy it is to accomplish incremental reduces.