Bird Law
Bird Law

Reputation: 77

Cloudant pricing question, using bulk API

I'm seeing conflicting info on this. If I make 1 request to bulk insert 10 documents, how many write operations does that count for?

These two SO posts suggest 1, but I'm wondering if they are outdated.

How do calculate IO operations in Cloudant account for Bluemix pricing? (throughput - lookups, reads, writes, queries) How do Bulk operations in Cloudant account for Bluemix pricing? (throughput - lookups, writes, queries)

Upvotes: 0

Views: 30

Answers (1)

xpqz
xpqz

Reputation: 3737

The information you refer to is correct. A bulk write will (currently) be counted as a single write, and not be split apart into its constituent documents when it comes to billing.

However: note that Cloudant has always recommended that you don’t rely on this behaviour, as it might change somewhere down the line.

Stefan @ Cloudant

Upvotes: 1

Related Questions