GitHub user ninuxer closed a discussion: How can I improve the performance of 
the kvrocks2redis tool?

When migrating data from Kvrocks to Redis or in other migration scenarios, our 
tests show that the parsing throughput of the kvrocks2redis tool is 
approximately 5,000/s. If the write rate on the source Kvrocks instance exceeds 
this parsing capability, synchronization will never catch up, meaning the 
migration can never complete. How can I improve the parsing performance of 
kvrocks2redis? Or am I using it incorrectly in some way?

my config file like this:
```
############################### GENERAL #####################################

# The value should be INFO, WARNING, ERROR, FATAL.
#
# Default: INFO
log-level INFO

# By default kvrocks2redis does not run as a daemon. Use 'yes' if you need it.
# Note that kvrocks2redis will write a pid file in /var/run/kvrocks2redis.pid 
when daemonized.
#
# Default: no
daemonize no

# The kvrocks working directory.
# Note that you must specify a directory here, not a file name.
#
# Default: ./data
data-dir /data2/kvrocks/data

# Intermediate files are output to this directory when the kvrocks2redis 
program runs.
#
# Default: ./
output-dir ./

kvrocks 127.0.0.1 6666 XXX

# Enable cluster mode.
#
# Default: no
cluster-enabled yes

################################ NAMESPACE AND Sync Target Redis 
#####################################
# Synchronize the specified namespace data to the specified Redis DB.
# Warning: It will flush the target redis DB data.
#
# namespace.{namespace} <redis_ip> <redis_port> [<redis_auth> <redis_db_number>]
# Default redis_db_number is 0
namespace.__namespace x.x.x.x xxxx xxx
```

GitHub link: https://github.com/apache/kvrocks/discussions/3274

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to