Skip to content

Commit 4728621

Browse files
committed
Refined the configuration section.
1 parent 72becb9 commit 4728621

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

docs/MIXED_WORKLOAD_IMPLEMENTATION_PLAN.md

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@ def run(
272272
```
273273

274274
### **Configuration**
275+
276+
#### **Mixed Workload Parameters**
275277
```json
276278
{
277279
"mixed_workload_params": {
@@ -280,6 +282,35 @@ def run(
280282
}
281283
```
282284

285+
#### **Redis Engine Configurations**
286+
287+
**RediSearch Configuration**
288+
```json
289+
{
290+
"search_params": {
291+
"algorithm": "hnsw",
292+
"search_params": {"ef": 200, "data_type": "FLOAT32"},
293+
"upload_params": {
294+
"data_type": "FLOAT32",
295+
"parallel": 1,
296+
"batch_size": 64
297+
}
298+
}
299+
}
300+
```
301+
302+
**Vector Sets Configuration**
303+
```json
304+
{
305+
"search_params": {
306+
"search_params": {"ef": 200},
307+
"upload_params": {
308+
"hnsw_config": {"M": 16, "EF_CONSTRUCTION": 200, "quant": "NOQUANT"}
309+
}
310+
}
311+
}
312+
```
313+
283314
### **Results Format**
284315
```json
285316
{
@@ -382,35 +413,6 @@ vector_bytes = np.array(vector).astype(np.float32).tobytes()
382413
- **Load Balancing**: Insert workers distribute across shards naturally
383414
- **Connection Reuse**: Same connection pool as search operations
384415

385-
### **Configuration Parameters**
386-
387-
**RediSearch Configuration**
388-
```json
389-
{
390-
"search_params": {
391-
"algorithm": "hnsw",
392-
"search_params": {"ef": 200, "data_type": "FLOAT32"},
393-
"upload_params": {
394-
"data_type": "FLOAT32",
395-
"parallel": 1,
396-
"batch_size": 64
397-
}
398-
}
399-
}
400-
```
401-
402-
**Vector Sets Configuration**
403-
```json
404-
{
405-
"search_params": {
406-
"search_params": {"ef": 200},
407-
"upload_params": {
408-
"hnsw_config": {"M": 16, "EF_CONSTRUCTION": 200, "quant": "NOQUANT"}
409-
}
410-
}
411-
}
412-
```
413-
414416
---
415417

416418
## **Expected Outcomes**

0 commit comments

Comments
 (0)