Table of Contents

Class ProjectionCapacityOptions

Namespace
Excalibur.EventSourcing.Projections
Assembly
Excalibur.EventSourcing.dll

Bounds framework projection storage work within one service provider.

public sealed class ProjectionCapacityOptions
Inheritance
ProjectionCapacityOptions
Inherited Members

Remarks

Limits apply independently to each storage resource and are frozen when the governor is created. They bound logical operations, not SDK connections, requests, or activity in other processes -- so N hosts running this configuration present up to N times these limits to the same storage. Size them per process and multiply by your host count when sizing the storage side. Unidentified resources share one conservative budget. User handlers execute outside storage admission.

Properties

MaxConcurrentOperations

Gets or sets concurrent storage operations across all resources, in this process. The default is 16.

public int MaxConcurrentOperations { get; set; }

Property Value

int

Remarks

This backstop also covers differently configured aliases of the same storage system.

MaxConcurrentReads

Gets or sets concurrent storage reads per resource, in this process. The default is four.

public int MaxConcurrentReads { get; set; }

Property Value

int

MaxConcurrentRebuilds

Gets or sets concurrent rebuilds per resource, in this process. The default is one.

public int MaxConcurrentRebuilds { get; set; }

Property Value

int

MaxConcurrentWrites

Gets or sets concurrent storage writes per resource, in this process. The default is four.

public int MaxConcurrentWrites { get; set; }

Property Value

int

MaxResources

Gets or sets the maximum distinct resources retained by the governor. The default is 1024.

public int MaxResources { get; set; }

Property Value

int

Remarks

Exceeding this bound is rejected. Active budgets are never evicted or replaced.

QueueLimit

Gets or sets waiting operations per resource and operation kind, in this process. The default is 256; zero disables waiting.

public int QueueLimit { get; set; }

Property Value

int