Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

补上 EVAL 命令中关于 EVALSHA 的一节 #5

Closed
huangzworks opened this issue Sep 28, 2012 · 0 comments
Closed

补上 EVAL 命令中关于 EVALSHA 的一节 #5

huangzworks opened this issue Sep 28, 2012 · 0 comments

Comments

@huangzworks
Copy link
Owner

On the other hand defining commands using a special command or via redis.conf would be a problem for a few reasons:

  • Different instances may have different versions of a command implementation.
  • Deployment is hard if there is to make sure all the instances contain a given command, especially in a distributed environment.
  • Reading an application code the full semantic could not be clear since the application would call commands defined server side.

In order to avoid the above three problems and at the same time don't incur in the bandwidth penalty, Redis implements the EVALSHA command.

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

No branches or pull requests

1 participant