FeatureFuel
3

Functions API - deleteExecution

Source: appwrite/appwrite#1471 · opened by @Meldiron
In comparison to REST world, Appwrite's functions introduces new delay when the request is in waiting state. There is no way to prevent this as you never know how many requests you can expect. The problem with this is that at some point you might create more executions than you can handle and you will end up in an infinite loop where new executions take multiple hours to run. The solution I can see is to introduce deleteExecution in the API (both client and server-side) that would simply switch the status of the execution from "waiting" to "stooped" or "timed-out". --- Specific example: A great example of this is a monitoring tool that pings your websites every minute. Sure, with 10 websites and an average ping time of 200ms, everything will go smoothly. The problem is if you have too many websites or your websites slow down and ping time will go up to 5 seconds. With 100 websites and 5 second response time, We will need 500 seconds of…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests