Buy new:
-60% $19.99
Delivery Wednesday, October 2
Ships from: Amazon
Sold by: Green Namu
$19.99 with 60 percent savings
List Price: $49.99
The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
FREE International Returns
No Import Charges & $7.30 Shipping to Canada Details

Shipping & Fee Details

Price $19.99
AmazonGlobal Shipping $7.30
Estimated Import Charges $0.00
Total $27.29

Delivery Wednesday, October 2. Order within 8 hrs 49 mins
Only 1 left in stock - order soon.
$$19.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$19.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$16.47
FREE International Returns
This item shows wear including some highlighting or writing. This item shows wear including some highlighting or writing. See less
Delivery Monday, October 7. Order within 4 hrs 34 mins
Only 1 left in stock - order soon.
$$19.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$19.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Other sellers on Amazon
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

Something went wrong. Please try your request again later.

Cassandra: The Definitive Guide: Distributed Data at Web Scale 2nd Edition

4.4 4.4 out of 5 stars 87 ratings

There is a newer edition of this item:

{"desktop_buybox_group_1":[{"displayPrice":"$19.99","priceAmount":19.99,"currencySymbol":"$","integerValue":"19","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"LUfyzYNqh4vwNLFhuZ%2FC2MJnoJH8BUeB8DDe7LHUuiO125yf6MpQ0ZVz6tBDiGy8ZAHm2%2FEUNY%2Fa7tF%2BcuR69KBMPs6wRRikSKvWoWmmQvyqyxQiwDytLd0mUyHQqfI89pWvd7t78dEEFQCR8hwNsSch2hDwX5PYvY%2BrYaQVl9hzqPX8%2B7dd3a6rWhyU6e%2F8","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$16.47","priceAmount":16.47,"currencySymbol":"$","integerValue":"16","decimalSeparator":".","fractionalValue":"47","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"LUfyzYNqh4vwNLFhuZ%2FC2MJnoJH8BUeBpNRRxcYUaryezDkxVP80PeUQxyDl1vsI6mzJS8TFuz0cPlrCiG2XI3pP%2FBHbRz1Ml5nfFcPUeMBlgXZaXiBmIWYjFL1MJwT%2Fte1lJ7Tc7qxdCdblv7hJeYfG0chCcVJvnSmkRPJW6zWHMq%2B%2FLrYAChm4qe8Y3eUX","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Imagine what you could do if scalability wasn't a problem. With this hands-on guide, you’ll learn how the Cassandra database management system handles hundreds of terabytes of data while remaining highly available across multiple data centers. This expanded second edition―updated for Cassandra 3.0―provides the technical details and practical examples you need to put this database to work in a production environment.

Authors Jeff Carpenter and Eben Hewitt demonstrate the advantages of Cassandra’s non-relational design, with special attention to data modeling. If you’re a developer, DBA, or application architect looking to solve a database scaling issue or future-proof your application, this guide helps you harness Cassandra’s speed and flexibility.

  • Understand Cassandra’s distributed and decentralized structure
  • Use the Cassandra Query Language (CQL) and cqlsh―the CQL shell
  • Create a working data model and compare it with an equivalent relational model
  • Develop sample applications using client drivers for languages including Java, Python, and Node.js
  • Explore cluster topology and learn how nodes exchange data
  • Maintain a high level of performance in your cluster
  • Deploy Cassandra on site, in the Cloud, or with Docker
  • Integrate Cassandra with Spark, Hadoop, Elasticsearch, Solr, and Lucene

Frequently bought together

This item: Cassandra: The Definitive Guide: Distributed Data at Web Scale
$19.99
Get it as soon as Wednesday, Oct 2
Only 1 left in stock - order soon.
Sold by Green Namu and ships from Amazon Fulfillment.
+
$39.99
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
One of these items ships sooner than the other.
Choose items to buy together.

Editorial Reviews

About the Author

Jeff Carpenter is a software and systems architect with experience in the hospitality and defense industries. Jeff cut his teeth as an architect in the early days of Service-Oriented Architecture (SOA) and has worked on projects ranging from a complex battle planning system in an austere network environment, to a cloud-based hotel reservation system. Jeff is passionate about projects and technologies that change industries, helping troubled projects find architectural solutions, and mentoring other architects and developers.

Eben Hewitt is Director of Application Architecture at a publicly traded company where he is responsible for the design of their mission-critical, global-scale web, mobile and SOA integration projects. He has written several programming books, including Java SOA Cookbook (O'Reilly).

Product details

  • Publisher ‏ : ‎ O'Reilly Media; 2nd edition (August 16, 2016)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 367 pages
  • ISBN-10 ‏ : ‎ 1491933666
  • ISBN-13 ‏ : ‎ 978-1491933664
  • Item Weight ‏ : ‎ 1.47 pounds
  • Dimensions ‏ : ‎ 5.91 x 0.59 x 9.84 inches
  • Customer Reviews:
    4.4 4.4 out of 5 stars 87 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.4 out of 5 stars
87 global ratings

Customers say

Customers find the book very good and excellent. They say it provides a useful resource for anyone new to Cassandra and an excellent overview of the technology.

AI-generated from the text of customer reviews

Select to learn more
6 customers mention "Readability"6 positive0 negative

Customers find the book very good and excellent. They say it provides good background on Cassandra's internal architecture details.

"Awesome book, it'll give you an overview of Cassandra, what it is and how it works internally...." Read more

"...It can be a bit overwhelming to start with but definitely worth the read if you are going to use Cassandra" Read more

"...The text is quite engaging and enjoyable to read...." Read more

"a massive steak dinner of a book about Cassandra. A very good read for anyone getting into this technology." Read more

4 customers mention "Knowledge base"4 positive0 negative

Customers find the knowledge base useful for anyone new to Cassandra. They say it provides an excellent overview of Cassandra and is an excellent guide to learn and understand it.

"Rated 5 because I enjoyed reading it and it gave an excellent overview of Cassandra. Would recommend this to anyone that is new to Cassandra." Read more

"A useful resource for anyone new to Cassandra...." Read more

"Decent intro book to Cassandra. We are starting to proof out Cassandra at work and this book has benefited me." Read more

"Excellent Guide to learn and understand Cassandra..." Read more

Top reviews from the United States

Reviewed in the United States on October 13, 2016
Tried to catch up Cassandra using couple of books and this is the one which is way better than the others. This book covers both plan/design, installation of Cassandra and integrate with other tools.
I would suggest this book as a must buy for anyone who wants to learns about Cassandra. If possible try to grab the Kindle edition which allows you to read across platforms.
2 people found this helpful
Report
Reviewed in the United States on July 1, 2017
Awesome book, it'll give you an overview of Cassandra, what it is and how it works internally. That's required as it's quite different from the rest of the DBs. Cover both introductory and more advanced topics!
Reviewed in the United States on March 13, 2017
Excellent book with good background on Cassandra's internal architecture detail. It can be a bit overwhelming to start with but definitely worth the read if you are going to use Cassandra
One person found this helpful
Report
Reviewed in the United States on December 18, 2016
Rated 5 because I enjoyed reading it and it gave an excellent overview of Cassandra. Would recommend this to anyone that is new to Cassandra.
Reviewed in the United States on April 28, 2017
A useful resource for anyone new to Cassandra. Contains coverage of data modeling in Cassandra, CQL (Cassandra Query Language), Cassandra internals (e.g. how data is replicated, how data is written to and read from disk, etc.), deployment considerations, and performance tuning. The text is quite engaging and enjoyable to read. All-in-all, a careful reading of the book will bring a Cassandra newbie to the point where he/she can begin working with Cassandra.

However, the book is in need of additional editing – it contains enough sections that are confusing, misleading and in some cases, completely wrong, that it is not really suitable as an authoritative reference or (as its title claims) a definitive guide.

A few examples:

Page 70 contains a warning about counters, stating that “the increment and decrement operators are not idempotent”, with no additional explanation. Without further explanation, this statement is useless to most people new to Cassandra because incrementing and decrementing are normally not idempotent operations – incrementing a counter twice should be expected to leave the counter in a state different than incrementing a counter once. The passage goes on to say “There is no operation to reset a counter directly, but you can approximate a reset by reading the counter value and decrementing by that value. Unfortunately, this is not guaranteed to work perfectly, as the counter may have been changed elsewhere in between reading and writing.” While that passage may be correct, it has nothing to do with idempotence; instead it is due to the fact that read-modify-write of counters is not performed atomically by Cassandra. As it happens, there may be an issue with Cassandra counters and idempotence in versions of Cassandra prior to 2.1, and with counter inaccuracies resulting from timeouts in all versions of Cassandra, but these issues are nowhere described in the book. The book’s handling of counters is deficient in other ways as well – e.g. no detailed examples are given to illustrate how counters might be profitably employed in a real-world data model.

Even more concerning is the discussion of “wide rows” which first occurs on page 59 and continues at various points throughout the book. Page 59 defines a wide row as a row that has “lot and lots (perhaps tens of thousands or even millions) of columns”. But, the following page illustrates a wide row as being synonymous with a partition, i.e. a set of rows of a table with a common set of value for the columns that compose the partition key. These are two different notions, and the book does not make it clear which is the correct definition for “wide row”. A later section of the book (on page 90) uses the hotel model (introduced in the logical data modeling section) as an example of the “wide row” model. However, the most columns of any table in the hotel model is 7, hardly “lots and lots”, so presumably this section is using “wide row” to mean “partition” rather than “a row with lots and lots of columns”.

More partition confusion occurs on page 97 under the heading “Calculating Partition Size”. We are warned that we need to calculate a maximum partition size to look for whether “our tables will have partitions that will be overly large”, and that “Cassandra’s hard limit is 2 billion cells per partition, but we’ll likely run into performance issues before reaching that point”. A few paragraphs later, it calculates the partition size (in columns) of the available_rooms_by_hotel_date table from the book’s hotel data model as the number of rows times the number of non-primary key columns. For the number of rows, it uses 5000 hotels *100 rooms/hotel *730 days = 365,000,000. But, this is the number of rows in the table. Since this table’s partition key is hotel_id, there is one partition per hotel, and so the number of rows per partition is actually 100 rooms/hotel*730 days = 73,000, a far cry from 365,000,000!

Page 186 contains a misleading statement about inserting with light-weight transactions. It states that when inserting rows with the “with not exists” qualifier, if a row already exists with the same values for the primary key columns as the row that we are trying to insert, that the CQL interpreter will return a failure, along with the “values that we tried to enter”. However, a few paragraphs above, it is said that “if a transaction fails because the existing values did not match the one you expected, Cassandra will include the current ones so you can decide whether to retry or abort without making an extra request” – which sounds like Cassandra is returning the values that are already in the database rather than the ones that we tried to enter.

A final example of misleading text occurs on page 305, where the sizing for machines used as Cassandra nodes is described. This section recommends that Cassandra nodes in development environments should have at least 2 cores and 8 GB of memory, and that Cassandra nodes in production environments should have at least “eight cores (although four cores are acceptable for virtual machines), and anywhere from 16 MB to 64 MB of memory”. This section raises two questions:
1. Why would a virtual machine need fewer cores than a physical server? This assertion seems dubious. And, even if true (which seems unlikely), it is sufficiently counterintuitive as to require explanation, but none is given.
2. Is 16 MB really sufficient RAM for a production Cassandra node? Presumably the author intended to say 16GB to 64GB (rather than MB).

In summary, the book’s scope and engaging text make it a useful text for those new to Cassandra. However, it is in need of editing, and its numerous inaccuracies and misleading sections preclude it from being useful as an authoritative reference or definitive guide. Hopefully the third edition will address these issues.
40 people found this helpful
Report
Reviewed in the United States on December 11, 2016
Very good, you can use it as complete start guide and even after it will serve to you as 'notes', as first search place
2 people found this helpful
Report
Reviewed in the United States on November 13, 2017
Still reading this book. So far so good. Bit verbose at times but nevermind
Reviewed in the United States on February 7, 2017
Decent intro book to Cassandra. We are starting to proof out Cassandra at work and this book has benefited me.

Top reviews from other countries

Translate all reviews to English
Roberto Rodriguez Gonzalez
5.0 out of 5 stars Excelente libro
Reviewed in Mexico on July 30, 2019
Excelente libro
Amazon Customer
5.0 out of 5 stars Bom livro, fala sobre tudo
Reviewed in Brazil on September 27, 2018
Achei o livro excelente. Apenas uma ressalva por não explorar tanto a modelagem de tabelas. É uma ótima base pra quem quer uma visão geral do produto
2 people found this helpful
Report
alessandra
5.0 out of 5 stars Guida database Cassandra
Reviewed in Italy on September 11, 2019
Ho letto questo libro per aumentare la mia conoscenza dei database no sql. Il libro è chiaro e completo. La mia valutazione è quindi positiva.
Saptarshi Basu
5.0 out of 5 stars Excellent book on Cassandra.
Reviewed in India on April 7, 2019
With no previous knowlwdge on Cassandra I picked up this book and read cover to cover. I'm quite satisfied with the depth each architectural concept, data modeling, configuration, performance tuning, maintenance and every other aspect of managing a Cassandra DB is explained.
Roberto
5.0 out of 5 stars In depth analysis of Cassandra
Reviewed in the United Kingdom on February 5, 2017
Comprehensive explanation of Cassandra, useful for both developers and system administrators.
I had to write 8 more words to complete this review.
4 people found this helpful
Report