facebookarchive / augmented-traffic-control

Augmented Traffic Control: A tool to simulate network conditions
https://facebook.github.io/augmented-traffic-control
Other
4.33k stars 600 forks source link

Fix memory leak by cleaning up the gorilla context, via middleware #333

Closed sheenobu closed 7 years ago

sheenobu commented 7 years ago

Ran some tests. 10k requests, synchronously, dumping memory after each HTTP request via the runtime package. unpretty graph warning of the first 1000 requests. screenshot from 2017-09-02 16-43-06

chantra commented 7 years ago

Thanks