straightface
JCHJava Community | Help. Code. Learn.
•Created by straightface on 2/1/2025 in #java-help
Backoff and retry for parallel api calls
I have a list of objects that i make parallel api calls and store the result in database.
But the problem I am having now is the api goes down and subsequent calls fails
I am not sure how I should implement backoff and retry since these are parallel calls I have already executed those
4 replies
JCHJava Community | Help. Code. Learn.
•Created by straightface on 2/3/2024 in #java-help
RMI calls in CompletableFuture stream
is it safe to call rmi service using CompletableFuture like so
Notice i am mutating person object and saving future in Person
7 replies
JCHJava Community | Help. Code. Learn.
•Created by straightface on 4/7/2023 in #java-help
Should I be storing dates in utc?
Lets say I have a venue booking form that requires start date and end date for an event, users can only book full day events. So should I be storing these dates in utc or local time?
10 replies