Files
swift-nio/docker/docker-compose.1604.51.yaml
T
Johannes Weiss 7f20464df3 enable TCP_NODELAY by default (#1020)
Motivation:

Networking software like SwiftNIO that always has explicit flushes
usually does not benefit from having TCP_NODELAY switched off. The
benefits of having it turned on are usually quite substantial and yet we
forced our users for the longest time to enable it manually.

Quite a bit of engineering time has been lost finding performance
problems and it turns out switching TCP_NODELAY on solves them
magically.

Netty has made the switch to TCP_NODELAY on by default, SwiftNIO should
follow.

Modifications:

Enable TCP_NODELAY by default.

Result:

If the user forgot to enable TCP_NODELAY, their software should now be
faster.
2019-06-19 18:04:01 +01:00

44 lines
1.1 KiB
YAML

version: "3"
services:
runtime-setup:
image: swift-nio:16.04-5.1
build:
args:
ubuntu_version: "16.04"
swift_version: "5.1"
swift_flavour: "DEVELOPMENT-SNAPSHOT-2019-06-17-a"
swift_builds_suffix: "branch"
skip_ruby_from_ppa: "true"
unit-tests:
image: swift-nio:16.04-5.1
integration-tests:
image: swift-nio:16.04-5.1
test:
image: swift-nio:16.04-5.1
environment:
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30600
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=592100
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4600
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2100
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=99100
- MAX_ALLOCS_ALLOWED_creating_10000_headers=10100
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=20150
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=50
performance-test:
image: swift-nio:16.04-5.1
shell:
image: swift-nio:16.04-5.1
echo:
image: swift-nio:16.04-5.1
http:
image: swift-nio:16.04-5.1