Open wiredsister opened 3 years ago
Drive-by suggestion: caqti is a lot more popular than pgx for accessing Postgres (compare https://opam.ocaml.org/packages/caqti/ and https://opam.ocaml.org/packages/pgx/), I'd also shill my library for making queries nicer to write with it (https://opam.ocaml.org/packages/ppx_rapper/).
I am completely malleable, but I'm also looking for volunteers ☺️
Definition of feature:
OCaml will block on read on incoming queue (named
organ-intake-request-01
) in Redis and will process requests via Matcher on CLI and then respond by writing to queue (namedorgan-tracking-cache-01
) in Redis byorgan-tracking-id
which is a UUID.Another scheduled program reads from
organ-tracking-cache-01
and writes to Postgres by row-key UUID that is theorgan-tracking-id
... but no idea at this point what the naming for the Postgres table needs to be or the document name to insert.