Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 946 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 946 Bytes

worker 🍱

CI Go Report Card License: MIT

Run jobs using containerized functions. The worker keeps a pool of warm containers to reduce overhead, so new job are executed as they arrive.

Code execution is handled by the agent.

Get started

Build

go build -v

Run

Start worker with:

./worker [-listen ":8090"] [-image "hello-python"] [-min-size 10]

Usage

curl -X POST -H "Content-Type: application/json" \
  -d '{"ID": "1", "Payload": "hello world"}' \
  http://0.0.0.0:8090/run