This is an interesting idea, and from Damien's note about attachments
executing in a separate thread, is probably worth looking into. I'll go
ahead and run benchmarks on this on Monday.
--thanks,
Josh
Sven Helmberger wrote:
Josh Bryan schrieb:
On a dual core pentium 3.0ghz with erlang 5.6 and couch 0.8.0 using bulk
writes, I get throughput of 95 writes / second . I didn't get the 2000
per second that Michael did, but that is likely due to the fact that his
documents are considerably smaller than mine (each of my docs has a
4K-10K attachment). By upgrading to the latest couchdb from svn, this
improved from 95 / second to about 150 / second.
My totally unsubstantiated guess would be that if you have lots of
attachments you might actually be faster bulk creating the docs
without attachments and then adding the attachments later as binary.
Regards,
Sven Helmberger