Operand

no leg, asea.

gram: page

> ./diagram/psql.d2

Lenses
(coming soon!)


shape: rectangle
*.shape: page

telnet -> ex-reps
telnet -> HAProxy
telnet -> keepalived

playground.link: https://www.youtube.com/playlist?list=PLpm71E6Qw2tCIakNQNQKoxhSOJP3PpNhQ
playground: |md
Make PSQL replication playground.
|

playground -> repmgr
playground -> HAProxy
playground -> keepalived
playground -> caddy-l4

HAProxy.shape: queue
keepalived.shape: queue
caddy-l4.shape: queue
repmgr.shape: queue

HAProxy -> ha-landscape
keepalived -> ha-landscape
caddy-l4 -> ha-landscape
repmgr -> ha-landscape

ha-landscape -> ha-otp
ha-otp -> ex-reps

repmgr.link: https://www.repmgr.org/
HAProxy.link: https://www.haproxy.org/
keepalived.link: https://keepalived.org/
caddy-l4.link: https://caddy.community/t/caddy-as-reverse-proxy-for-postgresql-in-docker/30283/6

ha-landscape: |md
Compare and map:
- HAProxy
- CaddyL4
- RepMGR
- keepalived
|

telnet: |md
Use [go-telnet](https://github.com/reiver/go-telnet) as a spy during a psql connection
|

ha-otp: |md
Compare:
- [repmgr](https://www.repmgr.org/)
- [YugabyteDB](https://www.yugabyte.com/)
- Erlang / Elixir OTP
|

ex-reps.class: aim
ex-reps: |md
  Spike up PostgreSQL replication using Elixir & OTP.
|