Skip to main content

Durable Local and Remote Function Calls

Project description

Durable call is a library for implementing durable functions from fragile functions.

A function is said to be fragile if any of the following conditions are true: a) the function may fail intermittently, b) the function call has side effects, and thus for a given input it should only be run once.

A durable function is a fault tolerant and idempotent version of a fragile function. This fault tolerance and idempotency is implemented by the runtime. When a durable function is called, the runtime system first saves the parameters of the function call onto a file on disk. Next it repeatedly tries to call the function until it is able to execute it. Once the function has been executed, the result is also saved onto a file on disk. If the function is called in the future with the same arguments, the system will just return the saved result from the previous invocation.

Durable function call persists across process invocations. If a durable function call is initiated, and the process dies before it has been completed, the runtime with continue to execute it if the process is restarted.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

durable-call-0.1.0.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file durable-call-0.1.0.tar.gz.

File metadata

  • Download URL: durable-call-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for durable-call-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bbe0bd29e8a7faae83ad26c03390c826028bb1db08a4c95bd32cd55759e428ae
MD5 3c1908c3d3d91980b96df8920a64c4eb
BLAKE2b-256 a979522f19925db3a8f01efa30f643932fd881f127317e3592ea0c0c07ef7ea8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page