Azure DocumentClient thread safety
<p>Is <code>DocumentClient</code> thread safe?</p>

<p>I get mixed messages:</p>

<p>From MSDN <a href="https://msdn.microsoft.com/library/azure/microsoft.azure.documents.client.documentclient.aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/library/azure/microsoft.azure.documents.client.documentclient.aspx</a> :</p>

<blockquote>
  <p>Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.</p>
</blockquote>

<p>From MS blog <a href="https://azure.microsoft.com/en-us/blog/performance-tips-for-azure-documentdb-part-1-2/" rel="nofollow noreferrer">https://azure.microsoft.com/en-us/blog/performance-tips-for-azure-documentdb-part-1-2/</a> :</p>

<blockquote>
  <p>SDK Usage Tip #1: Use a singleton DocumentDB client for the lifetime of your application Note that each DocumentClient instance is thread-safe and performs efficient connection management and address caching when operating in Direct Mode. To allow efficient connection management and better performance by DocumentClient, it is recommended to use a single instance of DocumentClient per AppDomain for the lifetime of the application.</p>
</blockquote>