Redis
The Redis connector is used to connect to a Redis database, helping applications quickly and efficiently interact with the Redis database.
- Redis is a high-performance key-value storage system. It is often used in scenarios such as caching, session management, real-time message transfer, and rankings. Redis supports multiple data structures, including strings, hash tables, lists, sets, and sorted sets. It also provides advanced functions such as transactions, publish/subscription, Lua script execution, persistence, and clustering.
- The default Redis port number is 6379. The administrator can change the port number as required.
Creating a Redis Connection
- Log in to the new ROMA Connect console.
- In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
- Select the Redis connector.
- In the dialog box displayed, configure the connector and click OK.
Parameter
Description
Name
Enter the connector instance name.
Host IP Address
Enter the IP address of the database.
Port
Enter the port number to which the database is connected.
Database
Enter the name of the database to be connected.
Password
Password for connecting to the database.
Description
Enter the description of the connector to identify it.
Action
- Basic operations on sorted sets
- Basic operations on sets
- Basic operations on hashes
- Basic operations on lists
- Basic operations on strings
- Basic operations on keys
- Basic operations on strings
Configuration Parameters
The following configuration is equivalent to the ZADD key score member command to add an element to a sorted set. key indicates the name of the sorted set, score indicates the score of the element, and member indicates the member value of the element. This configuration means to add the element apple to the sorted set myset and the score of this element is 3.
Parameter |
Description |
---|---|
Sorted set
|
|
Set
|
|
Hash
|
|
List
|
|
String
|
|
Key
|
Key: name of the key. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot