]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DOC: add a diagram to explain how circular buffers work
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Feb 2012 18:31:50 +0000 (19:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 Apr 2012 09:57:00 +0000 (11:57 +0200)
commit1122d9c03c7c3e6be24d8465bb5d6c033b4ab9c1
tree10ebf89994d5f1701bc6b68d8710df3b03ecc0d5
parenta36fc4d7eda84f7c6fd17b05eaee61c51d35e360
DOC: add a diagram to explain how circular buffers work

Also add some thoughts about the existing and new design.

Note: an earlier design used the names "head" and "tail" for both sides
of the buffer, but it appears awkward as these words may be understood
in two forms (feed by head, output by tail, or make the newcomers wait
at the tail of the queue). Also there were already a few functions in the
code making use of either terminology. So better avoid this terminology
and use "input" and "output" instead.
doc/design-thoughts/buffer-redesign.txt [new file with mode: 0644]
doc/internals/buffer-operations.txt [new file with mode: 0644]
doc/internals/buffer-ops.fig [new file with mode: 0644]