c# - StackExchange.Redis StringSet Maximum Array Size -


for redis users , stackexchange.redis driver users, trying initialize cache doing mass insertion. so, have tried stringset array of 20000 keyvalue , it's failing time out.

my understanding using array, doing mset command should faster 20k set commands. it? has running issue? how should solve it?

thanks help.

the difference between multiple set , mset not big think - 10 bytes per item bandwidth, , if use pipelining (perhaps fireandforget command option): 0 latency. switch batches of (say) 100 items: again, have additional overhead of 10 bytes per batch, nothing - , these batches also pipelined if want. in either pipelined case, se.redis work minimise packet fragmentation etc. basically, change make here is: don't sent massive batches. send multiple smaller batches. huge batch isn't going give benefit imagine.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -