Replies: 1 comment 1 reply
-
There are no specific limits on the number of async actions that can be executed simultaneously. When an async action is created, you will receive an action_id; now, you can use this action_id data using a query or subscription. So essentially, this works similar to how actions work but in async. Also, similar to how action has a default HTTP time out of 30 seconds, those will apply for async actions too. If your webhook takes more than 30 seconds, you can configure it using the custom action timeout section. If you use async action, it is always advised to clean it up periodically. Refer to this documentation for more info on the cleanup of async actions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am really interested in using async actions in my product.
I'd love to understand more about the performance / throughput / scalability of the Async Actions feature.
I have a really simple use-case of my client APP calling Hasura (async action) which then delegates some business logic to the external web-hook. This webhook can finish within 1-20 seconds (some operations could be really slow, out of my control).
What is the maximum number of async actions in progress? Can I tune it w/o scaling horizontally?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions