vibe.d benchmarks

yawniek via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 31 04:26:12 PST 2015


On Thursday, 31 December 2015 at 12:09:30 UTC, Etienne Cimon 
wrote:
> On Thursday, 31 December 2015 at 08:51:31 UTC, yawniek wrote:
>> the libasync problem seem seems to be because of TCP_NODELAY 
>> not being deactivated for local connection.
>
> That would be the other way around. TCP_NODELAY is not enabled 
> in the local connection, which makes a ~20-30ms difference per 
> request on keep-alive connections and is the bottleneck in this 
> case. Enabling it makes the library competitive in these 
> benchmarks.

obvious typo and thanks for investigating etienne.

@daniel: i made similar results over the network.
i want to redo them with a more optimized setup though. my wrk 
server was too weak.

the local results are still relevant as its a common setup to 
have nginx distribute to a few vibe instances locally.


More information about the Digitalmars-d mailing list