Is reading or writing the database an edge function? What's the difference between database calls, edge functions, and custom compute?
Is reading or writing the database an edge function? What's the difference between database calls, edge functions, and custom compute?
No. When you read or write a table, no function runs at all, so it isn’t an edge function.In InsForge your code talks to the backend in three different ways, and they’re easy to mix up:
Database call. Define a table and InsForge instantly gives you a set of REST endpoints (like
GET /api/database/records/{table}) and a typed SDK. Calling select or insert reads and writes the database directly, with nothing to deploy and nothing running. This is all you need for ordinary create/read/update/delete. See Database.Edge Function. Reach for one when the auto-generated API isn’t enough and you want your own server-side logic: a payment webhook, an auth hook, code that fires when a row is INSERTed / UPDATEd / DELETEd, or a scheduled job. The point is that it runs once per request or event and then exits. See Edge Functions.Custom Compute. Use this when you need a process that stays up, like a queue worker or an AI inference loop. An edge function can’t do this because it doesn’t run continuously. See Custom Compute.Quick rule: just moving data in and out? That’s the database (auto REST). Writing logic that runs and finishes? Edge function. Need something running all the time? Custom compute.Why did my project get paused, and how do I keep it from pausing?
Why did my project get paused, and how do I keep it from pausing?
Pausing only happens on the Free plan, for two reasons:
- Inactivity. A free project is paused after 7 days with no requests. We email a heads-up first, and any request resets the 7-day clock.
- Usage limit. If your organization goes over the Free usage limits, its projects stay paused until you upgrade.
My project is paused. How do I restart it?
My project is paused. How do I restart it?
Open the project in the dashboard and click Restore Project. It comes back in a few minutes with your data intact. A couple of cases to know:
- You can restore a free project from the dashboard for up to 30 days after it pauses. After that it’s archived and you can only download the database backup and storage files (still no data loss).
- If it was paused because the organization hit its usage limit, Upgrade to Pro to restore it.