Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
When doing a bulk insert I would like the option to associate a global command (e.g. "ZADD") and the option to associate a global key (e.g. "myBigSortedSet") with a Redis protocol file (being piped). It would then follow - if both options were used - that the piped file would only contain values, or in my sorted set case: scores and values. Please.
The advantages would be:
One would not be repeating "ZADD" and "myBigSortedSet" and their respective lengths millions of times
One would be able to decide on a key name at upload time (May seem strange... but I have a need for this)
One would be able to decide on a command at upload time... not me, not now... but it may prove to be useful (over and above eliminating repetition and reducing file size).
When doing a bulk insert I would like the option to associate a global command (e.g. "ZADD") and the option to associate a global key (e.g. "myBigSortedSet") with a Redis protocol file (being piped). It would then follow - if both options were used - that the piped file would only contain values, or in my sorted set case: scores and values. Please.
The advantages would be: