vibe.d 0.7.14 and DUB 0.9.12 released

Sönke Ludwig sludwig at outerproduct.org
Fri Mar 22 08:24:39 PDT 2013


Am 22.03.2013 15:51, schrieb Dicebot:
> On Friday, 22 March 2013 at 14:21:47 UTC, simendsjo wrote:
>> On Friday, 22 March 2013 at 13:57:52 UTC, Graham Fawcett wrote:
>>> On Friday, 22 March 2013 at 08:46:23 UTC, Sönke Ludwig wrote:
>>>> Apart from some fixes vibe.d received some performance tuning and
>>>> multi-threaded request processing (thanks to Dicebot for digging up
>>>> some
>>>> documents of how Nginx does this).
>>>
>>> Awesome! I had hoped you would add multi-threaded processing. I'm
>>> looking forward to playing with this.
>>
>> How does it work? I added this to HttpServerSettings:
>> options |= HttpServerOption.distribute
>>
>> But it doesn't seem to use more threads.
> 
> Combining that with
> http://vibed.org/api/vibe.core.core/enableWorkerThreads seems to do the
> trick for me (according to top output), but don't know if it is the
> supposed way.

Yes that's the correct way. To get full performance,
-version=VibeManualMemoryManagement is also needed, as every small bit
of GC usage has a big impact on performance (and due to the
stop-the-world nature it also has an even higher impact on
multi-threaded performance).


More information about the Digitalmars-d-announce mailing list