| This will use postgres NOTIFY/LISTEN for pubsub. The admin server will publish an event on a specific channel whenever any resources are changed. The graphql server (all instances of it that are running e.g. if horizontally scaled) will subscribe to the same channel and reload the schema/resolvers whenever the config for them was changed in the admin ui. See architecture for an overview of the components at play for this https://docs.google.com/drawings/d/1OmMY1bbI8HDhlZ_cIirv7FYTEqRRV-Hh-g0ANtYEgBY/edit |