benchm.
benchm.2w ago

Handle and process requests in async way

Hi, happy to be here. I have 1 script, 1 worker, I want to send 1k one by one in 5 seconds intervals. Let say the job/task takes time that why I need to process it in async way. Questions: Q1. How windmill will handle all the requests? Will it put them in queue? Q2. As the task requires time, do I need to create a middleware script which handle the requests by putting them in dedicated queue database from where my script will get the data through a schedules checks? Q3. While a job / script is running what will occur if I trigger from API, will it handle and queue the new requests or stop the current action and replace it by the new requests? Q4. For everything related to this type of scenario and use case (multiple requests and queue) should I choose the webhooks approach? Q5. Can I trigger internally another script, which will get the new output data from the database and push back into an external service? If yes, should I do this through trigger from api (REST) or Webhook? Q6. Do you have any documentation, example about workflow and architecture in Windmill besides the documentation?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?