Skip to content

4 moves server state handling to redis#6

Merged
seun-ja merged 2 commits intomainfrom
4-move-server-state-handling-to-redis
Dec 26, 2025
Merged

4 moves server state handling to redis#6
seun-ja merged 2 commits intomainfrom
4-move-server-state-handling-to-redis

Conversation

@seun-ja
Copy link
Copy Markdown
Owner

@seun-ja seun-ja commented Dec 22, 2025

Aims to Fix #4

Moves the server's data from App state, making it more stateless and flexible. Using Redis gives us similar performance as when we use App state, as it also uses in-memory storage.

On initialising Redis, static server data like URL and weight are preloaded. For easy reference, URL is the key.

Signed-off-by: Aminu Oluwaseun Joshua <seun.aminujoshua@gmail.com>
Signed-off-by: Aminu Oluwaseun Joshua <seun.aminujoshua@gmail.com>
@seun-ja seun-ja merged commit 0c5f468 into main Dec 26, 2025
1 check passed
@seun-ja seun-ja deleted the 4-move-server-state-handling-to-redis branch December 26, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move server state handling to redis

1 participant