IBM Cloudant NoSQL has some limits on lookups,write,query per second.
On CloudAnt I can write a DesignDocument "View".
When I read a view, where does this read impact on? lookups/sec or query/sec?
For example this is the view:
function (doc) {
if(doc.DocType && doc.DocType=="car") {
emit(doc._id, {"brand":doc.brand, "model":doc.model});
}
}
A "lookup" is something that hits Cloudant's primary key e.g. GET /db/docid
or GET /db/_all_docs
. A "query" is something that hits a secondary index, which includes:
In your example, reading back the results of a view would be classed as a "query" in billing terms