Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra and asp.net (C#)

I am interested to create portal on cassandra services, since I faced some performance and scale issues starting from 1 million of records. Definitely, it could be solved, but I am interested on other options.

My main issues is cost of updating all necessary indexes, to make reading fast.

First, is cassandra is good way for asp.net programmers? I mean, maybe there is some other projects, which worth to take a look

And second, can you provide any documentation samples on how to start with cassandra programming from C#?

like image 783
st78 Avatar asked Mar 29 '10 16:03

st78


People also ask

Does Netflix still use Cassandra?

Cassandra, with its distributed architecture, was a natural choice, and by 2013, most of Netflix's data was housed there, and Netflix still uses Cassandra today.

When should you not use Cassandra?

When you want many-to-many mappings or join tables. Cassandra doesn't support a relational schema with foreign keys and join tables. So if you want to write a lot of complex join queries, then Cassandra might not be the right database for you.

Which language is used in Cassandra?

The Cassandra Query Language (CQL) is the primary language for communicating with the Apache Cassandra™ database. The most basic way to interact with Apache Cassandra is using the CQL shell, cqlsh. Using cqlsh, you can create keyspaces and tables, insert and query tables, plus much more.

Is Facebook still using Cassandra?

Though Facebook has all but abandoned Cassandra, the technology has gone on to power critical web infrastructure at companies like Twitter, Netflix, even Apple. And DataStax has built a version of the tool for all sorts of other businesses.


2 Answers

since I faced performance and scale issues starting from 1 million of records.

Maybe your design was not that good, NoSQL is not a magic bullet for bad design. I have multi billion row tables and 95% of the response is sub second. Also what do you mean by updating indexes, do you mean updating statistics or rebuilding indexes?

like image 133
SQLMenace Avatar answered Nov 30 '22 21:11

SQLMenace


since I faced performance and scale issues starting from 1 million of records.

You know, the one million mark for modern databases is where it is not something "totally ridiculously small" where you can ignore actually knowing what you do. Below one million is "tiny". I have a 800 million row table and get a LOT of sql running through with it - no problem at all.

First, is cassandra is good way for asp.net programmers?

I would more suggest a basic book about SQL, reading the documentation and POSSIBLY throwing some hardware on the problem. As in: having totally bad hardware will kill all data management systems.

like image 27
TomTom Avatar answered Nov 30 '22 21:11

TomTom