achintya-7 / achintya-7/lol-balancer
[Feat] Add support to allow multiple requests before shifting url
- Vorherrschende Sprache
- Go
- Sterne
- 1
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Currently, we switch the Backend URL whenever it serves a request properly to the client. Instead of doing it after every 1 request, we can define a value (threshold) before switching.
So now, when a server has successfully served up to `n` requests, we switch servers. If anytime, it fails, we switch immediately.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by tracing the Go request-handling path that switches the Backend URL after a successful request; no file or test is named in the issue. Verify the existing success and failure switching behavior, then confirm that a defined threshold governs successful requests while failures still trigger immediate switching.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- backend, networking
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 50/100