Skip to content

The GC Knobs client allows you to make bulk requests to GC Knobs

License

Notifications You must be signed in to change notification settings

MikeMitchellWebDev/gc_knobs_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is it

The GC Knobs client allows you to make bulk requests to GC Knobs

How to use

clone and start https://github.com/MikeMitchellWebDev/gc_knobs.git

clone and run gc_knobs_client like this

./gc_knobs_client -g 200 -s 1 -r 10 -p "/Users/mm/rails"

This commmand will read a locally cloned copy of ruby on rails into memory 2000 times (spawning 200 go routines, each making the request 10 times with a sleep of 1 second between each request)

-g is the number of goroutines -s is the sleep duration between requests -r is the number of repeats -p is the path to the locally cloned repository

You don't need the gc_knobs_client to use gc_knobs. You can also use gc_knobs with curl

curl -H 'Content-Type: application/json' -d '{"path":"/path/to/rails", "repeat":"50", "sleep":"2"}' -X POST http://localhost:8000/git_repo

You may want to use gc_knobs_client to create a steady state and then do individual curl requests to create transitory heap speaks of varying sizes.

About

The GC Knobs client allows you to make bulk requests to GC Knobs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages