Skip to content

Kiwi πŸ₯ is a type-safe key-value in-memory data structure store written in Rust πŸ¦€

License

Notifications You must be signed in to change notification settings

AliBakerSartawi/kiwi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Kiwi πŸ₯

Kiwi is a key-value in-memory data structure store... a drop-in replacement for Redis.

Commands

Below is a table of Redis Commands and their implementation status.

Should we include the Redis Stack modules?

Command Redis Group Status Redis Description
DEL Generic Implemented Deletes one or more keys.
COPY Generic Copies the value of a key to a new key.
EXISTS Generic Determines whether one or more keys exist.
EXPIRE Generic Sets the expiration time of a key in seconds.
EXPIREAT Generic Sets the expiration time of a key to a Unix timestamp.
EXPIRETIME Generic Returns the expiration time of a key as a Unix timestamp.
KEYS Generic Returns all key names that match a pattern.
MOVE Generic Moves a key to another database.
PERSIST Generic Removes the expiration time of a key.
PEXPIRE Generic Sets the expiration time of a key in milliseconds.
PEXPIREAT Generic Sets the expiration time of a key to a Unix milliseconds timestamp.
PEXPIRETIME Generic Returns the expiration time of a key as a Unix milliseconds timestamp.
PTTL Generic Returns the expiration time in milliseconds of a key.
RANDOMKEY Generic Returns a random key name from the database.
RENAME Generic Renames a key and overwrites the destination.
RENAMENX Generic Renames a key only when the target key name doesn't exist.
SCAN Generic Iterates over the key names in the database.
SORT Generic Sorts the elements in a list, a set, or a sorted set, optionally storing the result.
SORT_RO Generic Returns the sorted elements of a list, a set, or a sorted set.
TOUCH Generic Implemented Updates the time keys were last accessed, returns the number of keys touched.
TTL Generic Returns the expiration time in seconds of a key.
TYPE Generic Determines the type of value stored at a key.
UNLINK Generic Asynchronously deletes one or more keys.
DUMP Generic Returns a serialized representation of the value stored at a key.
MIGRATE Generic Atomically transfers a key from one Redis instance to another.
OBJECT ENCODING Generic Returns the internal encoding of a Redis object.
OBJECT FREQ Generic Returns the logarithmic access frequency counter of a Redis object.
OBJECT IDLETIME Generic Returns the time since the last access to a Redis object.
OBJECT REFCOUNT Generic Returns the reference count of a value of a key.
RESTORE Generic Creates a key from the serialized representation of a value.
WAIT Generic Blocks until the asynchronous replication of all preceding write commands is completed.
WAITAOF Generic Blocks until all preceding write commands are written to the append-only file.
APPEND String Appends a string to the value of a key. Creates the key if it doesn't exist.
DECR String Decrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.
DECRBY String Decrements a number from the integer value of a key. Uses 0 as initial value if the key doesn't exist.
GET String Implemented Returns the string value of a key.
GETDEL String Returns the string value of a key after deleting the key.
GETEX String Returns the string value of a key after setting its expiration time.
GETRANGE String Returns a substring of the string stored at a key.
GETSET String Returns the previous string value of a key after setting it to a new value.
INCR String Increments the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.
INCRBY String Increments the integer value of a key by a number. Uses 0 as initial value if the key doesn't exist.
INCRBYFLOAT String Increment the floating point value of a key by a number. Uses 0 as initial value if the key doesn't exist.
LCS String Finds the longest common substring.
MGET String Atomically returns the string values of one or more keys.
MSET String Atomically creates or modifies the string values of one or more keys.
MSETNX String Atomically modifies the string values of one or more keys only when all keys don't exist.
PSETEX String Sets both string value and expiration time in milliseconds of a key. The key is created if it doesn't exist.
SET String Partially Implemented Sets the string value of a key, ignoring its type. The key is created if it doesn't exist.
SETEX String Sets the string value and expiration time of a key. Creates the key if it doesn't exist.
SETNX String Set the string value of a key only when the key doesn't exist.
SETRANGE String Overwrites a part of a string value with another by an offset. Creates the key if it doesn't exist.
STRLEN String Returns the length of a string value.
SUBSTR String Returns a substring from a string value.
BITCOUNT Bitmap Counts the number of set bits (population counting) in a string.
BITFIELD Bitmap Performs arbitrary bitfield integer operations on strings.
BITFIELD_RO Bitmap Performs arbitrary read-only bitfield integer operations on strings.
BITOP Bitmap Performs bitwise operations on multiple strings, and stores the result.
BITPOS Bitmap Finds the first set (1) or clear (0) bit in a string.
GETBIT Bitmap Returns a bit value by offset.
SETBIT Bitmap Sets or clears the bit at offset of the string value. Creates the key if it doesn't exist.
ASKING Cluster Management Signals that a cluster client is following an -ASK redirect.
CLUSTER ADDSLOTS Cluster Management Assigns new hash slots to a node.
CLUSTER ADDSLOTSRANGE Cluster Management Assigns new hash slot ranges to a node.
CLUSTER BUMPEPOCH Cluster Management Advances the cluster config epoch.
CLUSTER COUNT-FAILURE-REPORTS Cluster Management Returns the number of active failure reports active for a node.
CLUSTER COUNTKEYSINSLOT Cluster Management Returns the number of keys in a hash slot.
CLUSTER DELSLOTS Cluster Management Sets hash slots as unbound for a node.
CLUSTER DELSLOTSRANGE Cluster Management Sets hash slot ranges as unbound for a node.
CLUSTER FAILOVER Cluster Management Forces a replica to perform a manual failover of its master.
CLUSTER FLUSHSLOTS Cluster Management Deletes all slots information from a node.
CLUSTER FORGET Cluster Management Removes a node from the nodes table.
CLUSTER GETKEYSINSLOT Cluster Management Returns the key names in a hash slot.
CLUSTER INFO Cluster Management Returns information about the state of a node.
CLUSTER KEYSLOT Cluster Management Returns the hash slot for a key.
CLUSTER LINKS Cluster Management Returns a list of all TCP links to and from peer nodes.
CLUSTER MEET Cluster Management Forces a node to handshake with another node.
CLUSTER MYID Cluster Management Returns the ID of a node.
CLUSTER MYSHARDID Cluster Management Returns the shard ID of a node.
CLUSTER NODES Cluster Management Returns the cluster configuration for a node.
CLUSTER REPLICAS Cluster Management Lists the replica nodes of a master node.
CLUSTER REPLICATE Cluster Management Configure a node as replica of a master node.
CLUSTER RESET Cluster Management Resets a node.
CLUSTER SAVECONFIG Cluster Management Forces a node to save the cluster configuration to disk.
CLUSTER SET-CONFIG-EPOCH Cluster Management Sets the configuration epoch for a new node.
CLUSTER SETSLOT Cluster Management Binds a hash slot to a node.
CLUSTER SHARDS Cluster Management Returns the mapping of cluster slots to shards.
CLUSTER SLAVES Cluster Management Lists the replica nodes of a master node.
CLUSTER SLOTS Cluster Management Returns the mapping of cluster slots to nodes.
READONLY Cluster Management Enables read-only queries for a connection to a Redis Cluster replica node.
READWRITE Cluster Management Enables read-write queries for a connection to a Reids Cluster replica node.
AUTH Connection Management Authenticates the connection.
CLIENT CACHING Connection Management Instructs the server whether to track the keys in the next request.
CLIENT GETNAME Connection Management Returns the name of the connection.
CLIENT GETREDIR Connection Management Returns the client ID to which the connection's tracking notifications are redirected.
CLIENT ID Connection Management Returns the unique client ID of the connection.
CLIENT INFO Connection Management Returns information about the connection.
CLIENT KILL Connection Management Terminates open connections.
CLIENT LIST Connection Management Lists open connections.
CLIENT NO-EVICT Connection Management Sets the client eviction mode of the connection.
CLIENT NO-TOUCH Connection Management Controls whether commands sent by the client affect the LRU/LFU of accessed keys.
CLIENT PAUSE Connection Management Suspends commands processing.
CLIENT REPLY Connection Management Instructs the server whether to reply to commands.
CLIENT SETINFO Connection Management Sets information specific to the client or connection.
CLIENT SETNAME Connection Management Sets the connection name.
CLIENT TRACKING Connection Management Controls server-assisted client-side caching for the connection.
CLIENT TRACKINGINFO Connection Management Returns information about server-assisted client-side caching for the connection.
CLIENT UNBLOCK Connection Management Unblocks a client blocked by a blocking command from a different connection.
CLIENT UNPAUSE Connection Management Resumes processing commands from paused clients.
ECHO Connection Management Returns the given string.
HELLO Connection Management Handshakes with the Redis server.
PING Connection Management Returns the server's liveliness response.
QUIT Connection Management Closes the connection.
RESET Connection Management Resets the connection.
SELECT Connection Management Changes the selected database.
GEOADD Geospatial Indices Adds one or more members to a geospatial index. The key is created if it doesn't exist.
GEODIST Geospatial Indices Returns the distance between two members of a geospatial index.
GEOHASH Geospatial Indices Returns members from a geospatial index as geohash strings.
GEOPOS Geospatial Indices Returns the longitude and latitude of members from a geospatial index.
GEORADIUS Geospatial Indices Queries a geospatial index for members within a distance from a coordinate, optionally stores the result.
GEORADIUS_RO Geospatial Indices Returns members from a geospatial index that are within a distance from a coordinate.
GEORADIUSBYMEMBER Geospatial Indices Queries a geospatial index for members within a distance from a member, optionally stores the result.
GEORADIUSBYMEMBER_RO Geospatial Indices Returns members from a geospatial index that are within a distance from a member.
GEOSEARCH Geospatial Indices Queries a geospatial index for members inside an area of a box or a circle.
GEOSEARCHSTORE Geospatial Indices Queries a geospatial index for members inside an area of a box or a circle, optionally stores the result.
HDEL Hash Deletes one or more fields and their values from a hash. Deletes the hash if no fields remain.
HEXISTS Hash Determines whether a field exists in a hash.
HGET Hash Returns the value of a field in a hash.
HGETALL Hash Returns all fields and values in a hash.
HINCRBY Hash Increments the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist.
HINCRBYFLOAT Hash Increments the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist.
HKEYS Hash Returns all fields in a hash.
HLEN Hash Returns the number of fields in a hash.
HMGET Hash Returns the values of all fields in a hash.
HMSET Hash Sets the values of multiple fields.
HRANDFIELD Hash Returns one or more random fields from a hash.
HSCAN Hash Iterates over fields and values of a hash.
HSET Hash Creates or modifies the value of a field in a hash.
HSETNX Hash Sets the value of a field in a hash only when the field doesn't exist.
HSTRLEN Hash Returns the length of the value of a field.
HVALS Hash Returns all values in a hash.
PFADD HyperLogLog Adds elements to a HyperLogLog key. Creates the key if it doesn't exist.
PFCOUNT HyperLogLog Returns the approximated cardinality of the set(s) observed by the HyperLogLog key(s).
PFDEBUG HyperLogLog Internal commands for debugging HyperLogLog values.
PFMERGE HyperLogLog Merges one or more HyperLogLog values into a single key.
PFSELFTEST HyperLogLog An internal command for testing HyperLogLog values.
BLMOVE List Pops an element from a list, pushes it to another list and returns it. Blocks until an element is available otherwise. Deletes the list if the last element was moved.
BLMPOP List Pops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped.
BLPOP List Removes and returns the first element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.
BRPOP List Removes and returns the last element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.
BRPOPLPUSH List Pops an element from a list, pushes it to another list and returns it. Block until an element is available otherwise. Deletes the list if the last element was popped.
LINDEX List Returns an element from a list by its index.
LINSERT List Inserts an element before or after another element in a list.
LLEN List Returns the length of a list.
LMOVE List Returns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved.
LMPOP List Returns multiple elements from a list after removing them. Deletes the list if the last element was popped.
LPOP List Returns the first elements in a list after removing it. Deletes the list if the last element was popped.
LPOS List Returns the index of matching elements in a list.
LPUSH List Prepends one or more elements to a list. Creates the key if it doesn't exist.
LPUSHX List Prepends one or more elements to a list only when the list exists.
LRANGE List Returns a range of elements from a list.
LREM List Removes elements from a list. Deletes the list if the last element was removed.
LSET List Sets the value of an element in a list by its index.
LTRIM List Removes elements from both ends a list. Deletes the list if all elements were trimmed.
RPOP List Returns and removes the last elements of a list. Deletes the list if the last element was popped.
RPOPLPUSH List Returns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.
RPUSH List Appends one or more elements to a list. Creates the key if it doesn't exist.
RPUSHX List Appends an element to a list only when the list exists.
PSUBSCRIBE Pub/Sub Listens for messages published to channels that match one or more patterns.
PUBLISH Pub/Sub Posts a message to a channel.
PUBSUB CHANNELS Pub/Sub Returns the active channels.
PUBSUB NUMPAT Pub/Sub Returns a count of unique pattern subscriptions.
PUBSUB NUMSUB Pub/Sub Returns a count of subscribers to channels.
PUBSUB SHARDCHANNELS Pub/Sub Returns the active shard channels.
PUBSUB SHARDNUMSUB Pub/Sub Returns the count of subscribers of shard channels.
PUNSUBSCRIBE Pub/Sub Stops listening to messages published to channels that match one or more patterns.
SPUBLISH Pub/Sub Post a message to a shard channel
SSUBSCRIBE Pub/Sub Listens for messages published to shard channels.
SUBSCRIBE Pub/Sub Listens for messages published to channels.
SUNSUBSCRIBE Pub/Sub Stops listening to messages posted to shard channels.
UNSUBSCRIBE Pub/Sub Stops listening to messages posted to channels.
EVAL Scripting & Functions Executes a server-side Lua script.
EVAL_RO Scripting & Functions Executes a read-only server-side Lua script.
EVALSHA Scripting & Functions Executes a server-side Lua script by SHA1 digest.
EVALSHA_RO Scripting & Functions Executes a read-only server-side Lua script by SHA1 digest.
FCALL Scripting & Functions Invokes a function.
FCALL_RO Scripting & Functions Invokes a read-only function.
FUNCTION DELETE Scripting & Functions Deletes a library and its functions.
FUNCTION DUMP Scripting & Functions Dumps all libraries into a serialized binary payload.
FUNCTION FLUSH Scripting & Functions Deletes all libraries and functions.
FUNCTION KILL Scripting & Functions Terminates a function during execution.
FUNCTION LIST Scripting & Functions Returns information about all libraries.
FUNCTION LOAD Scripting & Functions Creates a library.
FUNCTION RESTORE Scripting & Functions Restores all libraries from a payload.
FUNCTION STATS Scripting & Functions Returns information about a function during execution.
SCRIPT DEBUG Scripting & Functions Sets the debug mode of server-side Lua scripts.
SCRIPT EXISTS Scripting & Functions Determines whether server-side Lua scripts exist in the script cache.
SCRIPT FLUSH Scripting & Functions Removes all server-side Lua scripts from the script cache.
SCRIPT KILL Scripting & Functions Terminates a server-side Lua script during execution.
SCRIPT LOAD Scripting & Functions Loads a server-side Lua script to the script cache.
ACL CAT Server Management Lists the ACL categories, or the commands inside a category.
ACL DELUSER Server Management Deletes ACL users, and terminates their connections.
ACL DRYRUN Server Management Simulates the execution of a command by a user, without executing the command.
ACL GENPASS Server Management Generates a pseudorandom, secure password that can be used to identify ACL users.
ACL GETUSER Server Management Lists the ACL rules of a user.
ACL LIST Server Management Dumps the effective rules in ACL file format.
ACL LOAD Server Management Reloads the rules from the configured ACL file.
ACL LOG Server Management Lists recent security events generated due to ACL rules.
ACL SAVE Server Management Saves the effective ACL rules in the configured ACL file.
ACL SETUSER Server Management Creates and modifies an ACL user and its rules.
ACL USERS Server Management Lists all ACL users.
ACL WHOAMI Server Management Returns the authenticated username of the current connection.
BGREWRITEAOF Server Management Asynchronously rewrites the append-only file to disk.
BGSAVE Server Management Asynchronously saves the database(s) to disk.
COMMAND Server Management Returns detailed information about all commands.
COMMAND COUNT Server Management Returns a count of commands.
COMMAND DOCS Server Management Returns documentary information about one, multiple or all commands.
COMMAND GETKEYS Server Management Extracts the key names from an arbitrary command.
COMMAND GETKEYSANDFLAGS Server Management Extracts the key names and access flags for an arbitrary command.
COMMAND INFO Server Management Returns information about one, multiple or all commands.
COMMAND LIST Server Management Returns a list of command names.
CONFIG GET Server Management Returns the effective values of configuration parameters.
CONFIG RESETSTAT Server Management Resets the server's statistics.
CONFIG REWRITE Server Management Persists the effective configuration to file.
CONFIG SET Server Management Sets configuration parameters in-flight.
DBSIZE Server Management Returns the number of keys in the database.
FAILOVER Server Management Starts a coordinated failover from a server to one of its replicas.
FLUSHALL Server Management Removes all keys from all databases.
FLUSHDB Server Management Remove all keys from the current database.
INFO Server Management Returns information and statistics about the server.
LASTSAVE Server Management Returns the Unix timestamp of the last successful save to disk.
LATENCY DOCTOR Server Management Returns a human-readable latency analysis report.
LATENCY GRAPH Server Management Returns a latency graph for an event.
LATENCY HISTOGRAM Server Management Returns the cumulative distribution of latencies of a subset or all commands.
LATENCY HISTORY Server Management Returns timestamp-latency samples for an event.
LATENCY LATEST Server Management Returns the latest latency samples for all events.
LATENCY RESET Server Management Resets the latency data for one or more events.
LOLWUT Server Management Displays computer art and the Redis version
MEMORY DOCTOR Server Management Outputs a memory problems report.
MEMORY MALLOC-STATS Server Management Returns the allocator statistics.
MEMORY PURGE Server Management Asks the allocator to release memory.
MEMORY STATS Server Management Returns details about memory usage.
MEMORY USAGE Server Management Estimates the memory usage of a key.
MODULE LIST Server Management Returns all loaded modules.
MODULE LOAD Server Management Loads a module.
MODULE LOADEX Server Management Loads a module using extended parameters.
MODULE UNLOAD Server Management Unloads a module.
MONITOR Server Management Listens for all requests received by the server in real-time.
PSYNC Server Management An internal command used in replication.
REPLCONF Server Management An internal command for configuring the replication stream.
REPLICAOF Server Management Configures a server as replica of another, or promotes it to a master.
RESTORE-ASKING Server Management An internal command for migrating keys in a cluster.
ROLE Server Management Returns the replication role.
SAVE Server Management Synchronously saves the database(s) to disk.
SHUTDOWN Server Management Synchronously saves the database(s) to disk and shuts down the Redis server.
SLAVEOF Server Management Sets a Redis server as a replica of another, or promotes it to being a master.
SLOWLOG GET Server Management Returns the slow log's entries.
SLOWLOG LEN Server Management Returns the number of entries in the slow log.
SLOWLOG RESET Server Management Clears all entries from the slow log.
SWAPDB Server Management Swaps two Redis databases.
SYNC Server Management An internal command used in replication.
TIME Server Management Returns the server time.
SADD Set Adds one or more members to a set. Creates the key if it doesn't exist.
SCARD Set Returns the number of members in a set.
SDIFF Set Returns the difference of multiple sets.
SDIFFSTORE Set Stores the difference of multiple sets in a key.
SINTER Set Returns the intersect of multiple sets.
SINTERCARD Set Returns the number of members of the intersect of multiple sets.
SINTERSTORE Set Stores the intersect of multiple sets in a key.
SISMEMBER Set Determines whether a member belongs to a set.
SMEMBERS Set Returns all members of a set.
SMISMEMBER Set Determines whether multiple members belong to a set.
SMOVE Set Moves a member from one set to another.
SPOP Set Returns one or more random members from a set after removing them. Deletes the set if the last member was popped.
SRANDMEMBER Set Get one or multiple random members from a set
SREM Set Removes one or more members from a set. Deletes the set if the last member was removed.
SSCAN Set Iterates over members of a set.
SUNION Set Returns the union of multiple sets.
SUNIONSTORE Set Stores the union of multiple sets in a key.
BZMPOP Sorted Set Removes and returns a member by score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.
BZPOPMAX Sorted Set Removes and returns the member with the highest score from one or more sorted sets. Blocks until a member available otherwise. Deletes the sorted set if the last element was popped.
BZPOPMIN Sorted Set Removes and returns the member with the lowest score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.
ZADD Sorted Set Adds one or more members to a sorted set, or updates their scores. Creates the key if it doesn't exist.
ZCARD Sorted Set Returns the number of members in a sorted set.
ZCOUNT Sorted Set Returns the count of members in a sorted set that have scores within a range.
ZDIFF Sorted Set Returns the difference between multiple sorted sets.
ZDIFFSTORE Sorted Set Stores the difference of multiple sorted sets in a key.
ZINCRBY Sorted Set Increments the score of a member in a sorted set.
ZINTER Sorted Set Returns the intersect of multiple sorted sets.
ZINTERCARD Sorted Set Returns the number of members of the intersect of multiple sorted sets.
ZINTERSTORE Sorted Set Stores the intersect of multiple sorted sets in a key.
ZLEXCOUNT Sorted Set Returns the number of members in a sorted set within a lexicographical range.
ZMPOP Sorted Set Returns the highest- or lowest-scoring members from one or more sorted sets after removing them. Deletes the sorted set if the last member was popped.
ZMSCORE Sorted Set Returns the score of one or more members in a sorted set.
ZPOPMAX Sorted Set Returns the highest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.
ZPOPMIN Sorted Set Returns the lowest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.
ZRANDMEMBER Sorted Set Returns one or more random members from a sorted set.
ZRANGE Sorted Set Returns members in a sorted set within a range of indexes.
ZRANGEBYLEX Sorted Set Returns members in a sorted set within a lexicographical range.
ZRANGEBYSCORE Sorted Set Returns members in a sorted set within a range of scores.
ZRANGESTORE Sorted Set Stores a range of members from sorted set in a key.
ZRANK Sorted Set Returns the index of a member in a sorted set ordered by ascending scores.
ZREM Sorted Set Removes one or more members from a sorted set. Deletes the sorted set if all members were removed.
ZREMRANGEBYLEX Sorted Set Removes members in a sorted set within a lexicographical range. Deletes the sorted set if all members were removed.
ZREMRANGEBYRANK Sorted Set Removes members in a sorted set within a range of indexes. Deletes the sorted set if all members were removed.
ZREMRANGEBYSCORE Sorted Set Removes members in a sorted set within a range of scores. Deletes the sorted set if all members were removed.
ZREVRANGE Sorted Set Returns members in a sorted set within a range of indexes in reverse order.
ZREVRANGEBYLEX Sorted Set Returns members in a sorted set within a lexicographical range in reverse order.
ZREVRANGEBYSCORE Sorted Set Returns members in a sorted set within a range of scores in reverse order.
ZREVRANK Sorted Set Returns the index of a member in a sorted set ordered by descending scores.
ZSCAN Sorted Set Iterates over members and scores of a sorted set.
ZSCORE Sorted Set Returns the score of a member in a sorted set.
ZUNION Sorted Set Returns the union of multiple sorted sets.
ZUNIONSTORE Sorted Set Stores the union of multiple sorted sets in a key.
XACK Stream Returns the number of messages that were successfully acknowledged by the consumer group member of a stream.
XADD Stream Appends a new message to a stream. Creates the key if it doesn't exist.
XAUTOCLAIM Stream Changes, or acquires, ownership of messages in a consumer group, as if the messages were delivered to as consumer group member.
XCLAIM Stream Changes, or acquires, ownership of a message in a consumer group, as if the message was delivered a consumer group member.
XDEL Stream Returns the number of messages after removing them from a stream.
XGROUP CREATE Stream Creates a consumer group.
XGROUP CREATECONSUMER Stream Creates a consumer in a consumer group.
XGROUP DELCONSUMER Stream Deletes a consumer from a consumer group.
XGROUP DESTROY Stream Destroys a consumer group.
XGROUP SETID Stream Sets the last-delivered ID of a consumer group.
XINFO CONSUMERS Stream Returns a list of the consumers in a consumer group.
XINFO GROUPS Stream Returns a list of the consumer groups of a stream.
XINFO STREAM Stream Returns information about a stream.
XLEN Stream Return the number of messages in a stream.
XPENDING Stream Returns the information and entries from a stream consumer group's pending entries list.
XRANGE Stream Returns the messages from a stream within a range of IDs.
XREAD Stream Returns messages from multiple streams with IDs greater than the ones requested. Blocks until a message is available otherwise.
XREADGROUP Stream Returns new or historical messages from a stream for a consumer in a group. Blocks until a message is available otherwise.
XREVRANGE Stream Returns the messages from a stream within a range of IDs in reverse order.
XSETID Stream An internal command for replicating stream values.
XTRIM Stream Deletes messages from the beginning of a stream.
DISCARD Transactions Discards a transaction.
EXEC Transactions Executes all commands in a transaction.
MULTI Transactions Starts a transaction.
UNWATCH Transactions Forgets about watched keys of a transaction.
WATCH Transactions Monitors changes to keys to determine the execution of a transaction.

About

Kiwi πŸ₯ is a type-safe key-value in-memory data structure store written in Rust πŸ¦€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages