Hacker News new | ask | show | jobs
by socialist_coder 4837 days ago
Thanks a lot for bringing this up. After load testing a whole bunch today I was definitely seeing unexpected memory usage and unbounded growth.

I also ported my app to Nancy and load tested it as well. The performance was about the same and the memory usage grew as well but it seemed to eventually stop growing.

After reading a lot and trying (unsuccessfully) to make fastcgi-mono-server4 use mono-sgen I just gave up and went the console app self hosting route (using Nancy).

With self hosting my memory stays ultra low and doesn't grow. It also sped up the app quite significantly. My previous benchmarks were 10,000 requests served in 35-45 seconds (using fastcgi-mono-server4) and now I'm seeing 16-18 seconds (self hosting).

So yeah, self hosting is the way to go it seems.