kud1ing / grd

A simple computational grid server in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grd

A simple computational grid server, using tonic (gRPC and Protocol Buffers 3).

While the server is written in Rust, clients and workers can be implemented in any language:

  • bring your own serialization format: the job data and result data are exchanged as raw bytes
  • a Python client and worker is provided (using PyO3)

Compilation dependencies

See tonic's dependencies

Backlog

  • Grid Manager: Stop worker does not work on Windows
  • app_grid_manager: extend the status with the available service libraries (LIBRARIES_PATH) with creation/modification date
  • add tracing to the server: add a member with timestamps of the job per job_id
  • Grid Config: make it possible to stop all grid servers
  • Grid Config: make it possible to stop all grid workers
  • Service Client: use a Thread Pool https://docs.rs/rayon/1.8.0/rayon/struct.ThreadPool.html
  • make it possible to remove libraries:
    • grid_manager_interface.proto
    • app_grid_manager
    • app_grid_configr
      • client
  • Worker: Windows: signal kill from Grid Manager is not handled. Ctrl-C is, though.
  • Worker: call a service library function to free the result memory
  • Manager: Mac: vanished processes still show up in status
  • client_cpp: create a sync C++ client
  • expose an async Python Client
  • client_cpp: create an async C++ client
  • Release building:
    • is currently not triggered by pushing a tag
    • release.yml: ${{ env.GRD_VERSION }} and ${{ env.RUNNER_OS }} are empty and thus currently hardcoded

About

A simple computational grid server in Rust

License:Apache License 2.0


Languages

Language:Rust 99.4%Language:Batchfile 0.4%Language:Shell 0.2%