mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
55 lines
1.4 KiB
Markdown
55 lines
1.4 KiB
Markdown
|
|
---
|
||
|
|
layout: default
|
||
|
|
---
|
||
|
|
|
||
|
|
# Real-World Examples
|
||
|
|
|
||
|
|
Production-ready patterns and complete application examples.
|
||
|
|
|
||
|
|
## Available Examples
|
||
|
|
|
||
|
|
- [API Gateway with Backend Services](api-gateway.md) - Complete multi-service architecture with users, orders, and products services
|
||
|
|
- [Graceful Shutdown](graceful-shutdown.md) - Production-ready shutdown patterns with Kubernetes integration
|
||
|
|
|
||
|
|
## Coming Soon
|
||
|
|
|
||
|
|
We're actively working on additional real-world examples. Contributions are welcome!
|
||
|
|
|
||
|
|
**Complete Applications**
|
||
|
|
- Event-Driven Microservices - Pub/sub patterns
|
||
|
|
- CQRS Pattern - Command Query Responsibility Segregation
|
||
|
|
- Saga Pattern - Distributed transactions
|
||
|
|
|
||
|
|
**Production Patterns**
|
||
|
|
- Health Checks and Readiness
|
||
|
|
- Retry and Circuit Breaking
|
||
|
|
- Distributed Tracing with OpenTelemetry
|
||
|
|
- Structured Logging
|
||
|
|
- Metrics and Monitoring
|
||
|
|
|
||
|
|
**Testing Strategies**
|
||
|
|
- Unit Testing Services
|
||
|
|
- Integration Testing
|
||
|
|
- Contract Testing
|
||
|
|
- Load Testing
|
||
|
|
|
||
|
|
**Deployment**
|
||
|
|
- Kubernetes Deployment
|
||
|
|
- Docker Compose Setup
|
||
|
|
- CI/CD Pipeline Examples
|
||
|
|
- Blue-Green Deployment
|
||
|
|
|
||
|
|
**Integration Examples**
|
||
|
|
- PostgreSQL with Transactions
|
||
|
|
- Redis Caching Strategies
|
||
|
|
- Message Queue Integration
|
||
|
|
- External API Integration
|
||
|
|
|
||
|
|
Each example will include:
|
||
|
|
- Complete, runnable code
|
||
|
|
- Configuration for development and production
|
||
|
|
- Testing approach
|
||
|
|
- Common pitfalls and solutions
|
||
|
|
|
||
|
|
Want to contribute? See our [CONTRIBUTING.md](../../../../CONTRIBUTING.md) guide.
|