on ‎2021 Apr 26 5:08 PM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi edwin_sendjaja34,
since I don't know which use case you want to cover exactly, here are a few thoughts:
If the export is to be triggered from a UI5 app, UI5 already provides functionality to export data here. Both an OData service and a REST service (JSON format) can be used here.
The Job Scheduler service can be used for the scheduled execution of batch jobs. This triggers defined jobs based on specified intervals, which can be executed in the background.
Redis is now also available as a hyperscaler option in the SAP BTP. In general, however, you can also bring along any other service, e.g. from AWS, Azure or GCP, and integrate it via a user-provided service (Link1, Link2).
Regards
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.