3 ms·
Oooh, this does sound like a good idea but beware feature bloat. I don't want Redis to end up being a full RDBMS, and this is basically the equivalent of stored
by StavrosK 16y ago
Oooh, this does sound like a good idea but beware feature bloat. I don't want Redis to end up being a full RDBMS, and this is basically the equivalent of stored procedures, especially if the scripts are stored as redis objects...
- paulsmith 16y agoHe says in the post that they won't be stored, that there are too many downsides to that, that they'll be sent and evaluated on each request.
- cincinnatus 16y agoHe specifically said they won't be stored. You shove the script to the Redis server every time you need it. That solves his visibility worry, and also neatly solves any problems with machines in a cluster being out of sync.
- riffraff 16y agoI'd say in a way this could avoid feature bloat, in the sense that new operations can be added as "frequently used snippets" instead of core commands. I wonder how this plays with replication/clustering, though.
- catwell 16y agoAvoiding feature bloat is indeed one of the goals of this move, as explained in the blog post. Several users are requesting features in the Google Group, others like me maintain forks. With user-defined procedures, hopefully we will no longer need all this. As for clustering, Antirez also explained in the blog post that it will work as long as you use a single key per script.