AltraMayor / AltraMayor/gatekeeper

Enable policies to load balance flows

Offen
#297 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @mengxiang0811 Auf GitHub ansehen
enhancement Operational demand
Vorherrschende Sprache
C
Sterne
1.6k
Forks
252
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Enabling policies to load balance flows markedly increases the value of Gatekeeper deployments since Gatekeeper servers act as load balancers with DDoS protection and discard the need for dedicated load balancers inside of the protected networks. In fact, Gatekeeper works as a better load balancer since the balancing is geographically distributed at Gatekeeper servers while the description of how to balance is centralized at Grantor servers, that is, Gatekeeper becomes a scalable, geographically-distributed, DDoS-protected, centrally-administrated load balancer.

This issue depends on the merge of pull request #295 since the new `GK_BPF` flow state enables policies to associate BPF programs to flows.

In order for policies to have a flexible infrastructure to implement the load balancing mechanism, the following items will likely be needed:
* Having a way to create BPF programs on-the-fly inside of the Lua policy. The library BCC may help with this since it can [translate a Lua function into BPF code](https://github.com/iovisor/bcc/tree/master/src/lua#luajit-bpf-compiler).
* Having a way to send new programs from Grantor servers to Gatekeeper servers. Since programs would be created on-the-fly, Gatekeeper servers cannot pre-load them. Besides the BPF program store that one needs to build on Gatekeeper servers, one challenge will be to support a transport protocol to send the programs. A candidate for this transport protocol is QUIC, which is available in [the QUICHE library](https://quiche.googlesource.com/quiche/).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.