Skip to content

Performance

hunterhacker edited this page Sep 28, 2011 · 5 revisions

Performance

Document Insertion

The speed of inserting new JSON documents or updating existing documents was measured using the test/load.pl script. This script inserts 10,000 MarkMail messages in JSON format into the database. On an extremely old desktop machine, it was able to insert 24 JSON documents per second. In an XML format it was able to insert 80 messages per second. The JSON document insertion is slower due to the need to first parse the JSON string and convert it into an XML format that's useable by MarkLogic. This overhead can be greatly reduced with a native implementation of the JSON parser in MarkLogic.

Discussion

Was the load single-threaded?

How fast was XCC?

Clone this wiki locally