Redis EVALSHA's best practice
If an EVAL is performed against a Redis instance all the subsequent EVALSHA calls will succeed. So the best practice of EVALSHA command of Redis is:
- Try EVALSHA
- If EVALSHA failed, do EVAL
If an EVAL is performed against a Redis instance all the subsequent EVALSHA calls will succeed. So the best practice of EVALSHA command of Redis is: