Overview
Agoda.Frameworks.LoadBalancing is a .NET Standard library that provides logic for handling retry and load balancing.
Features
- Weight-adjusted random selection for data sources
- Retry mechanism for sync and async functions
- Thread-safe and multi-threading friendly retry manager
- Dynamic weight adjustment base on action results
- Built-in events for retry manager
Documentations
Install
Http
dotnet add Agoda.Frameworks.Http
DB
dotnet add Agoda.Frameworks.DB
Grpc
dotnet add Agoda.Frameworks.Grpc
LoadBalancing Core
dotnet add Agoda.Frameworks.LoadBalancing
Build
dotnet build
Test
dotnet test
Contributors
@cyberhck for adding support for GitHub actions and fixed unit tests under different locales