Now, Let's look at the following scenario: A website manage 10,000 students, and show top 100 of student's achievement. I use mysql storage every student personal information(name email sex and achievement) but I have to get every student achievement and caculate Top 100, so I use redis to solve this problem, cache the Top 100 with redis and storage it in sorted set data type.
But now, the problem is: if one student achievement is change, should I update the redis‘s Top 100 every time?? this case may be good, you can think it as a game score Top 100, Thanks for advance, : ) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/337ce664-32ed-4c39-87a3-8b70d310ad53%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.