Skip to content

stanleykaris/workerpool-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

A Golang WorkerPool for distributed tasks

Overview

Go's implementation of web server already uses go routines to run handlers. However, it is not possible to run multiple handlers simultaneously. The WorkerPool is a simple implementation of a worker pool that can be used to run multiple handlers in parallel.

This is a simple Project which provides a way for the web server to provide instant response but process the heavy work in parallel in the background.

Getting Started

  1. Clone the repository
git clone https://github.com/trapper99/workerpool-webserver.git
cd workerpool-webserver
  1. Run the server
go run ./server/main.go
  1. Run the client to test it
go run ./client/main.go

The server will print out the status of the server and the client will print out the status of the client.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages