go_jobworker

module
v0.0.0-...-c201e3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: MIT

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

Directories

Path Synopsis
cmd
api
pkg
api
job

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL