Diagram 1 Architecture webhook vs pub sub you use pub sub when you own both the backends you use webhook when you don't own either any one of the backend IMAGE 2