csharp-driver
csharp-driver copied to clipboard
DataStax C# Driver for Apache Cassandra
this is for https://datastax-oss.atlassian.net/browse/CSHARP-975. i added the min value as long because DateTimeOffset.ToUnixTimeMilliseconds() is not available in .net=4.5.2
This is for https://datastax-oss.atlassian.net/browse/CSHARP-971 I have assumed for the moment that I do not need to add tests to demonstrate this helps. If I do need to add tests, where...
Currently `cluster.Connect()` starts the initialization task of the control connection, then creates the session, then initializes the session. This PR changes this behavior so that `cluster.Connect()` creates the session object...
Hi, our internal testing shows, that reading performance improves by 5-10% with this change. It works on the premise that `ThreadLocal.Value` within the hot loop is expensive compared to passing...
As explained in the [Jira ticket](https://datastax-oss.atlassian.net/browse/CSHARP-979), these methods are executed a lot of times. After inlining them, I can see improvements of 3-5% in reading data. I know that it...
This change reduces GC pressure by avoiding temporary arrays allocation for `ToDouble` and `ToSingle` conversions. We've discovered this problem because we use wide tables, i.e. ~90 columns of mostly doubles....
As discussed in https://datastax-oss.atlassian.net/browse/CSHARP-969?focusedCommentId=55554, this document describes a proposal for the inclusion of tracing for C# driver that follows the OpenTelemetry specification. It was based on the template available in...
As discussed in the [OpenTelemetry proposal](https://github.com/datastax/csharp-driver/blob/master/proposals/open-telemetry/tracing-rfc.md), this PR includes the session level tracing following the OpenTelemetry standard. @joao-r-reis There are two things that are included in the proposal that are...
Any async method in `Mapper` can block the thread if there are more than one page in `RowSet`. This can easily starve the thread pool and obliterate the performance of...