MyGit

golemcloud/golem

Fork: 60 Star: 532 (更新于 2024-11-28 05:09:09)

license: Apache-2.0

Language: Rust .

Golem is an open source durable computing platform that makes it easy to build and deploy highly reliable distributed systems.

最后发布版本: v1.0.21 ( 2024-10-11 16:17:59)

官方网址 GitHub网址

Golem

Golem Logo

This repository contains Golem - a set of services enable you to run WebAssembly components in a distributed cloud environment.

See Golem Cloud for more information.

Getting Started

It is possible to start using Golem locally by using our published Docker containers. Please refer to the document link below on how to get golem OSS running using docker. https://learn.golem.cloud/docs/quickstart#setting-up-golem

Once you have Golem running locally, you can use golem-cli to interact with Golem services.


cargo install golem-cli

# component is your compiled code written in Rust, C, etc
# https://learn.golem.cloud/docs/building-templates helps you write some code and create a component - as an example
golem-cli component add --compnent-name <component-name> <location-to-component-file> 

# Now we need a worker corresponding from component, that can execute one of the functions in component
# If worker doesn't exist, it is created on the fly whey you invoke a function in component
golem-cli worker invoke-and-await --component-name <component-name> --worker-name <worker-name> --function golem:it/api.{add-item} --parameters '[{"product-id" : "foo", "name" : "foo" , "price" : 10, "quantity" : 1}]'

Internally, it is as simple as golem-cli using golem-client sending requests to Golem Services hosted in Docker container. Therefore, you can see what's going on and troubleshoot things by inspecting docker containers.



+-----------------------+         +-----------------------+
|                       |         |                       |
|  Use golem-cli        |  --->   |  Golem Services       |
|                       |         |  hosted in            |
|  commands             |         |  Docker container     |
|  (Send Requests)      |         |                       |
+-----------------------+         +-----------------------+

Compiling Golem locally

Find details in the contribution guide about how to compile the Golem services locally.

最近版本更新:(数据更新于 2024-10-14 19:15:01)

2024-10-11 16:17:59 v1.0.21

2024-10-11 15:10:55 v1.0.20

2024-10-10 23:57:47 v1.0.19

2024-10-10 22:54:09 v1.0.18

2024-10-08 08:11:05 v1.0.17

2024-09-26 18:02:20 v1.0.16

2024-09-20 17:59:54 v1.0.15

2024-09-20 16:23:49 v1.0.14

2024-09-20 00:09:28 v1.0.13

2024-09-16 23:08:23 v1.0.12

主题(topics):

component-model, distributed-systems, durable-computing, durable-execution, fault-tolerance, high-reliability, serverless, wasi, wasm, wasm-component

golemcloud/golem同语言 Rust最近更新仓库

2024-12-22 10:23:54 rustdesk/rustdesk

2024-12-22 08:48:41 lapce/lapce

2024-12-21 23:25:36 tw93/Pake

2024-12-20 20:44:26 sxyazi/yazi

2024-12-19 19:31:32 dashpay/platform

2024-12-18 10:31:25 DioxusLabs/dioxus