Server tools to backfill, tail, mirror, and verify PLC logs

Proxy: add read-only mode for other PLC mirror implementations #3

open
opened by microcosm.blue

Right now Allegedly can wrap and reverse-proxy to a reference-PLC instance, optionally forwarding writes to the upstream external PLC server. In this mode, it handles PLC tasks for the local reference-PLC instance, writing operations directly to its database.

There are a few other PLC mirror implementations out there which do their own mirroring, but might not support all Allegedly features.

We should add another PLC-wrapping mode which behaves mostly like a reverse-proxy (terminating TLS and forwarding reads to a wrapped PLC mirror), but supports other Allegedly features like forwarding writes to the mirror's upstream PLC.

So for example, you could run Parakeet's PLC mirror behind Allegedly instead of nginx or caddy, and get PLC-specific features for free. Or you could wrap another reference PLC instance with a read-replica database connection.

sign up or login to add to the discussion
Labels
proxy
good-first-issue
Participants 1
AT URI
at://did:plc:lulmyldiq4sb2ikags5sfb25/sh.tangled.repo.issue/3m2cfin72lt22