Simple web server benchmark - vibe.d is slower than node.js and Go?
ade90036
andrea.rizzini at gmail.com
Mon Oct 30 16:41:51 UTC 2017
On Thursday, 21 September 2017 at 13:09:33 UTC, Daniel Kozak
wrote:
> wrong version, this is my letest version:
> https://paste.ofcode.org/qWsQikdhKiAywgBpKwANFR
>
> On Thu, Sep 21, 2017 at 3:01 PM, Daniel Kozak
> <kozzi11 at gmail.com> wrote:
>
>> my version: https://paste.ofcode.org/RLX7GM6SHh3DjBBHd7wshj
>>
>> On Thu, Sep 21, 2017 at 2:50 PM, Sönke Ludwig via
>> Digitalmars-d < digitalmars-d at puremagic.com> wrote:
>>
>>> Am 21.09.2017 um 14:41 schrieb Vadim Lopatin:
>>>
>>>>[...]
>>> Oh, sorry, I forgot the reusePort option, so that multiple
>>> sockets can listen on the same port:
>>>
>>> auto settings = new HTTPServerSettings("0.0.0.0:3000");
>>> settings.options |= HTTPServerOption.reusePort;
>>> listenHTTP(settings, &handleRequest);
Hi, would it be possible to re-share the example of vibe.d woth
multithreaded support.
The pastebin link has expired and the pull request doesnt have
the latest version.
Thanks
Ade
More information about the Digitalmars-d
mailing list