Skip to main content
SmithDB is optional and available in beta. Use these tiers only after you decide to enable SmithDB. For non-SmithDB LangSmith services, see Configure LangSmith for scale.
Use these tested tiers as starting configurations for SmithDB.
Configure observability before tuning capacity. See Configure SmithDB observability.

Choose and scale a tier

These tiers are starting points, not fixed throughput limits or prescribed configurations. CPU, memory, and ephemeral-storage values are per replica.
Choose the tier whose tested ingestion and query rates most closely match or exceed your expected steady-state load. Apply the per-replica resources and starting replica counts from the selected tier. If the workload later outgrows that starting point, SmithDB compute can be scaled horizontally.
SmithDB query, ingestion, and compaction-worker HPAs are enabled by default. They require Kubernetes Metrics Server or another metrics.k8s.io provider. Verify availability with kubectl get --raw /apis/metrics.k8s.io/v1beta1.

Baseline tiers

Configure resources with Helm

The chart defaults to small. Select small, medium, or large:
A tier sets per-replica CPU, memory, and ephemeral-storage requests and limits. Replica counts and autoscaling are configured separately. The chart enables autoscaling for query, ingestion, and compaction worker by default. For local-disk components, the ephemeral-storage limit also sizes the generated emptyDir. Explicit component resources or volumes settings take precedence. See SmithDB resource tiers for current values and chart details.
To configure resources without smithdb.resourceTier, use the component-level values directly. This medium-tier example is also a copyable reference for overriding individual components:
When configuring local-disk components manually, keep limits.ephemeral-storage and any explicit emptyDir.sizeLimit consistent with your Kubernetes policy.

Metastore capacity

The baseline tiers cover SmithDB Kubernetes workloads only. They do not include the PostgreSQL metastore. Use these provisional starting points for a dedicated metastore: Choose the nearest supported PostgreSQL instance shape from your provider and monitor database resource use and transaction latency during rollout.

See also