How to set and get massive number of key-value pair efficiently

20 views
Skip to first unread message

James Charles

unread,
May 11, 2021, 12:21:03 PM5/11/21
to Redis DB

Hi,

I have million of key value pairs and I need to set or get them into Redis quickly. Any thoughts are appreciated.

Thanks
James

Jonathan Mendoza

unread,
May 11, 2021, 12:38:17 PM5/11/21
to redi...@googlegroups.com
MSET is your tool.

Quickly?  No idea what time scale you are looking for.

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-db/62e33d5e-8a88-43aa-8f60-675aa6a72596n%40googlegroups.com.

rob...@spadim.com.br

unread,
May 11, 2021, 12:57:03 PM5/11/21
to Redis DB
the "fast" way to include data into redis, is make your data producer a redis server, try a redis server lib in this case, or in general case, use the MSET tool 
Reply all
Reply to author
Forward
0 new messages