From: Justin Wind Date: Mon, 14 Mar 2022 01:43:10 +0000 (-0700) Subject: add ERD to readme X-Git-Tag: v1.3.6^2~1 X-Git-Url: http://git.squeep.com/?p=websub-hub;a=commitdiff_plain;h=fa43eebc41a180679085e36b299728c8172f88e5 add ERD to readme --- diff --git a/README.md b/README.md index 138e458..5af15f0 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,8 @@ The Hub keeps track of three primary entities: Any tasks in progress (notably: fetching new topic content, distributing that content to subscribers, or confirming pending verifications) are doled out and managed by a cooperative advisory locking mechanism. The task queue is wrangled in the database within the `*_in_progress` tables. +![Entity relationship diagram for Postgres engine](./documentation/media/postgres-er.svg) + A Hub node will periodically check for more tasks to perform, executing them up to a set concurrency limit. ### Quirks