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,…
81
14
198
164
127พัน
1
5
32
3
9พัน
United States เทรนด์
- 1. Miami 107K posts
- 2. Tulane 14K posts
- 3. Marcel Reed 6,443 posts
- 4. Ole Miss 11.1K posts
- 5. Shipley N/A
- 6. Michael Irvin 5,160 posts
- 7. Notre Dame 33.1K posts
- 8. Aggies 6,962 posts
- 9. Fletcher 10.2K posts
- 10. Toney 8,498 posts
- 11. #CFPplayoff N/A
- 12. Carson Beck 4,027 posts
- 13. Go Birds 7,566 posts
- 14. Everton 53.2K posts
- 15. Clinton 491K posts
- 16. Odegaard 8,354 posts
- 17. The U 480K posts
- 18. Elko 2,081 posts
- 19. Austin Simmons N/A
- 20. #EVEARS 7,993 posts
Loading...
Something went wrong.
Something went wrong.