A head-to-head comparison of Render and Netlify for apps with a backend: static sites and previews, long-running services against functions, databases, background work, schedules, pricing and when the backend should move to your own cloud account.

Render runs web services, background workers, cron jobs and managed Postgres as long-lived processes, and it also hosts static sites. Netlify started as the place to deploy a frontend from git and now adds serverless functions, background functions and its own managed database.
They overlap on static sites and previews, and part ways on what a backend looks like: a process that stays up on Render, a function that exists for the length of a request on Netlify.
Render figures are from render.com/pricing and Netlify figures from netlify.com/pricing and its function configuration docs, checked November 26, 2026.
Render treats each process as a service with a type. An API is a web service, an internal API is a private service, a queue consumer is a background worker and each schedule is a cron job, all billed by instance size, from $7 a month for 512 MB and $25 for 1 CPU and 2 GB. A process that stays up keeps WebSockets, in-memory caches and connection pools working the way they do on a server.
Netlify's synchronous functions run for at most 60 seconds with a 6 MB buffered payload, so a request that calls a slow upstream or builds a large export has to move to a background function that returns 202 and runs for up to 15 minutes. That is plenty for a form handler or a webhook and a poor fit for a worker that holds connections open or processes a stream.
Render Postgres is a standalone service with connection pooling, point-in-time recovery on paid instances and sizes from a $6 instance with 256 MB of RAM up to 128 CPU, and any service or an outside client can connect to it. Render Key Value gives you Redis-compatible storage in the same workspace.
Netlify Database provisions Postgres for a project, applies migrations in netlify/database/migrations before each production deploy is published and gives each deploy preview its own branch of the database. That makes previews with data easy, while the limits depend on the plan, so production workloads with heavy connection counts or long transactions are worth checking against the plan table first.
A Render cron job is a service that runs a command on a UTC schedule and must exit, and Render documents a single active run per job. A Render worker can poll Redis or hold a queue consumer open without limits on request time. Netlify offers scheduled functions with a 30-second limit and background functions for longer work, and a recurring job that runs longer has to be split into steps or handed to another system.
Neither platform includes a managed message queue, so fan-out, retries and dead-letter handling are application code on either one.
Pick Render for an API with workers, a database and cron in one workspace, and for teams moving off Heroku who want the same process model. Pick Netlify for sites built with Astro, Next.js or other frameworks, for previews with a database branch per pull request, and for API routes that fit within function limits. Pick neither when the backend needs to run in your own AWS or GCP account, since neither platform deploys into one.
Encore is a backend framework with built-in infrastructure, and next to either platform it takes over the backend: services that run continuously in your own AWS or GCP account, with the database, topics and cron jobs declared in the code. The AWS docs list Fargate, RDS and SNS with SQS, and the GCP docs list Cloud Run, Cloud SQL and Pub/Sub. The frontend stays on Render or Netlify and calls the backend through a typed client from encore gen client.

Run in your terminal to get started locally.
A contact form is the classic Netlify function, and it grows into a backend once messages need storing, routing and a daily summary. This service stores each message, publishes an event that a subscriber handles, and runs a cron job for the digest:
// inbox/inbox.go
package inbox
import (
"context"
"strings"
"time"
"encore.dev/beta/errs"
"encore.dev/cron"
"encore.dev/pubsub"
"encore.dev/rlog"
"encore.dev/storage/sqldb"
)
var db = sqldb.NewDatabase("inbox", sqldb.DatabaseConfig{Migrations: "./migrations"})
type MessageReceived struct {
ID int64 `json:"id"`
}
var received = pubsub.NewTopic[*MessageReceived]("message-received", pubsub.TopicConfig{
DeliveryGuarantee: pubsub.AtLeastOnce,
})
type SubmitParams struct {
Email string `json:"email"`
Body string `json:"body"`
}
type SubmitResponse struct {
ID int64 `json:"id"`
}
// Submit stores a message and queues it for routing.
//
//encore:api public method=POST path=/messages
func Submit(ctx context.Context, p *SubmitParams) (*SubmitResponse, error) {
if !strings.Contains(p.Email, "@") || strings.TrimSpace(p.Body) == "" {
return nil, &errs.Error{Code: errs.InvalidArgument, Message: "email and body are required"}
}
var id int64
err := db.QueryRow(ctx, `
INSERT INTO messages (email, body) VALUES ($1, $2) RETURNING id`,
strings.ToLower(p.Email), p.Body).Scan(&id)
if err != nil {
return nil, err
}
if _, err := received.Publish(ctx, &MessageReceived{ID: id}); err != nil {
return nil, err
}
return &SubmitResponse{ID: id}, nil
}
var _ = pubsub.NewSubscription(received, "route-message", pubsub.SubscriptionConfig[*MessageReceived]{
Handler: func(ctx context.Context, m *MessageReceived) error {
// Claim the message so a redelivery does not route it twice.
res, err := db.Exec(ctx, `
UPDATE messages SET routed_at = now() WHERE id = $1 AND routed_at IS NULL`, m.ID)
if err != nil {
return err
}
if res.RowsAffected() == 0 {
return nil
}
rlog.Info("route message", "id", m.ID)
return nil
},
RetryPolicy: &pubsub.RetryPolicy{MinBackoff: 5 * time.Second, MaxBackoff: 2 * time.Minute, MaxRetries: 5},
})
type DigestResponse struct {
Unrouted int `json:"unrouted"`
}
// Digest counts messages that were never routed, called by the daily cron job.
//
//encore:api private
func Digest(ctx context.Context) (*DigestResponse, error) {
var n int
err := db.QueryRow(ctx, `
SELECT count(*) FROM messages
WHERE routed_at IS NULL AND created_at < now() - interval '1 hour'`).Scan(&n)
if err != nil {
return nil, err
}
return &DigestResponse{Unrouted: n}, nil
}
var _ = cron.NewJob("message-digest", cron.JobConfig{
Title: "Count unrouted messages",
Schedule: "0 7 * * *",
Endpoint: Digest,
})
-- inbox/migrations/1_create_messages.up.sql
CREATE TABLE messages (
id BIGSERIAL PRIMARY KEY,
email TEXT NOT NULL,
body TEXT NOT NULL,
routed_at TIMESTAMPTZ,
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
encore run starts Postgres locally, applies the migration and runs the topic and its subscriber in process, so the form, the queue and the routing step are testable on a laptop. Cron jobs do not run locally, so the digest is tested by calling the endpoint from the local development dashboard. The Pub/Sub docs cover retries and the dead-letter queue, and the cron docs cover schedules.
To deploy, connect your AWS or GCP account as described in Connect your cloud account and push, then point the Render or Netlify site at the backend URL. When an AI coding agent adds a second event or another schedule, the table, the topic and the handler arrive in one diff that it can run locally before review.
Best fit: Teams that keep their frontend on Render or Netlify and want the backend, its database and its jobs to run as services in their own AWS or GCP account.
Choose Render for a backend that has to stay up with workers, Postgres and cron in one place, and Netlify for frontend-led sites with functions, previews and a database branch per pull request. When the backend outgrows both, keep the frontend where it is and run the backend as long-running services in your own cloud account.
Render is the more direct fit for an always-on API with workers and a database, because it runs long-lived web services, background workers and cron jobs. Netlify runs backend code as functions with a 60 second limit for synchronous requests and up to 15 minutes for background functions, which suits API routes behind a frontend better than a continuously running server.
For a static site or a frontend with a few functions, usually yes, since Netlify has a free plan and credit-based pricing from $9 a month. A Render workspace is $0 on Hobby or $25 a month on Pro, and every service and database is billed on top, from $7 a month for a 512 MB web service and $6 for the smallest Postgres.
Yes. Netlify Database is managed Postgres built into the platform, with migrations applied before each production deploy and a database branch for each deploy preview. Render Postgres is a separate service with connection pooling, point-in-time recovery and instance sizes up to 128 CPU and 1024 GB of RAM, and it can be reached from outside Render.
Build the backend with Encore, declaring its database, topics and cron jobs in code, and deploy it to your own AWS or GCP account as long-running services. The Netlify site keeps deploying from git and calls the backend through a generated, typed client.
Own your AWS or GCP cloud without giving up PaaS speed
Define databases, Pub/Sub, cron jobs, and object storage directly in TypeScript or Go. Encore provisions everything in your own cloud account with zero Terraform or lock-in.