AltraMayor / AltraMayor/gatekeeper

Enable policies to load balance flows

Aperta
#297 2 commenti 0 reazioni 1 assegnatario Rivendicata da @mengxiang0811 Vedi su GitHub
enhancement Operational demand
Lingua principale
C
Stelle
1.6k
Fork
252
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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/).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.