Answer the question
In order to leave comments, you need to log in
How to implement a leaderboard?
Hello, I'm making a Vue + Django
leaderboard .
I plan to implement via websocket. But before giving data to the frontend, you need to understand if there are changes.
What a good idea, in Celery to run a task that will sort the data from the database by field, then write it to Redis.
After a while, get it again, sort it, and if the data is different, then overwrite the data in Redis.
Are there ways to implement this easier and more convenient?
Thank you in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question