Home > database >  Ask: how to implement such a SAO by redis operation?
Ask: how to implement such a SAO by redis operation?

Time:09-15

For example, there are n students, each student include name, language scores, math scores, how by redis, able to quickly find the math scores more than language scores of students, and ascending grades in math?

CodePudding user response:

refer to the original poster heatfly response:
, for example, there are n students, each student include name, language scores, math scores, how by redis, able to quickly find the math scores more than language scores of students, and ascending grades in math?

Redis generally don't realize comparison and sorting the inside logic functions, unless call lua script implementation logic, use hash data, then transfer the data comparison and sorting
  • Related