Skip to content

Server, client may potentially consumes, produces 1 million requests per minute respectively (depends on your machine)

Notifications You must be signed in to change notification settings

volodimyr/1million

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1million

Server, client may potentially consumes, produces 1 million requests per minute respectively (depends on your machine) *keep in mind requests will be uniformly send within a minute

Discussions on reddit

https://www.reddit.com/r/golang/comments/8torkz/1million_requests/

Run tests within each directory (server/, client/)

  • Unit tests -go test -v
  • Benchmark tests -go test -bench=.

How to build?

  • Server
    • go build -o server *.go
  • Client
    • go build -o client *.go

How to run?

  • time ./server
  • time ./client -ReqPMin 600 (600 requests within a minute)

The benchmarks results

Running on AMD A8-5557M Quad Core with turbo core technology up to 3.1 GHz

Creating new workers benchmark test results:

Image of New_workers benchmark tests

Adding workers benchmark test results:

Image of New_workers benchmark tests

Shutdown workers benchmark test results:

Image of New_workers benchmark tests

About

Server, client may potentially consumes, produces 1 million requests per minute respectively (depends on your machine)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages