File: NOTES.selection

package info (click to toggle)
proftpd-mod-proxy 0.9.2-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,972 kB
  • sloc: perl: 43,469; ansic: 43,171; sh: 3,479; makefile: 247
file content (25 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Balancing vs Stickiness

  Balancing:
    random
    shuffle
    roundRobin
    leastConns

  Sticky:
    per USER
    per HOST

Work on implementing just the balancing strategies, for now.

Note: The state files used for the balancing strategies, especially once
health checks are added, could be externally cached/managed, e.g. via
memcache/redis, using JSON.

  Issues there: if each mod_proxy is doing its own health checks of the
  servers, it's possible for individual mod_proxy instances to disagree
  about the health of a given backend (think split-brain syndrome).

  When each mod_proxy instance is managing its own view, this is OK;
  when they all share that persisted view, it could be a problem.