Discover Packages
github.com/mrk21/sandbox/go_jobworker
module
Version:
v0.0.0-...-c201e3e
Opens a new window with list of versions in this module.
Published: Jul 16, 2024
License: MIT
Opens a new window with license information.
README
README
¶
Go jobworker
Dependencies
Go: 1.14.x
Docker: >= 18.06
docker-compose: >= 1.25.0
Setup
#------------------------------------------------------------------------------
# 1. Install `docker`, `docker-compose`
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# 2. Setup
#------------------------------------------------------------------------------
docker-compose up
Usage
# Enqueue jobs
docker-compose exec worker go run cmd/client/main.go
# Open dashboard
open http://localhost:5000
# Show framegraph
docker-compose exec worker go-torch -u http://127.0.0.1:6060 -p > torch.svg
open torch.svg
Expand ▾
Collapse ▴
Click to show internal directories.
Click to hide internal directories.