toolcacheAI Coding Prompts › Serverless Function Architecture

Serverless Function Architecture

Design a serverless architecture for [MY PROJECT].

Project: [WHAT IT DOES]
Cloud: [AWS LAMBDA / VERCEL / CLOUDFLARE WORKERS / GOOGLE FUNCTIONS]
Triggers: [HTTP / CRON / EVENTS / QUEUE]

Provide:
1. **Function Design**: How to structure individual serverless functions
2. **Architecture Overview**: How functions connect to databases, storage, and each other
3. **Cold Start Mitigation**: How to minimise cold start latency
4. **State Management**: Handling state in a stateless environment
5. **Database Connections**: Connection pooling for serverless
6. **File Processing**: Handling file uploads and processing
7. **Scheduled Tasks**: Running periodic jobs with cron triggers
8. **Error Handling**: Error handling and retry strategies
9. **Monitoring**: Logging and monitoring serverless functions
10. **Cost Optimisation**: Keeping serverless costs predictable and low
🔒

Unlock this prompt

You have 5 free unlocks remaining

or
Get unlimited access from £2.99 →

How to use this prompt

Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.

Leave a Review

Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.

Get Unlimited Access →Browse All 2,400 Prompts