Skip to content

Cloudflare Actors

Maintained
cloudflare/actors

A framework from Cloudflare that makes Durable Objects easier to build with: request handlers, persistent properties, RPC, SQL migrations, multiple alarms and retries.

View on GitHub
Stars
451
Forks
28
Watchers
451
Open issues
32

Overview

Cloudflare Actors is a framework that makes developing Cloudflare Durable Objects easier by adding new patterns and out-of-the-box functionality. The project is in active development.

Features

  • Request handler to define entrypoints to your Actor, Worker or request
  • Lifecycle methods for important lifecycle events
  • Persistent properties whose values survive between requests and evictions
  • RPC into other Actors with a simple MyActor.get('id') interface
  • Instance management to track, delete and access every instance created
  • Location placement to control where an Actor runs
  • SQL migrations for the SQLite storage
  • Multiple alarms by timestamp, delay or cron
  • Retry utilities with exponential backoff and jitter, plus detection of retryable Durable Object errors

Similar open-source projects, ranked by shared categories and tags.

All SDK projects →