// Articles

Guides and deep dives

Guides, tutorials, and comparisons to help you build better backend applications.

Filter by category: Guides (271)
How to Deploy an Axum App to Google Cloud Run

Shipping an Axum 0.8 service with Postgres to Cloud Run with Encore, a multi-stage Dockerfile and gcloud, or Terraform, with a non-root image, Cloud SQL, graceful shutdown and fast cold starts.

7 Min Read
How to Add Redis to an Axum App

Caching, rate limiting and leaderboards in Axum 0.8 with Encore, redis-rs with deadpool-redis, or fred, plus atomic transactions, local Redis and production on ElastiCache or Memorystore.

8 Min Read
How to Migrate a Django App from Heroku to AWS

Moving a Django app's web dyno, worker, Heroku Postgres, config vars and Scheduler jobs to your own AWS account, with Encore or with ECS, RDS and Terraform, and copying the data across with pg_dump.

8 Min Read
How to Add S3 File Uploads to a Django App

Storing user files from Django in S3 or Google Cloud Storage with Encore, django-storages or boto3 presigned URLs, with direct browser uploads, private buckets, CSRF and local testing.

7 Min Read
How to Add Pub/Sub to a Django App

Publishing events from Django views and handling them in subscribers with Encore, Django 6's Tasks framework, Celery or Django signals, with idempotent handlers, transactions and CSRF covered.

8 Min Read
How to Deploy a Flask App to AWS

Running Flask with Postgres and S3 on AWS with Encore, Elastic Beanstalk, ECS on Fargate or Zappa on Lambda, with a production WSGI server, a non-root container and the networking each one needs.

7 Min Read
How to Add Postgres to a Flask App

Connecting a Flask app to PostgreSQL with Encore, Flask-SQLAlchemy with Flask-Migrate, or psycopg 3 with a connection pool, plus migrations, local databases and production.

7 Min Read
How to Deploy FastAPI to Google Cloud Run

Shipping a FastAPI app with Postgres and Pub/Sub to Cloud Run with Encore, gcloud run deploy from source, or a Dockerfile with Cloud Build, Artifact Registry and Cloud SQL.

7 Min Read
How to Add Pub/Sub to a FastAPI App

Publishing events from FastAPI and handling them in subscribers with Encore, FastAPI BackgroundTasks, Celery or SNS and SQS with boto3, with retries, idempotency and local testing.

7 Min Read
How to Add Redis to a FastAPI App

Caching, rate limiting and leaderboards in FastAPI with Encore, redis-py's asyncio client or fastapi-cache2, plus local Redis, expiry and production on AWS or GCP.

8 Min Read
Best TypeScript Framework for Real-Time APIs in 2026

Socket.IO, ws, Fastify, Hono and NestJS compared for WebSocket APIs in TypeScript, plus how Encore adds typed streaming endpoints and the databases and topics a real-time backend needs.

6 Min Read
Best Rust Framework for Microservices in 2026

Axum, Actix Web and tonic compared for Rust services that call each other and exchange events, plus how Encore adds per-service databases, Pub/Sub and cloud infrastructure to the framework you pick.

6 Min Read