P2PI Routing

This section describes, in general, how we can configure one Platform instance to send messages to another Platform instance, a process called P2PI. At its heart, P2PI consists of an origin Platform and a destination Platform. Messages in queues from the origin side are routed to queues on the destination side; the submission is done over HTTP(s). Each Platform instance has its own Message Store, which means the entire payload of the message is streamed (with gzip compression) over HTTP(s).

images/download/attachments/144836017/p2pi_push-version-1-modificationdate-1645136402000-api-v2.png

As depicted above, this is a push-based model. The sending instance creates messages in its outbox. These messages are then asynchronously pushed to the other instance by a Router task performer.