Skip to Content
Azure Serverless Computing Cookbook - Second Edition
book

Azure Serverless Computing Cookbook - Second Edition

by Praveen Kumar Sreeram, Jason Marston
November 2018
Intermediate to advanced
424 pages
10h 55m
English
Packt Publishing
Content preview from Azure Serverless Computing Cookbook - Second Edition

Auto-scaling Cosmos DB throughput

In the previous recipe, we read data from an Excel sheet and put it into an employee collection. The next step is to insert the collection into a Cosmos DB collection. However, before we insert the data into the Cosmos DB collection, we need to understand that, in real-world scenarios, the number of records that we would need to import would be huge, and so you might face performance issues if the capacity of the Cosmos DB collection is not sufficient. 

Cosmos DB collection throughput is measured by the number of Request Units (RUs) allocated to the collection. You can read more about this at https://docs.microsoft.com/en-us/azure/cosmos-db/request-units.

Also, in order to lower costs, for every service, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Azure Serverless Computing Cookbook

Azure Serverless Computing Cookbook

Praveen Kumar Sreeram
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo
Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni

Publisher Resources

ISBN: 9781789615265Supplemental Content