[Haskell-cafe] Can a GC delay TCP connection formation?
es at ertes.de
Tue Nov 27 07:14:16 CET 2012
Jeff Shaw <shawjef3 at gmail.com> wrote:
> I've run into an issue that makes me think that when the GHC GC runs
> while a Snap or Warp HTTP server is serving connections, the GC
> prevents or delays TCP connections from forming. My application
> requires that TCP connections form within a few tens of milliseconds.
> I'm wondering if anyone else has run into this issue, and if there are
> some GC flags that could help. I've tried a few, such as -H and -c,
> and haven't found anything to help. I'm using GHC 7.4.1.
When you compile with -threaded and run on multiple threads, then the
runtime uses parallel GC. Did you try that?
Not to be or to be and (not to be or to be and (not to be or to be and
(not to be or to be and ... that is the list monad.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Haskell-Cafe