scalebox/examples
kaichao d5b2cea2e9 update cluster def files. 2024-05-22 14:15:44 +08:00
..
app-primes update cluster def files. 2024-05-22 14:15:44 +08:00
cluster-dir-copy add app cluster-dir-copy. 2023-10-30 22:08:32 +08:00
dir-copy update examples. 2024-02-23 14:16:42 +08:00
hello-scalebox update for app hello-world. 2024-04-18 13:28:49 +08:00
singularity update examples. 2024-02-23 14:16:42 +08:00
README.md basic doc is OK. 2023-04-22 14:37:16 +08:00

README.md

examples

1. hello-scalebox

scalebox的入门应用展示基于消息触发的基本应用。具体操作步骤如下

  • 构建应用模块的容器镜像
cd examples/hello-scalebox
make build
  • 创建应用
app create
  • 查看应用状态:
$ app list

2. app-primes

计算区间内质数数量的分布式应用。首先将区间分解为若干个子区间,再分别计算各个子区间的质数数量,最后加和得到区间内结果。

操作步骤如下:

cd examples/app-primes
make build
  • 创建应用
app create
  • 查看应用状态:
$ app list

3. app-copy

文件拷贝是scalebox的基本功能实现集群内、跨集群的数据传输。

scalebox的基本模块支持基于rsync、rsync-over-ssh、ftp等的文件拷贝。

app-copy应用则展示利用基本模块实现数据传输的例子。