Cassandra data model for simple messaging app

后端 未结 2 1970
执念已碎
执念已碎 2021-02-04 05:06

I am trying to learn Cassandra and always find the best way is to start with creating a very simple and small application. Hence I am creating a basic messaging application whic

2条回答
  •  醉梦人生
    2021-02-04 05:54

    For cassandra or noSQL data modelling beginners, there is a process involved in data modelling your application, like

    1- Understand your data, design a concept diagram
    2- List all your quires in detail
    3- Map your queries using defined rules and patterns, best suitable for cassandra
    4- Create a logical design, table with fields derived from queries
    5- Now create a schema and test its acceptance.

    if we model it well, then it is easy to handle issues such as new complex queries, data over loading, data consistency setc.

    After taking this free online data modelling training, you will get more clarity

    https://academy.datastax.com/courses/ds220-data-modeling

    Good Luck!

提交回复
热议问题