# cacheClusterFlask **Repository Path**: vesper0407/cache-cluster-flask ## Basic Information - **Project Name**: cacheClusterFlask - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-24 - **Last Updated**: 2023-11-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### ssl ```shell openssl req -new -x509 -days 365 -nodes -out secret.pem -keyout secret.key openssl pkcs8 -topk8 -inform PEM -outform PEM -in secret.key -out outfile.pem ``` ```python app.run(host, port, debug=debug,ssl_context=('../ssl/secret.pem', '../ssl/secret.key')) ``` pip install -U scikit-learn pip install -U flask-cors pip install Flask ### 球面距离 - [聚类中不用欧式距离 利用三维坐标自定义球面距离](https://www.codenong.com/52210911/) ![img.png](img/circleDistance.png) ### wrk - wrk -t 4 -c 4 -d 120s "https://127.0.0.1:5004/cluster" -s ./test.lua - wrk -t 4 -c 4 -d 10s "https://127.0.0.1:5004" -