When comparing Couchbase vs MarkLogic, the Slant community recommends Couchbase for most people. In the question“What are the best databases for building social network like apps?” Couchbase is ranked 6th while MarkLogic is ranked 11th.
Ranked in these QuestionsQuestion Ranking
Pro Easy to implement N1QL queries
Pro Ability to run ad-hoc SQL like queries on realtime big data
Couchbase N1QL allows native SQL processing over JSON data with high performance indexing for low latency queries at scale.
Pro Easy sync protocol to mobile devices
The minimal code needed to pull data down to a device
Pro Available on Windows, Linux & macOS
Pro Open source
Couchbase and Couchbase Mobile are open source and released under the Apache License.
Pro Ability to make predefined fast queries
With Couchbase you can make "Views" of data, which are practically predefined queries which are fetched with an O(1) algorithm.
Pro High performance graph database
While known as a document-oriented noSQL database, MarkLogic also provides a standards-compliant triple store that can be used to enrich document-shaped data with semantic links.
Pro Enterprise strength security and transactions
The two fatal flaws of many open source solutions is lack of integrated security at the element level and full ACID transaction support. MarkLogic has both and is trusted with some of the worlds most sensitive data. It is the engine that powers healthcare.gov, which despite some early problems (not caused by MarkLogic) is an amazing technological achievement.
Pro Multi-model database
MarkLogic supports text, documents, key-value/tuple, graphs, tables and object models that don't require extensive data-modeling and normalization that is part of the lifecycle process of relational database management systems. For sites similar to LinkedIn, Facebook, IMDB and even search engines, MarkLogic provides a unique set of features that are all in one box.
Pro No ETL Required
MarkLogic can store all your enterprise data in it's original format without needing to know a schema in advanced. You can shove pretty much any structured or unstructured data directly into MarkLogic, and it will automatically index everything and make it available for future processing. Of course it is fully schema aware and will apply and enforce schema constraints when available, but the tedious normalization that is required for relational databases is not necessary.
Con No model mapper for Android
Couchbase does not have a model mapper for Android built-in and out of the box, instead you will have to write your own from scratch.
Con Vendor lock-in
Con Not Compatible with couchdb
Since version 2 the sync-protocol is no longer compatible with couchdb. This makes couchbase nearly worthless
Con Lack of experts
MarkLogic is not as popular as some of it's peers, and even though it is highly standards-based, the pool of talent that is well-versed in the underlying technology is small compared with some competing platforms (e.g, Oracle, IBM, Apache).
Con Enterprise software is not open source and can get expensive. Not for casual projects.
MarkLogic can be downloaded and implemented in development environments for free. However, for production use, it is priced for enterprises, not startups with tight budgets. Open source requires a lot more elbow grease to do the same thing.