Skip to content

duyanghao/GWorkerPool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GWorkerPool

Golang producer-consumer solution.

Principle

GWorkerPool is a producer-consumer solution, and the architecture of GWorkerPool is illustrated as follows:

Run

bash start.sh

Usage

# ./GWorkerPool/cmd/GWorkerPool --help
Usage of ./GWorkerPool/cmd/GWorkerPool:
  -alsologtostderr
        log to standard error as well as files
  -config string
        The configuration filepath for server.
  -log_backtrace_at value
        when logging hits line file:N, emit a stack trace
  -log_dir string
        If non-empty, write log files in this directory
  -logtostderr
        log to standard error instead of files
  -stderrthreshold value
        logs at or above this threshold go to stderr
  -v value
        log level for V logs
  -vmodule value
        comma-separated list of pattern=N settings for file-filtered logging

Image

make dockerfiles.build

Refs

About

Golang producer-consumer solution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published