Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Running Haproxy over openvpn

StellaEVStellaEV Member
edited October 2014 in Help

I am currently using vultr as a haproxy host, with three other VPSes as backends. Haproxy connects to the VPSes via a openvpn tunnel with almost 0 latency

11 packets transmitted, 11 received, 0% packet loss, time 10000ms

rtt min/avg/max/mdev = 0.816/1.342/4.749/1.130 ms

However, using ab to test site response time (This is just a static html page), the response times while going over openvpn are much much greater than connecting without openvpn?

Why is this happening?

---Without Openvpn---

Server Software: cloudflare-nginx

Server Hostname: [redacted]

Server Port: 80

Document Path: /

Document Length: 1156 bytes

Concurrency Level: 200

Time taken for tests: 0.430 seconds

Complete requests: 2000

Failed requests: 0

Total transferred: 3020000 bytes

HTML transferred: 2312000 bytes

Requests per second: 4653.99 [#/sec] (mean)

Time per request: 42.974 [ms] (mean)

Time per request: 0.215 [ms] (mean, across all concurrent requests)

Transfer rate: 6862.81 [Kbytes/sec] received

Connection Times (ms)

min mean[+/-sd] median max

Connect: 1 4 7.0 2 52

Processing: 9 34 13.1 33 156

Waiting: 8 33 13.0 33 156

Total: 13 38 17.0 35 197

Percentage of the requests served within a certain time (ms)

50% 35

66% 38

75% 40

80% 42

90% 51

95% 62

98% 110

99% 117

100% 197 (longest request)

---With OpenVPN---

Server Software: cloudflare-nginx

Server Hostname: [redacted]

Server Port: 80

Document Path: /

Document Length: 1156 bytes

Concurrency Level: 200

Time taken for tests: 2.707 seconds

Complete requests: 2000

Failed requests: 0

Total transferred: 3020000 bytes

HTML transferred: 2312000 bytes

Requests per second: 738.88 [#/sec] (mean)

Time per request: 270.682 [ms] (mean)

Time per request: 1.353 [ms] (mean, across all concurrent requests)

Transfer rate: 1089.55 [Kbytes/sec] received

Connection Times (ms)

min mean[+/-sd] median max

Connect: 1 3 6.5 1 46

Processing: 27 185 193.8 141 1373

Waiting: 27 185 193.8 141 1373

Total: 31 188 194.1 144 1374

Percentage of the requests served within a certain time (ms)

50% 144

66% 173

75% 200

80% 231

90% 374

95% 521

98% 1010

99% 1104

100% 1374 (longest request)

Sign In or Register to comment.