I hereby claim:
- I am christiankniep on github.
- I am qnib (https://keybase.io/qnib) on keybase.
- I have a public key ASCoyIRNZWEzP3x0O_-oe8Qbdfl_rVnjni3A6H4At_rDtQo
To claim this, I am signing this object:
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": { | |
| "type": "grafana", | |
| "uid": "-- Grafana --" | |
| }, | |
| "enable": true, |
| """ | |
| This Locust load testing script is designed to simulate user traffic for the MemMachine API. | |
| It consists of two main components: | |
| 1. MemMachineUser(HttpUser): Defines the behavior of a single virtual user, including the API endpoints | |
| they hit, the frequency of those actions (using task weights), and the data they send. | |
| - Tasks include adding memories, searching memories, and accessing various GET endpoints. | |
| - Each user simulates a unique session with unique IDs. | |
| 2. RampUpShape(LoadTestShape): Defines a custom, multi-stage load shape. This class programmatically |
| logging: | |
| path: /tmp/memory_log | |
| level: info | |
| long_term_memory: | |
| derivative_deriver: sentence | |
| metadata_prefix: "[$timestamp] $producer_id: " | |
| embedder: my_embedder_id | |
| reranker: my_reranker_id | |
| vector_graph_store: my_storage_id |
| apiVersion: 1 | |
| datasources: | |
| - name: Prometheus | |
| type: prometheus | |
| access: proxy | |
| url: http://prometheus:9090 | |
| isDefault: true |
| apiVersion: 1 | |
| providers: | |
| - name: 'default' | |
| orgId: 1 | |
| folder: '' | |
| type: file | |
| disableDeletion: false | |
| editable: true | |
| updateIntervalSeconds: 10 |
| global: | |
| scrape_interval: 1s | |
| scrape_configs: | |
| - job_name: 'memmachine' | |
| static_configs: | |
| - targets: ['memmachine:8080'] | |
| - job_name: 'dcgm' | |
| static_configs: | |
| - targets: ['dcgm:9400'] |
| model_list: | |
| - model_name: qwen3:8b | |
| litellm_params: | |
| model: ollama/qwen3:8b | |
| api_base: http://ollama:11434 | |
| - model_name: qwen3-embedding:0.6b | |
| litellm_params: | |
| model: ollama/qwen3-embedding:0.6b | |
| api_base: http://ollama:11434 | |
| litellm_settings: |
| services: | |
| dcgm: | |
| container_name: dcgm | |
| image: nvcr.io/nvidia/k8s/dcgm-exporter:4.4.1-4.6.0-ubuntu22.04 | |
| runtime: nvidia | |
| privileged: true | |
| environment: | |
| - NVIDIA_VISIBLE_DEVICES=all | |
| - NVIDIA_DRIVER_CAPABILITIES=compute,utility | |
| - CUDA_VISIBLE_DEVICES=0 |
| #!/bin/bash | |
| mkdir -p /tmp/opencarp | |
| cd /tmp/opencarp | |
| wget -q https://opencarp.org/rpm/opencarp-v7.0.rpm | |
| yum install -y opencarp-v7.0.rpm |
I hereby claim:
To claim this, I am signing this object: