cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Background Job Service - Asynchronous in BTP using Java

idefix
Participant
0 Likes
984

Hi,


I'm trying to build table export function and data synchronisation. I think the best way is to use background job (asynchronous Task)

In Java, I think we can use CompletableFuture.runAsync. Is this the best practice in BTP? Is there any service in BTP?

Something like redis and sidekiq. add the jobs in queue and execute each job.

Thank you.

View Entire Topic
idefix
Participant
0 Likes

Hi Simon,

Thank you for your answer.

I need asynchronous task queues. Do you know if Job scheduling service can manage queue? For example, which queue has higher priority than the other?

I have will an app with many process which should run in background asynchronously and immediately as soon as the resource available, for example: export, import data, send email, fetch api data. These process should happen not all at once. I don't need specific time (scheduled) to run these jobs.

About Redis, I am confused if this service still available? If I read the documentation, the service has been retired.

but in discovery page, the service is new

Thank you.