Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
6f14d2ed
Commit
6f14d2ed
authored
Jul 06, 2020
by
Nils Goroll
Committed by
Reza Naghibi
Aug 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shard director: explain how the ring is constructed with weights
Conflicts: lib/libvmod_directors/vmod.vcc
parent
14fad5a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vmod.vcc
lib/libvmod_directors/vmod.vcc
+3
-1
No files found.
lib/libvmod_directors/vmod.vcc
View file @
6f14d2ed
...
@@ -307,7 +307,9 @@ structure gets built from the last 32 bits of SHA256 hash values of
...
@@ -307,7 +307,9 @@ structure gets built from the last 32 bits of SHA256 hash values of
`<ident>`\ `<n>` (default `ident` being the backend name) for each
`<ident>`\ `<n>` (default `ident` being the backend name) for each
backend and for a running number `n` from 1 to `replicas`. Hashing
backend and for a running number `n` from 1 to `replicas`. Hashing
creates the seemingly random order for placement of backends on the
creates the seemingly random order for placement of backends on the
consistent hashing ring.
consistent hashing ring. When ``.add_backend()`` is called with a
weight argument, replicas is scaled by that weight to add
proportionally more copies of the that backend on the ring.
When ``.backend()`` is called, a load balancing key gets generated
When ``.backend()`` is called, a load balancing key gets generated
unless provided. The smallest hash value in the circle is looked up
unless provided. The smallest hash value in the circle is looked up
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment