Loading…
Topic
Edge Functions
2 posts about Edge Functions. Every summary links to the original.
- 2 posts
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Supabase Compute: run your agents inside your project
Supabase launched Compute in private alpha in us-west-2, letting developers run AI agents, durable jobs, WebSocket services, and APIs directly inside their project, next to their data with shared secrets and logs. Compute overcomes Edge Function limitations by supporting tasks requiring more memory, CPU, over 400 seconds runtime, or any language—each service gets a full Linux environment and can use Node, Deno, or any Dockerfile. Services are configured as public or private, sized at 2 GB/1 vCPU or 4 GB/2 vCPUs, and deployed via the Supabase CLI v2.120.0+ or the Management API alpha endpoints. Early user Dreambase reduced median Postgres query latency from 65 ms to 2.9 ms by moving their data agent onto Compute. The private alpha is for evaluation only in us-west-2, may change or end, and offers no autoscaling, GPU, or persistent disk; services can restart, so long-running work must be saved to Postgres.
How a new branch gets its config, migrations, and functions
Supabase branches are independent projects that require settings, schema, and edge functions to be set up before use. When a branch is created, configuration copies main project settings including Postgres, Auth, and Realtime config, then applies them with a single Postgres restart via walg_enable; Auth secrets do not carry over. Migrations come from the git repo for GitHub-connected branches or from the main project’s migration history for gitless branches; each file runs as one transaction in pipeline mode. Edge functions are copied from the main project at creation in parallel with configuration, and on each push only changed functions are redeployed using Brotli compression and SHA-256 checksums. If a step fails, it shows as DEAD and stops dependent steps, while PAUSED indicates a warning that does not block subsequent steps.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.