Skip to content

Commit

Permalink
peers: add design
Browse files Browse the repository at this point in the history
  • Loading branch information
fionera committed Sep 28, 2024
1 parent 81b56be commit ea656ec
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions peers/DESIGN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# HAProxy Peers Design
## Connection
By default, the peers package only opens listeners and waits for HAProxy to connect to it.

## Sticktables
A user can create a sticktable definition which can be used to send to a HAProxy peer. Additionally a user can use a
sent definition to send updates for that specific sticktable. For this, the table has to be registered in a table
registry to allow proper referencing.

## Handler
A handler is the interface to implement when wanting to react to sticktable updates. A user created handler can implement
specific sub interfaces to also react to handshakes.

0 comments on commit ea656ec

Please sign in to comment.