title: Azure CosmosDB I cannot get more than 1500 RUs
body: <p>I have an application that requires large RUs, but for some reason I cannot get the client app to handle more than 1000-1500 RUs, although the collection is set to 10000 RUs. Obviously I can add more clients, but I need one client to give me at least 10000 RUs then scale that. 
  My requests are simple</p>
  
  <pre><code>    var query = connection.CreateDocumentQuery&lt;DocumentDBProfile&gt;(
      CollectionUri, //cached
      "SELECT * FROM Col1 WHERE Col1.key = '" + partitionKey + "' AND Col1.id ='" + id + "'",
      new FeedOptions
      {
          MaxItemCount = -1,
          MaxDegreeOfParallelism = 10000000,
          MaxBufferedItemCount = 1000,
      }).AsDocumentQuery();
      var dataset = await query.ExecuteNextAsync().ConfigureAwait(false);
  </code></pre>
  
  <p>The query above is hitting 150,000 partitions, each is within own task (awaiting all at the end) and the client is initialized with TCP and direct mode:</p>
  
  <pre><code>                            var policy = new ConnectionPolicy
                              {
                                  EnableEndpointDiscovery = false,
                                  ConnectionMode = ConnectionMode.Direct,
                                  ConnectionProtocol = Protocol.Tcp,
                              };
  </code></pre>
  
  <p>The CPU on the client appears to max out, mostly to service the call query.ExecuteNextAsync()</p>
  
  <p>Am I doing anything wrong? Any optimization tips? Is there a lower level API I can use? Is there a way to pre-parse queries or make Json parsing more optimal?</p>
  
  <p><strong>UPDATE</strong>
  I was able to get up to 3000-4000 RU on one client by lowering the number of concurrent requests, and stripping down my deserialized class to one with a single property (id), but I am still 10% of the limit of 50,000 RUs mentioned in the performance guidelines.
  Not sure what else I could do. Is there any security checks or overhead I can disable in the .Net SDK?</p>
  
  <p><strong>UPDATE2</strong>
  All our tests are run on Azure in the same region D11_V2. Running multiple clients scales well, so we are client bound not server bound.
  Still not able to achieve 10% of the performance outlined in the <a href="https://docs.microsoft.com/en-us/azure/cosmos-db/performance-tips" rel="nofollow noreferrer">CosmosDB performance guideline</a></p>