Saturday, September 24, 2016

Cassandra interview questions




Distributed Systems Concepts :

1. What will happen when nodes goes down and does not respond to co-coordinator node ?
2. What  synchronization is used in Cassandra nodes ? NTP or vector clock ?
3. How decide nodes in cluster with requirements for read and write load ?
4. What is CAP theorem ? Is it possible to achieve all three ? if not why ?
5. What is eventual consistency ?
6. How to tune read and write consistency in Cassandra ? How to get stronger consistency ? if we get strongest consistency level then how we will sacrifice  availability
7. What kind of hashing is used in Cassandra ?
8. What is consistent hashing  ?
9. Why write are faster in Cassandra ? Describe write path ?
9. Why read are slower  in Cassandra ? Describe read path ?
10. Compare read/write path in Cassandra and in mysql ?
11. When to choose Cassandra over mysql ?
12. Which consistency model Cassandra uses ? CA , AP and CP ? and why ? 
13. When some nodes are down , how Cassandra do replication ?
14. What is hinted hand off in Cassandra ?
15. What are consistency levels ? Are consistency levels per query or global ?
16. What are differences between ALL , QUORUM and ONE  what is effect on performance ?
17.  If my replication factor is 3 then In case of ONE  consistency level will Cassandra replicate  to 3 nodes ?
18. How to handle OLTP and OLAP load  ? what could be strategy ?

No comments: