The Beginning of Cassandra - Use Kundera? Something other?

We are in the process of keeping our feet wet from Cassandra. None of us have experience with this particular platform, but there are experienced developers with JavaEE, JPA, etc. I came across a Kundera library that provides a JPA implementation compatible with several NoSQL data stores, including Cassandra.

It is tempting to go down this route, as we can get up and work faster and faster. However, is this the right idea? What are the tradeoffs of using a library? How does this affect performance? Is there a huge difference?

I am curious to know what others had in this library. And, if there is anything else that we should look at, I would like to hear about it.

+6
source share
3 answers

Taking Jonathan (jbellis) to the next level, IMHO, the goal of ORM, such as hibernate or JPA, is to hide the complexities of SQL, as application developers do best with objects, not with SQL. Similarly, kundera hides the complexity of NoSQL, but in an intelligent way that allows you to use the power of NoSQL, but still makes it easier for developers to use the traditional RDBMS paradigm. However, as Jonathan mentions, you still need to understand the concepts of Cassandra data modeling, otherwise you will end up creating another SQL monster even over Cassandra. Kundera helps in this NoSQL simulation using optimization methods such as built-in or one-to-many, which are automatically converted to multiple columns rather than creating new Columnfamilies (equivalent to RDBMS tables), which allows you to bypass the creation of a physical relational model. "The tool is as good as the skills of the master / woman using it!"

+9
source

Use the native CQL driver and read the data modeling documentation . Pretending to be Kassandra as a relational database, as Kundera does, is a great way to paint yourself in the corner without knowing how you got there.

+8
source

PlayOrm is a noSql display layer and is not specifically for JPA, following many noSQL patterns. noSQL is not relational. In fact, it probably shouldn't have an R in PlayORM, as it is not truly relational in its entirety. However, you still have a relationship in noSQL. It is not just a DBMS.

+2
source

Source: https://habr.com/ru/post/944057/


All Articles