Architecture mode: Polling publisher

Architecture mode: Polling publisher

Context

You have adopted the transaction Outbox mode

problem

How the message / event posted to the database in the outbox to send a message to the agent?
 

Points

in conclusion

To publish messages outbox polling table database.

 

Resulting Context

This model has the following benefits:

  • It applies to any SQL database

This model has the following disadvantages:

  • Press release does not guarantee the sequence of events
  • Not all NoSQL databases support this mode

Relevance Model

  • Transaction Outbox mode creates a demand for this mode of
  • The transaction log tracking mode is another solution

 

 

Guess you like

Origin www.cnblogs.com/paxlyf/p/11293742.html