InterviewSolution
| 1. |
What Do You Mean By Data Modeling In Redis? |
|
Answer» Just like any other database, data modeling represents the storage pattern of how and which data structures are USED to store the data to ACHIEVE a domain requirement. For example in relational database world, we use PRIMARY key to ESTABLISH a relationship between two entities. Data STORED in relational databases are in table format, where as in Redis there are set of data structures available, which are used to represent the domain data. There is certainly different design mindset needed to convert the relational data to a Redis dataset. Just like any other database, data modeling represents the storage pattern of how and which data structures are used to store the data to achieve a domain requirement. For example in relational database world, we use primary key to establish a relationship between two entities. Data stored in relational databases are in table format, where as in Redis there are set of data structures available, which are used to represent the domain data. There is certainly different design mindset needed to convert the relational data to a Redis dataset. |
|