You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a search flight call in createBooking function the flight booking service is not using any kind of transaction so it might fail, we can use transactions with serilizability to reduce concurrency conflict in search flight service, there might be issue when after receiving the current seats there might be another booking call to the flight search service and it might send old data so to prevent that you need to lock the search service or decrement it's count of the seats while the flight is search untill the filght is totally booked
The text was updated successfully, but these errors were encountered:
Hello,
When making a search flight call in createBooking function the flight booking service is not using any kind of transaction so it might fail, we can use transactions with serilizability to reduce concurrency conflict in search flight service, there might be issue when after receiving the current seats there might be another booking call to the flight search service and it might send old data so to prevent that you need to lock the search service or decrement it's count of the seats while the flight is search untill the filght is totally booked
The text was updated successfully, but these errors were encountered: