final int NUMBER_OF_ITERATIONS = 100000;
final byte[] payload = new byte[(int) payloadSize.bytes()];
final AtomicLong idGenerator = new AtomicLong();
final BenchmarkTransportResponseHandler responseHandler = new BenchmarkTransportResponseHandler();
Settings settings = ImmutableSettings.settingsBuilder()
<BUG>.put("network.server", false)
.build();</BUG>
final ThreadPool threadPool = new CachedThreadPool(settings);
final TimerService timerService = new TimerService(settings, threadPool);
final TransportService transportService = new TransportService(new NettyTransport(settings, threadPool), threadPool, timerService).start();

final int NUMBER_OF_ITERATIONS = 100000;
final byte[] payload = new byte[(int) payloadSize.bytes()];
final AtomicLong idGenerator = new AtomicLong();
final BenchmarkTransportResponseHandler responseHandler = new BenchmarkTransportResponseHandler();
Settings settings = ImmutableSettings.settingsBuilder()
.put("network.server", false)
.put("network.tcp.blocking", false)
.build();
final ThreadPool threadPool = new CachedThreadPool(settings);
final TimerService timerService = new TimerService(settings, threadPool);
final TransportService transportService = new TransportService(new NettyTransport(settings, threadPool), threadPool, timerService).start();
