Open equivalent opened 8 years ago
Unfortunatelly I cannot figure out why the memory is leaking. To be honest I know weary little about GoLang and this project was just a project to learn little bit about it. Currently I've abandon by goal to learn GoLang and I'm focusing on Elixir, As soon as I return back to GoLang I'll debug this problem.
...or if someone submits a Pull Request that would be great :)
In meantime (as this functionality is needed in my company) I've refactored it with Ruby lang to a new project https://github.com/Pobble/request_repeater
as I know Ruby really well I can guarantee request_repeater Docker / Gem App is pretty stable and without memory leaks. It may not be able to do several thousands of requests per second per second like LittleBastard GoLang version but it's main aim is for stable flow of requests over time.
Given running stack on AWS Elastic Beanstalk When I allocate this image memory 200MB And I keep the image running for several hours / several days Then the Docker container dies
oom
(out of memmory)