// Articles

Guides and deep dives

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

Filter by category: Guides (380)
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
Best Python Framework for WebSockets and Real-Time Apps in 2026

FastAPI, Django Channels, Litestar and python-socketio compared for real-time Python backends, plus how Encore adds the Postgres and Redis that carry messages across instances.

5 Min Read
Best Python Framework for Microservices in 2026

FastAPI, Litestar, Nameko and Django compared for Python services that call each other and share events, plus how Encore adds the databases, topics and cloud resources underneath whichever one you choose.

8 Min Read
Best Go Framework for Microservices in 2026

Go kit, Kratos, gRPC-Go and Connect compared for Go services that call each other and exchange events, plus how Encore adds databases, Pub/Sub and cloud infrastructure to the services you write.

7 Min Read
Best Go Framework for Event-Driven Systems in 2026

Watermill, the NATS client and kafka-go compared for event-driven Go services, plus how Encore declares topics and subscriptions in Go and provisions the broker in your own AWS or GCP account.

5 Min Read
How to Deploy an Axum App to AWS

Running a Rust Axum API on AWS with Encore, ECS on Fargate, AWS Lambda or EC2, including Docker builds, databases, secrets and what each option leaves for you to manage.

6 Min Read
How to Add Pub/Sub to a Go API

Publishing and consuming events from a Go backend with Encore, Watermill, NATS or SNS and SQS, including typed messages, retries, the outbox pattern, tests and production.

6 Min Read
How to Add File Uploads and Object Storage to a TypeScript API

Storing uploaded files from a Node.js and TypeScript backend in S3 or Google Cloud Storage with Encore, the AWS SDK or Multer, including presigned URLs, local buckets, tests and production.

5 Min Read