Class TuningOptions
Options for performance tuning specific to the .NET SDK.
Namespace: Couchbase
Assembly: Couchbase.NetClient.dll
Syntax
public class TuningOptions : object
Properties
| Improve this Doc View SourceMaximumOperationBuilderCapacity
Maximum size of a buffer used for building key/value operations to be sent to the server which will be retained for reuse. Buffers larger than this value will be disposed. If your application is consistently sending mutation operations larger than this value, increasing the value may improve performance at the cost of RAM utilization. Defaults to 1MB.
Declaration
public int MaximumOperationBuilderCapacity { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MaximumRetainedOperationBuilders
Maximum number of buffers used for building key/value operations to be sent to the server which will be retained for reuse. If your application has a very high degree of parallelism (for example, a very large number of data nodes), increasing this number may improve performance at the cost of RAM utilization. Defaults to the 4 times the number of logical CPUs.
Declaration
public int MaximumRetainedOperationBuilders { get; set; }
Property Value
Type | Description |
---|---|
Int32 |