Hi Gustavo,
We are running our go server on multiple small systems. Each system has only 512 MB RAM. When we are testing our server using abtesting, and we bombard our requests: go server runs out of memory.
- So I’m checking how to reduce the number of variables we use. (In this URL, we get around 2000 documents in one request and when we bombard with 5 clients, we see the issue)
- The second one is how to limit the go routines safely from being spawned.. I’m still searching for the correct way to limit it. I’m using goji framework. Any help on that would be great!
I know that these variables should be trivial, hence I used them.. now with limited memory, I m trying to profile my code. Meanwhile, any profiling links would also be very helpful!
Thanks..
Sundar.