Prompt
What should I use for a function-based backend with logs and retries?
Latest observation
Oct 26, 2026
OpenAI APIWeb search: off
If you want a function-based backend with built-in support for logs and retries, the best choice depends on how much infrastructure you want to manage.
Good options
1. AWS Lambda + CloudWatch + Step Functions
- Lambda runs your functions
- CloudWatch Logs handles logs
- Step Functions gives you retries, error handling, and workflows
- Best if you want a very mature serverless stack on AWS
2. Google Cloud Functions / Cloud Run + Cloud Logging + Workflows
- Good logging built in
- Workflows can manage retries and orchestration
- Nice if you’re already on GCP
3. Azure Functions + Application Insights
- Built-in logs, monitoring, and retry support
- Good if you’re in the Microsoft ecosystem
4. Open-source / self-managed
If you want more control:
- Temporal for retries, workflow state, and durability
- Knative or OpenFaaS for function-style deployment
- ELK / Loki / OpenTelemetry for logs
If you want the simplest recommendation
- AWS Lambda + Step Functions is usually the strongest default for a function-based backend with retries and logs.
- If you also need long-running or complex workflows, Temporal is often better than pure serverless functions.
Short answer
- Simple serverless backend: AWS Lambda
- Need retries/workflows: AWS Step Functions or Temporal
- Need logs: CloudWatch / Cloud Logging / Application Insights
If you tell me your cloud provider or language, I can recommend a more specific stack.