Repository navigation
Use the runtime default for Loop conversation capacity #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,7 +39,6 @@ data: | |
| BRAINSTORE_CACHE_DIR: /mnt/tmp/brainstore | ||
| BRAINSTORE_OBJECT_STORE_CACHE_FILE_SIZE: 5Gi | ||
| BRAINSTORE_OBJECT_STORE_CACHE_MEMORY_LIMIT: 256Mi | ||
| LOOP_RUNTIME_MAX_CLAIMED_CONVERSATIONS: "2" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated the example README to state the runtime's 20-conversation default, the new pod resources, and how to override the limit. |
||
| LOOP_RUNTIME_SANDBOX_CAPACITY_TARGET_UTILIZATION_PERCENT: {{ maxf 1 (float64 ($autoscaling.targetConversationUtilization | default "50")) | quote }} | ||
| BRAINSTORE_CONTROL_PLANE_TELEMETRY: {{ list .Values.global.controlPlaneTelemetry "metrics" "traces" | compact | join "," | quote }} | ||
| NO_COLOR: "1" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the cap gone a pod takes up to 20 conversations on 1 CPU and 2Gi, and autoscaling is off by default. AWS runs the same default on a 2 vCPU, 8 GiB task and also scales on CPU and memory. Has a pod at this size been run near 20 conversations, or should the default resources go up with it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't run a pod near 20 conversations. I changed the GKE default requests and limits to 2 CPU / 8Gi, matching the AWS task sizing you called out, and documented the explicit resource settings needed when
--reuse-valuesretains 1 CPU / 2Gi. The chart tests cover rendered resources, not load behavior.