Click here to Skip to main content
15,900,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am searching for difference between Partitioned Key Enabled and Disabled

I have created queue with Partitioned Key enabled and without Partitioned Key

Then I have added 500 records in queue

then I tried to retrieve same, I created retriever application I tried to run 4 instances of same and tried to read queue

I found there is not difference, So I am confused when to used what

What I have tried:

I know Partitioned Key created fragments but what and when to used it
Posted
Updated 5-Feb-19 22:43pm

1 solution

You need to rethink your strategy, so start reading:
Partitioning in Azure Cosmos DB | Microsoft Docs[^]
Create partitioned Azure Service Bus queues and topics | Microsoft Docs[^]
And a brief overview that isn't Azure specific:
Designing Partition Keys to Distribute Your Workload Evenly - Amazon DynamoDB[^]
500 records isn't even close to enough to start showing a significant difference when using partition keys, even if your measurement system (which you haven't explained) had allowances for the lag caused by the very nature of the internet itself (which I doubt it does).
 
Share this answer
 
Comments
Member-515487 6-Feb-19 23:27pm    
I am looking for Service Bus partition key uses its just POC

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900