Jeremy, thanks for sharing your point of view, if we have a solid use
case we can start considering such an addition, but so far the
experience with replication, expires, scripting, shows that every time
we add a feature like this, it may interact with the other features in
funny ways, so semantically it would be cool to stop adding things to
Redis or reduce the additions only to things really needed.
This does not mean of course to stop building on what we have, but
while for instance a new bit operation is essentially a self-contained
feature, things like "do this when connection does that" may be more
complex to handle.
The implementation itself of "exec a script on exec" is simple btw,
something like "ATEXIT <script>" that registers just a string that is
called when the client closes the connection, but the script can be
killed because of multiple events and it is not always clear when it
is appropriate to run a script or not.
Btw let's suppose for a moment that it's trivial :-) I wonder what are
the use cases for this feature on ZooKeeper. Thanks!
Salvatore