General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Jesper Louis Andersen <jesper.louis.andersen@gmail.com>
To: bloat <bloat@lists.bufferbloat.net>
Subject: [Bloat] What is the best current pseudo-code of the CODEL algorithm.
Date: Sun, 16 Dec 2012 20:42:16 +0100	[thread overview]
Message-ID: <CAGrdgiXu_K-pL1rVViPUd9uN8J2cjB=jKa672iCXX-c4GR4drw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]

I am building a load-constraint system, for Erlang, called safetyvalve[1].
Because this system has a concept of a queue I was wondering on applying
some AQM to this queue and CODEL looks like an interesting one to ponder
about. Especially because the algorithm is wonderfully simple. But is the
appendix in the ACM queue article[2] the newest one or does it need some
fixes to work correctly?

Do note that I am aware that CODEL might not fit perfectly without
modifications. But I am still interested in how it works because the
algorithm looks like a very simple way of controlling a given target
latency in a queue. The point with safetyvalve is to be able to define that
a given web server can take, say, 80K connections simultaneously and then
queue excess requests up to a point where a user waits more than 3-4
seconds and then send back an HTTP 503 (Overloaded) if this is the case.

Thanks in advance,

[1] https://github.com/jlouis/safetyvalve
[2] http://queue.acm.org/appendices/codel.html

-- 
J.

[-- Attachment #2: Type: text/html, Size: 1255 bytes --]

                 reply	other threads:[~2012-12-16 19:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGrdgiXu_K-pL1rVViPUd9uN8J2cjB=jKa672iCXX-c4GR4drw@mail.gmail.com' \
    --to=jesper.louis.andersen@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox