syeedalireza / service-mesh-bundle
gRPC-based service mesh for Symfony microservices with service discovery, circuit breaker, and load balancing
Package info
github.com/syeedalireza/service-mesh-bundle
Type:symfony-bundle
pkg:composer/syeedalireza/service-mesh-bundle
dev-main
2026-01-31 07:43 UTC
Requires
- php: ^8.2
- symfony/framework-bundle: ^7.0
This package is not auto-updated.
Last update: 2026-03-04 05:46:15 UTC
README
gRPC-based service mesh for Symfony microservices with service discovery, circuit breaker, and load balancing.
Features
- gRPC client/server integration
- Service discovery (Consul)
- Circuit breaker pattern
- Retry with exponential backoff
- Request timeout management
- Health check endpoints
- Load balancing strategies
- Service registry
Installation
composer require syeedalireza/service-mesh-bundle
Configuration
service_mesh: grpc: enabled: true port: 50051 discovery: provider: consul consul: host: consul port: 8500 resilience: circuit_breaker: threshold: 5 timeout: 60
Usage
// Register service $serviceRegistry->register('user-service', 'localhost:50051'); // Call remote service with circuit breaker $response = $grpcClient->call('user-service', 'GetUser', $request);