No project description provided
Project description
natscale
A high-performance Python framework for HPC task distribution, load balancing, and monitoring powered by NATS.
Install NATS
deploy a NATS service
go install github.com/nats-io/nats-server/v2@latest
export PATH=$PATH:$(go env GOPATH)/bin
# -js 表示开启 JetStream 持久化功能
# -m 8222 (可选) 开启 HTTP 监控面板,方便在浏览器看状态
nats-server -js
create a NATS stream
nats stream add NATSCALE --subjects "hpc.tasks.>" --storage=file --ack --retention=work --discard new --max-msgs 100000 --replicas 1
useful commands
check the stream info
watch -n 10 nats stream info NATSCALE
view the stream graph
nats stream graph
template-pdm-base
This project is generated by pdm template of https://github.com/POFK/template-pdm-base by command:
pdm init https://github.com/POFK/template-pdm-base <project_name>
also a non-interactive command is:
pdm init --name <project_name> --dist -n https://github.com/POFK/template-pdm-base
first run after initialization
pdm install
detect-secrets scan > .secrets.baseline
git add .
pre-commit run -a
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file natscale-0.1.0.tar.gz.
File metadata
- Download URL: natscale-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.26.2 CPython/3.14.2 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f9b52adfd26d52de190ba3c38b04ceb168ca3ede5109b1899f6d7484b32a8a9
|
|
| MD5 |
8c6182b4fb5386c0a7465a0bb6d0e360
|
|
| BLAKE2b-256 |
940f7b673695eab230870f4b593fde43d4d0b627bb0b3bb7d60b338efa61e950
|
File details
Details for the file natscale-0.1.0-py3-none-any.whl.
File metadata
- Download URL: natscale-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.26.2 CPython/3.14.2 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49e46df9525f951077c05014e342ce8e2ac3f01834608b4781871a5a2c6f88c4
|
|
| MD5 |
b20f7206887fadfd42d2cb9ddeec285e
|
|
| BLAKE2b-256 |
449e73d2618088c5bba58a9129cb8088de2f9e03d030cd5ce1faf2e0ea1d3434
|