Skip to content

azwarnrst/redis_csv_toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple csv toolkit

  • import shop id from csv file into redis
  • csv file is a single column contains list of Shop ID

command

go build && ./redis_csv_toolkit --in=shop_id.csv --limit=400000 --host=127.0.0.1 --port=6379 --ttl=10
  • --in : input filename (mandatory)
  • --limit : max concurrent key to insert (default : 30.000)
  • --host : remote redis host (default: localhost, can changed from config)
  • --port : remote redis port (default: 6379, can changed from config)
  • --ttl : redis key expiration time in second, (default = 0, no expiration time)

About

dump csv into redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages