Welcome! Log In Create A New Profile

Advanced

nginx + DSCP (Differentied services)

Dani Bento
December 16, 2014 09:24AM
Hello,

We are using nginx-1.6 in a production environment for caching data
from multiple remote origins.

To improve our data distribution over the network we thought that using
IP DiffServ/ToS to traffic shape by backend would be useful.

We developed a small patch for the nginx core to mark packets. Because
the nginx workers don't seem to have CAP_NET_ADMIN privileges we are
using the TOS field instead of socket marks. This patch only marks
client packets and not upstream/backend packets.

Besides that, we added an X-Accel-ClassID header so that the
upstream/backend itself can choose the class id to use.

Do you find this an interesting feature to add to the nginx core? How
can we proceed and submit a patch?

Thanks,
Dani


--
Dani Bento
Direção de Internet e Tecnologia
DTS/DVS
tlm: +351 91 429 72 81
dani@telecom.pt

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx + DSCP (Differentied services)

Dani Bento 1856 December 16, 2014 09:24AM

Re: nginx + DSCP (Differentied services)

Maxim Dounin 641 December 16, 2014 10:48AM

Re: nginx + DSCP (Differentied services)

Dani Bento 1930 December 16, 2014 12:26PM

Re: nginx + DSCP (Differentied services)

Maxim Dounin 525 December 16, 2014 01:50PM

Re: nginx + DSCP (Differentied services)

Dani Bento 668 December 17, 2014 06:28AM

Re: nginx + DSCP (Differentied services)

Dani Bento 671 February 04, 2015 10:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready