Skip to content

Commit

Permalink
Merge pull request #1761 from milvus-io/sizingtool-review-phase2
Browse files Browse the repository at this point in the history
sizingtool review phase 2
  • Loading branch information
ThyeeZz authored Jan 3, 2025
2 parents abd9c5c + b5492b9 commit 66f62e1
Show file tree
Hide file tree
Showing 10 changed files with 624 additions and 159 deletions.
16 changes: 13 additions & 3 deletions src/components/customButton/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@
background-color: @color-white1;
}
}
&.disabledButton {
border-color: #e4eaf1;
color: #ccc;
cursor: not-allowed;

svg path {
fill: #ccc;
}

&:hover {
background-color: #fff;
}
}
}

.text {
Expand All @@ -72,6 +85,3 @@
padding: 14px 32px;
border-radius: 10px;
}

.disabledButton {
}
17 changes: 10 additions & 7 deletions src/i18n/en/sizingTool.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,24 @@
"offloading": "Offloading Fields to Disk",
"mmp": "Milvus uses <0>Mmap</0> to enable direct memory access to large files on disk without reading the entire files into memory.",
"indexType": "Index Type",
"indexTypeTip": "How to choose vector index? <0>Learn more</0>.",
"indexParam": "Index Parameters",
"indexParamTip": "How to set proper index parameters? <0>learn more details</0>.",
"withRawData": "with_raw_data",
"m": "m(maximum degree of the node)",
"nlist": "nlist",
"maxDegree": "max_degree",
"segmentSize": "Segment Size",
"dependencyComp": "Dependency Component",
"mode": "Mode",
"modeTip": "With data growth, you can migrate data from standalone mode to cluster mode. <0>View More</0>",
"modeDisableTip": "Don‘t support standalone mode when number of vector exceed 10 Million or XXXXXXXX.",
"modeTip": "With data growth, you can migrate data from standalone mode to cluster mode. <0>View More</0>.",
"modeDisableTip": "For large data sizes, it is recommended to use cluster mode deployment to achieve better performance and scalability.",
"pulsar": "Pulsar",
"kafka": "Kafka",
"standalone": "Standalone",
"standaloneDesc": "Suitable for small data size and poc env.",
"cluster": "Cluster",
"clusterDesc": "Suitable for large datasize and production env. "
"clusterDesc": "Suitable for large data size and production env. "
},
"overview": {
"title": "Data Size Calculation",
Expand All @@ -36,7 +38,8 @@
},
"setup": {
"title": "Setup Resource Requirements",
"share": "Scaling cluster or dependencies",
"cloud": "Try Zilliz Cloud Calculator",
"outOfRange": "Your data volume is substantial. Please <0>contact us</0> to explore the best deployment practices.",
"milvus": {
"title": "Milvus Components",
"proxy": "Proxy",
Expand Down Expand Up @@ -65,15 +68,15 @@
"apacheTip": "Please mount a high-performance storage drive(NVMe SSD) for Bookie.Journal and Zookeeper to ensure optimal performance."
},
"basic": {
"cpuAndMemory": "CPU and Memory: <0>{{cpu}} C {{memory}}</0>",
"storageWithValue": "Storage: <0>{{storage}} GB</0>",
"cpuAndMemory": "CPU and Memory: <0>{{cpu}} {{memory}}</0>",
"storageWithValue": "Storage: <0>{{size}}</0>",
"diskWithValue": "Local Disk: <0>{{disk}} {{unit}}</0>",
"cpu": "CPU",
"memory": "Memory",
"disk": "Local Disk",
"storage": "Storage",
"podNum": "Pod Number",
"pvc": "Pvc per Pod: <0>{{pvc}} GB</0>",
"pvc": "Pvc per Pod: <0>{{pvc}}</0>",
"pvcLabel": "Pvc per Pod",
"journal": "Journal",
"ledger": "Ledgers",
Expand Down
1 change: 1 addition & 0 deletions src/pages/tools/sizing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export default function SizingTool() {
},
mode: ModeEnum.Standalone,
dependency: DependencyComponentEnum.Pulsar,
isOutOfCalculate: false,
});

const updateCalculatedResult = (result: ICalculateResult) => {
Expand Down
Loading

0 comments on commit 66f62e1

Please sign in to comment.