Skip to content

Commit

Permalink
Spelling (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
algattik authored Dec 23, 2020
1 parent 81edc72 commit 7e7de93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eventhubs-functions-cosmosdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ As mentioned in the article [Serverless Streaming At Scale with Cosmos DB](https

## Cosmos DB

As you'll notice when using funciont "Test1", Cosmos DB reports something a bit more than 8 RU used for each written document. This is due to the fact that 1Kb document is ingested, but in the sample Azure Functions are used to augment the incoming JSON by adding some additional data, making the document a little bit bigger than 1Kb.
As you'll notice when using function "Test1", Cosmos DB reports something a bit more than 8 RU used for each written document. This is due to the fact that 1Kb document is ingested, but in the sample Azure Functions are used to augment the incoming JSON by adding some additional data, making the document a little bit bigger than 1Kb.

Cosmos DB index policy has been set up in order to index only the meaninful properties to avoid to waste RU in properties that will never be searched for and thus indexing won't help in any way. Keeping the indexing enabled for all properties, would raise the RU usage, per document, to 19 (100% more!). On the other hand, removing indexing from all properties will bring down RU usage to 6.

Expand Down
2 changes: 1 addition & 1 deletion eventhubskafka-functions-cosmosdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ As mentioned in the article [Serverless Streaming At Scale with Cosmos DB](https

## Cosmos DB

As you'll notice when using funciont "Test1", Cosmos DB reports something a bit more than 8 RU used for each written document. This is due to the fact that 1Kb document is ingested, but in the sample Azure Functions are used to augment the incoming JSON by adding some additional data, making the document a little bit bigger than 1Kb.
As you'll notice when using function "Test1", Cosmos DB reports something a bit more than 8 RU used for each written document. This is due to the fact that 1Kb document is ingested, but in the sample Azure Functions are used to augment the incoming JSON by adding some additional data, making the document a little bit bigger than 1Kb.

Cosmos DB index policy has been set up in order to index only the meaninful properties to avoid to waste RU in properties that will never be searched for and thus indexing won't help in any way. Keeping the indexing enabled for all properties, would raise the RU usage, per document, to 19 (100% more!). On the other hand, removing indexing from all properties will bring down RU usage to 6.

Expand Down

0 comments on commit 7e7de93

Please sign in to comment.