Skip to Content
Developer GuideServicesArk Cluster Memory

Ark Cluster Memory

In-memory storage service with Server-Sent Events (SSE) streaming support for Ark queries.

This service provides a basic but complete memory system for an Ark cluster, as well as offering the up-coming streaming APIs which enable real-time streaming responses to queries.

Installation

Install via helm:

helm install ark-cluster-memory \ ghcr.io/mckinsey/agents-at-scale-ark/charts/ark-cluster-memory

Or for local development:

cd services/ark-cluster-memory # Deploy the service... devspace deploy # ...or run in dev mode with live-reload. devspace dev

Configuration

All configuration options are documented in the Helm chart. Key configuration is:

Environment variables:

VariableDescriptionDefault
PORTServer port8080
MAX_MESSAGE_SIZEMaximum message size in bytes10485760 (10MB)
MEMORY_FILE_PATHPath to persist memory dataNot set (no persistence)
STREAM_FILE_PATHPath to persist stream dataNot set (no persistence)

The Helm chart can optionally configure a persistent volume for data storage by setting persistence.enabled=true.

Last updated on