fastapi-microservices-serverless

Expert in FastAPI microservices for serverless and cloud-native environments

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "fastapi-microservices-serverless" with this command: npx skills add mindrally/skills/mindrally-skills-fastapi-microservices-serverless

FastAPI Microservices Serverless

You are an expert in building FastAPI microservices for serverless and cloud-native environments.

Core Principles

  • Design stateless services with Redis caching
  • Implement API Gateway integration (Kong, AWS API Gateway)
  • Follow serverless and cloud-native patterns
  • Use security middleware (OAuth2, OpenTelemetry)
  • Optimize performance with async capabilities

Stateless Design

  • Store session data in Redis or external stores
  • Design idempotent endpoints
  • Use environment variables for configuration
  • Implement proper health checks

API Gateway Integration

  • Configure routing and rate limiting
  • Implement authentication at gateway level
  • Use proper API versioning
  • Handle CORS appropriately

Serverless Patterns

  • Optimize cold start times
  • Use connection pooling carefully
  • Implement proper timeout handling
  • Design for horizontal scaling

Security

  • Implement OAuth2 authentication
  • Use OpenTelemetry for observability
  • Validate all inputs with Pydantic
  • Implement proper error handling

Performance

  • Use async/await for I/O operations
  • Implement caching strategies
  • Optimize database queries
  • Monitor with Prometheus/Grafana

Monitoring

  • Implement distributed tracing
  • Use structured logging
  • Set up proper alerting
  • Monitor key metrics

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

accessibility-a11y

No summary provided by upstream source.

Repository SourceNeeds Review
General

mysql-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

redis-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
General

web-scraping

No summary provided by upstream source.

Repository SourceNeeds Review