Skip to main content

OpenGRIS Scaler Distribution Framework

Project description

OpenGRIS Scaler

Efficient, lightweight, and reliable distributed computation.

FINOS Incubating Documentation License PyPI OpenSSF Scorecard

Documentation: https://finos.github.io/opengris-scaler/

Start there for installation options, command reference, worker manager guides, scaling policies, and examples.

What Is Scaler?

OpenGRIS Scaler is a distributed computing framework for running Python tasks across local machines or remote infrastructure.

It provides:

  • A Python client API similar to multiprocessing patterns such as submit(), map(), and starmap().
  • A centralized scheduler that dispatches work and balances load across workers.
  • Worker managers for local execution and cloud-backed capacity.
  • Support for graph/DAG execution, monitoring, and task recovery.

Architecture

Scaler architecture

  • Clients submit tasks to a scheduler.
  • The scheduler tracks state, applies scaling/allocation policies, and dispatches work.
  • Worker managers provision workers locally or on external infrastructure.
  • Workers execute tasks and return results.
  • An object storage service stores task inputs and outputs used by the cluster.

Local Quickstart

Install the package:

pip install opengris-scaler

Create config.toml:

[object_storage_server]
bind_address = "tcp://127.0.0.1:8517"

[scheduler]
bind_address = "tcp://127.0.0.1:8516"
object_storage_address = "tcp://127.0.0.1:8517"

[[worker_manager]]
type = "baremetal_native"
scheduler_address = "tcp://127.0.0.1:8516"
worker_manager_id = "wm-native"

Start a fully local stack:

scaler config.toml

Submit tasks from Python:

from scaler import Client


def square(value: int) -> int:
    return value * value


with Client(address="tcp://127.0.0.1:8516") as client:
    results = client.map(square, range(10))

print(results)

Learn More

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scaler_dev-2.3.6-cp314-cp314t-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

scaler_dev-2.3.6-cp314-cp314t-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

scaler_dev-2.3.6-cp314-cp314-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

scaler_dev-2.3.6-cp314-cp314-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

scaler_dev-2.3.6-cp313-cp313-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

scaler_dev-2.3.6-cp313-cp313-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

scaler_dev-2.3.6-cp312-cp312-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

scaler_dev-2.3.6-cp312-cp312-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

scaler_dev-2.3.6-cp311-cp311-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

scaler_dev-2.3.6-cp311-cp311-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

scaler_dev-2.3.6-cp310-cp310-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

scaler_dev-2.3.6-cp310-cp310-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file scaler_dev-2.3.6-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6db36833492faeb521497af86d0e8b5b7c94fdac30c421d26505d886081fb8d0
MD5 d5123376b87180f6d17b6f09ab560149
BLAKE2b-256 dfbe66cbf6da5614dfe79fd1d894316e2acab94f61068d192baa3a860ee3bf4e

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 73a94f5828c2c41f31fd37440c01a38f3986018f7d532209f63393b794382b58
MD5 967d51db5f9f5ee9f85a4e54e149ca1d
BLAKE2b-256 8640558f7072ef68ceca4695cad20f8d7f72160dfc7fdb6a539d0fa9f75435a0

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8d9194e0f5f68f8f460125655339d64a49fbf4c33ca4dd6448a559a466b0657f
MD5 934a80d9a3a1c4db8f5e07cca0495411
BLAKE2b-256 273d3e3dd521b5bf85851f470792f83cd250930e8e1712020ac449644040f198

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 89bb4ac7c2f2cac5c86aee016d7e2c40d868687169118fd10178500ffd3f420b
MD5 b004f6e4ea765735563fd667832aaea2
BLAKE2b-256 76f8e04e8a1589916abddd483324161279d185e59de783958282cbe5f715fe3b

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 88226f58b3db958c8e4cca2cbb49a6b95f7222e266add55882e477bbd82456fe
MD5 c9fc2b0984429d0bd60f12afa110616c
BLAKE2b-256 085212c80334b259f56d4a941d3a93059bf910f553129569bc7de928c33c4c33

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c127c57f4afe0c0ece0677315d308b278db7afad1a40bd1de92f8c015e136796
MD5 4cbcc12a03a5c0b194da3bf8bb384ec0
BLAKE2b-256 e844b0476a3e99a01f24b6ed7ae5ececfb326d4b3b6b498a851d89da7cbc5861

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 af08c1f7b462d51791ec92b428ef49f7877320589af11e146cc1e0054255d325
MD5 c4ec9a3c0adb6a38511ec4dd393d0251
BLAKE2b-256 b0bea1a9c12bc47fbf31ad576db956e3c6f614d7438e7becb70666b7d3be636f

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d4512db0bf51ce24c128fa2c2d1515fb66882a363f367fa87f6dc6e08e6b18e7
MD5 c9dee2f10168a234e914584617e9bb66
BLAKE2b-256 73a60b67f33b9c1f950adbe8eaf495044bfafaf4f8e9be43dc76440bd5dfa41d

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 17f24ac7b9b0a28fb919b971132946e8ab83d1bac2896807ad8c92b364be95d8
MD5 8d99ae4f6381e12220accd494e2217d4
BLAKE2b-256 411728607b1510ba37e73bf57700323894dc99bb22580f68224a799670235921

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ee502baae5614b81e1645175c8e16db7f5f0d3fd44631fa984cf180f8b988d6e
MD5 c43f9d7ab5988213a7f76bb4b1e3bbd7
BLAKE2b-256 610860a739c31fbe88c446d7850c452cda9f87a8ca6123f80e7aea206882aa1a

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 72255ed5d7b6639e626ec772f34a628f4e42074ee287177be0c1e9e1e206afba
MD5 2af44a710ea20025078a63a4dcdf8e92
BLAKE2b-256 8c60aea1a7d353acf23c8d6f2b63ed51c2da148ed26ff14a22eb50547156e29a

See more details on using hashes here.

File details

Details for the file scaler_dev-2.3.6-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scaler_dev-2.3.6-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 35f4939d79653d507e6cef30bd60006c4ec0cd86d7555fe50eeeaa3e303e263d
MD5 50c47e55fed1bc9769f978578b1d8bb0
BLAKE2b-256 b25dbc93974817f81ec5580c257cfc1a7db72b9b022d620c0d1f83b1e96c94b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page