Importance of Key Selection

5 min to complete

Collections describe a group of items connected to a single key. If used correctly, they can help simplify data modeling.
Remember to use the appropriate collection per use case.
Keep collections small to prevent high latency during querying the data

Sets are ordered alphabetically or based on the natural sorting method of the type. Examples: multiple email addresses or phone numbers per user.
Lists are ordered objects based on the user’s definition
Maps is a name and a pair of typed values, they are very helpful with sequential events logging

 

 

Transcript
fa-angle-up