Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Redis

Updated on 2024-04-23 GMT+08:00

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

  1. Log in to the new ROMA Connect console.
  2. In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
  3. Select the Redis connector.
  4. 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

  • zadd
  • zrem
  • zcard
  • zrangebyscore/zrevrangebyscore
  • zrange/zrevrange
  • Key: name of the sorted set.
  • Value: member value of an element.
  • Score: score of an element.
  • Start Index: lowest score.
  • End Index: highest score.

Set

  • srem
  • sismember
  • srandmember
  • spop
  • sadd
  • Key: name of the set.
  • Value: member value of an element.

Hash

  • hdel
  • hlen
  • hset/hsetnx
  • hincrby
  • hget
  • hgetall
  • Key: name of the hash.
  • Field Name: value of the key in the hash.
  • Value: value corresponding to the key in the hash.
  • No operation is performed when the key exists: No: zset; Yes: zsetnx
  • Increment: adds a specified value to a numeric field in the hash.

List

  • lrange
  • lpop/rpop
  • lpush/rpush
  • lrem
  • llen
  • lindex
  • leset
  • Table Name: name of a data table in the database.
  • Data to Insert: value of each field in the target record of the insert operation.

String

  • set/setnx
  • append
  • setbit
  • get
  • incrby
  • decrby
  • getrange
  • strlen
  • Key: name of the character string.
  • Value: value of the character string.
  • Timeout (s): expiration time of the character string.
  • No operation is performed when the key exists: No: set; Yes: setnx

Key

  • del
  • lrem
  • expire
  • expireat
  • ttl
  • persist

Key: name of the key.

Kami menggunakan cookie untuk meningkatkan kualitas situs kami dan pengalaman Anda. Dengan melanjutkan penelusuran di situs kami berarti Anda menerima kebijakan cookie kami. Cari tahu selengkapnya

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback