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
13
192
157
118천
1
5
31
3
9천
United States 트렌드
- 1. Rams 75.4K posts
- 2. Sam Darnold 19.5K posts
- 3. Puka 50.6K posts
- 4. #heatedrivalry 54.3K posts
- 5. ilya 56.7K posts
- 6. Stafford 20.8K posts
- 7. Al Michaels 2,698 posts
- 8. svetlana 4,551 posts
- 9. #TNFonPrime 6,129 posts
- 10. SCOTT HUNTER 4,728 posts
- 11. McVay 7,575 posts
- 12. Rose 168K posts
- 13. connor storrie 14.1K posts
- 14. Ben Shapiro 40.5K posts
- 15. jacob tierney 3,458 posts
- 16. Niners 2,713 posts
- 17. Blazers 2,551 posts
- 18. Portuguese 27.7K posts
- 19. #PowerForce N/A
- 20. #LARvsSEA 3,033 posts
Loading...
Something went wrong.
Something went wrong.