Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

An Overview of Apache Cassandra

35,660 views

Published on

This presentation provides a brief overview of the Apache Cassandra database.

Published in: Technology
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating direct: ❶❶❶ http://bit.ly/36cXjBY ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/36cXjBY ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

An Overview of Apache Cassandra

  1. 1. Cassandra EssentialsTutorial Series An Overview ofApache Cassandra
  2. 2. Agenda What is Cassandra? History Architecture Key Features and Benefits Who’s using Cassandra? Where to get Cassandra
  3. 3. Definition of CassandraApache Cassandra™ is a freeDistributed…High performance…Extremely scalable…Fault tolerant (i.e. no single point of failure)…post-relational database solution. Cassandra can serveas both real-time datastore (the “system of record”) foronline/transactional applications, and as a read-intensive database for business intelligence systems.
  4. 4. The History of Cassandra Bigtable Dynamo
  5. 5. Architecture Overview Cassandra was designed with the understanding that system/hardware failures can and do occur Peer-to-peer, distributed system All nodes the same Data partitioned among all nodes in the cluster Custom data replication to ensure fault tolerance Read/Write-anywhere design
  6. 6. Architecture Overview Each node communicates with each other through the Gossip protocol, which exchanges information across the cluster every second A commit log is used on each node to capture write activity. Data durability is assured Data also written to an in-memory structure (memtable) and then to disk once the memory structure is full (an SStable)
  7. 7. Architecture Overview The schema used in Cassandra is mirrored after Google Bigtable. It is a row-oriented, column structure A keyspace is akin to a database in the RDBMS world A column family is similar to an RDBMS table but is more flexible/dynamic A row in a column family is indexed by its key. Other columns may be indexed as well Portfolio Keyspace Customer Column Family ID Name SSN DOB
  8. 8. Why Cassandra? Gigabyte to Petabyte scalability Linear performance gains through adding nodes No single point of failure Easy replication / data distribution Multi-data center and Cloud capable No need for separate caching layer Tunable data consistency Flexible schema design Data Compression CQL language (like SQL) Support for key languages and platforms No need for special hardware or software
  9. 9. Big Data Scalability Capable of comfortably scaling to petabytes New nodes = Linear performance increases Add new nodes online 1 1 2 4 Double Throughput Capabilities 2 3
  10. 10. No Single Point of Failure Allnodes the same Customized replication affords tunable data redundancy Read/write from any node Can replicate data among different physical data center racks
  11. 11. Easy Replication / Data Distribution Transparently handled by Cassandra Multi-data center capable Exploits all the benefits of Cloud computing Able to do hybrid Cloud/On-premise setup
  12. 12. No Need for Caching Software Peer-to-peer architecture removes need for special caching layer and the programming that goes with it The database cluster uses the memory from all participating nodes to cache the data assigned to each node No irregularities between a memory cache and database are encountered Application ServersReads Writes Memcached Servers Database Server
  13. 13. Tunable Data Consistency Choose between strong and eventual consistency (All to any node responding) depending on the need Can be done on a per-operation basis, and for both reads and writes Handles Multi-data center operations 1 6 2 Writes Reads  Any  One 5 3  One  Quorum  Quorum  Local_Quorum Local_Quorum Each_Quorum 4    Each_Quorum  All  All
  14. 14. Flexible Schema Dynamic schema design allows for much more flexible data storage than rigid RDBMS Handles structured, semi-structured, and unstructured data. Counters also supported No offline/downtime for schema changes Supports primary and secondary indexes Portfolio Keyspace Customer Column Family ID Name SSN DOB
  15. 15. Data Compression Uses Google’s Snappy data compression algorithm Compresses data on a per column family level Internal tests at DataStax show up to 80%+ compression of raw data No performance penalty (and some increases in overall performance due to less physical I/O)!
  16. 16. CQL Language Verysimilar to RDBMS SQL syntax Create objects via DDL (e.g. CREATE…) Core DML commands supported: INSERT, UPDATE, DELETE Query data with SELECT 1 6 2 SELECT * FROM USERS 5 WHERE STATE = ‘TX’; 3 4
  17. 17. Who’s Using Cassandra?http://www.datastax.com/cassandrausers#all
  18. 18. Where to get Cassandra? Go to www.datastax.com DataStax makes free smart start installers available for Cassandra that include:  The most up-to-date Cassandra version that is production quality  A version of DataStax OpsCenter, which is a visual, browser-based management tool for managing and monitoring Cassandra  Drivers and connectors for popular development languages  Same database and application  Automatic configuration assistance for ensuring optimal performance and setup for either stand- alone or cluster implementations  Getting Started Guide
  19. 19. Where Can I Learn More? www.datastax.com  Free Online Documentation  Technical White Papers  Technical Articles  Tutorials  User Forums  User/Customer Case Studies  FAQ’s  Videos  Blogs  Software downloads
  20. 20. Cassandra EssentialsTutorial SeriesAn Overview ofApache CassandraThanks…!

×