Ask questions and see you at May, 13th (this time one week later), 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Please keep the questions Java EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.
Dates for (cloudy) winter 2019 airhacks.com are available.
Hello Adam,
One of the typical thing in the distributed systems is network failures.
Case 1.
Stale DB connection in the connection pool or an intermittent network error will fail the DB transaction. The repetition of the DB operation may be successful.
Case 2.
Service to Service communication network failure (e.g. via REST). No DB transaction involved. The repetition of the service call may be successful.
Available solutions.
Drawbacks
1st and 2nd solutions - additional dependency. Not a part of the platform -> no integration with Transaction Manager (Case 1).
3rd solution - part of platform* (not JEE but Microprofile). No idea if it integrated with the Transaction Manager.
What approach do you recommend to handle an intermittent error for the above cases (especially the case 1)?
Thank you!