Skip to content

Introducing Redis for caching - #8853

Open
NoahTheDuke wants to merge 3 commits into
mtgred:masterfrom
NoahTheDuke:nb/redis
Open

NoahTheDuke wants to merge 3 commits into
mtgred:masterfrom
NoahTheDuke:nb/redis

Conversation

@NoahTheDuke

Copy link
Copy Markdown
Collaborator

NOTE: This is built on #8844, so just read the commits starting with "Add redis to our tech stack".

We need something for in-memory caching that isn't just atoms as those have contention. To actually use this, we'll need to set up redis community on prod and i guess in docker? idk shit about docker. but in prod it should be as easy as sudo apt-get or whatever.

In this pr, redis is being used for:

  • caching banned message, frontend version, and card version
  • starting and pausing lobby updates

There are some other good uses (lobby->user, user->lobby) but they'll take more work. I don't want this PR to get too big.

@NoahTheDuke
NoahTheDuke force-pushed the nb/redis branch 4 times, most recently from 325ca9d to b5a606b Compare September 4, 2026 13:26
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.

1 participant