Table of Contents

Class CatalogCommandRate

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

The rate a client may send one command type at: a token bucket, refilled per second, with a burst ceiling.

public sealed class CatalogCommandRate
Inheritance
CatalogCommandRate
Inherited Members

Remarks

Enforced on the transport thread before the command reaches the ring, so an over-rate client costs the tick nothing. This is the throughput limit; the ring's own depth governs only how much lateness it tolerates.

Constructors

CatalogCommandRate()

public CatalogCommandRate()

Properties

Burst

Bucket depth, so a client may burst to this before the sustained rate binds.

public int Burst { get; init; }

Property Value

int

PerSec

Sustained commands per second.

public int PerSec { get; init; }

Property Value

int