Skip to content

JohnGeorge47/worker_pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First thing is that it only supports a post Request with the following params

{
    "val":"any_string"
}

{
    resize:n
}
here n should be an integer

About the implementation there are 3 versions
1.In master is a simple pool which uses sync waitgroup and a very simple worker.

2.In v2 branch is a simple dispatcher model There is a small bug here on closing channels ;(

3.In v3 branch is another implementation of the same pool but with a little more elegant solution.

About

Trying out a resizable worker pool in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages