How many Autocomplete dictionary can I create?

24 views
Skip to first unread message

phqnha

unread,
Oct 23, 2019, 4:27:37 AM10/23/19
to RediSearch Discussion Forum
Hello,

We would like to create a separated Autocomplete dictionary for each user, to store their search terms history. Assuming we have roundly 2 million users and each of them should have 5 history terms, is it possible and recommend storing as many dictionaries in a redis server?

Best,

Meir Shpilraien

unread,
Oct 23, 2019, 5:24:20 AM10/23/19
to RediSearch Discussion Forum
The only limitation is the amount of memory you have, as long as you have enough memory to create 2 millions keys (each dictionary is a key in redis) with 5 terms each, there should be no issue with it.

Dvir Volk

unread,
Oct 24, 2019, 6:56:09 PM10/24/19
to Meir Shpilraien, RediSearch Discussion Forum
In terms of limitations it is fine, and has the advantage of sharding well. 
It does incur a lot of overhead in terms of memory, but it will work. 


--
You received this message because you are subscribed to the Google Groups "RediSearch Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redisearch+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redisearch/1611c5c7-e7de-469d-8f48-3384024abff0%40googlegroups.com.


--
Dvir Volk
Chief Architect, Everything.me
Reply all
Reply to author
Forward
0 new messages