Use job queue or rabbitmq

Imagine your code does this: > Save Post to the Database. >Publish PostCreated event to Kafka. Scenario: The database save succeeds (Step 1), but right before line 2 executes, the server crashes or the network blips. Result: You have a "Ghost Post." It exists in the database,…



You code too ?


🍭 Enjoy Freespins - Sign up and start playing. - Offer available for a limited time only. - Tap to play now. - 18+ | T&Cs apply | Play responsibly


United States เทรนด์
Loading...

Something went wrong.


Something went wrong.