-
Notifications
You must be signed in to change notification settings - Fork 63
Example Offer demand
Przemysław Rekucki edited this page Jun 8, 2020
·
2 revisions
# Supported Payment model "payu" = *Pay* as you *U*se
golem.com.scheme=payu
# Declaration how often the provider will send a debit notes.
golem.com.scheme.payu.interval_sec=6
# price = 0 + 0.01 * <exe unit duration in secs> + <exe unit cpu usage in cpu secs> * 0.01
golem.com.pricing.model"=linear
golem.com.pricing.model.linear.coeffs=[0, 0.01, 0.01 ]
golem.com.usage.vector=[ "golem.usage.duration_sec", "golem.usage.cpu_sec" ]
# offered memory is 1GB
"golem.inf.mem.gib": 1,
# storage for image + input files + output files is 10GB.
"golem.inf.storage.gib": 10,
# offered runtime is wasmtime version 0.0.0
"golem.runtime.name": "wasmtime",
"golem.runtime.version": "0.0.0"
# optional provider node name
"golem.node.id.name": "smok1",
Only demands with declared expiration time are accepted.
(golem.srv.comp.expiration>0)
"golem.node.id.name": "test1",
"golem.srv.comp.expiration": 1591620932723,
"golem.srv.comp.wasm.task_package": "hash:sha3:44aba2d41021fac2a3b7af8a3ccfc0a3d4a435f9187ea7d5c162035b:http://34.244.4.185:8000/app-44aba2d4.yimg"
(&
(golem.inf.mem.gib>0.5)
(golem.inf.storage.gib>1)
(golem.com.pricing.model=linear)
(golem.runtime.name=wasmtime)
)