-
Couldn't load subscription status.
- Fork 96
Description
Problem:
It seem that writing events into the Influx DB is not particularly fast. For example WritePointsAsyncWithIRestResponse with a single point and a locally running InfluxDB install is resetting in only ~4 writes a second.
It seems the internal use of the RestSharp library is fully encapsulated and have not tries to walk the code base too deeply but did find that others have had performance issues with RestSharp
It would be helpful if performance values from say DotNet Benchmark were available for each of the API calls and be able to see if any performance impacts occur with each release.
We figure we're doing something wrong. This is out invocation call:
var res = await client
.GetWriteApiAsync()
.WritePointsAsyncWithIRestResponse(new[] { point }, _bucketName, org: _orgName, cancellationToken: ctx);With this code commented out our process can per dotnet-counter process ~400 points per second, however reenabling the code results in a drop to the ~4 points written per second - 100x lower performance!
In all cases the Response status in Completed.
Specifications:
- Client Version: 4.0.0
- InfluxDB Version: 2.1.1
- Platform: MacOS