Skip to content

Latest commit

 

History

History
75 lines (57 loc) · 2.66 KB

MESSAGING.md

File metadata and controls

75 lines (57 loc) · 2.66 KB

Messaging-Driven Architecture

Messaging Patterns

  • Request/Reply - (RPC, HTTP on Docker Swarm Mode)
  • Publish/Subscribe

Publish/Subscribe

Publish/Subscribe Mode

  • pub/sub with no ack (acknowledgement) - tolerate message loss (e.g. NATS)
  • pub/sub with ack - at-least-once delivery (e.g. NATS Streaming, NSQ)

Messaging Patterns (based on BitMechanic)

  • Task Queue (NSQ)
  • Delayed Jobs (NSQ consumers)
  • Fanout (Publish/subscribe)
  • Message Groups (Groupcast)
  • RPC (Docker Swarm mode)

Message Transport

NSQ and Clients

PubSub

Others