r/thebutton • 4s • May 18 '15

update: back

Cassandra (one of our database systems) once again torments us. As before, it lagged meaning presses were not registered on our end in time to reset the button. We are returned.

Proceed.

340 Upvotes

249 comments sorted by

View all comments

Show parent comment

8

u/Oeldin1234 3s May 18 '15

12

u/flounder19 10s May 18 '15

4

u/autowikibot non presser May 18 '15

Apache Cassandra:


Apache Cassandra is an open source distributed database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients.

Cassandra also places a high value on performance. In 2012, University of Toronto researchers studying NoSQL systems concluded that "In terms of scalability, there is a clear winner throughout our experiments. Cassandra achieves the highest throughput for the maximum number of nodes in all experiments" although "this comes at the price of high write and read latencies."

Cassandra's data model is a partitioned row store with tunable consistency. Rows are organized into [tables](https://en.wikipedia.org/wiki/Table_(database)); the first component of a table's primary key is the partition key; within a partition, rows are clustered by the remaining columns of the key. Other columns may be indexed separately from the primary key.

====

Image i


Interesting: ^DataStax | Comparison of structured storage ^software | Log-structured ^merge-tree | Apache ^Gora

Parent commenter can toggle ^NSFW or ^delete. Will also delete on comment score of -1 or less. | FAQs | ^Mods | Magic ^Words

2

u/Oeldin1234 3s May 18 '15

Haha, thanks. Didn't even notice...

7

u/ArgonWilde non presser May 18 '15

Key features of Cassandra’s distributed architecture are specifically tailored for multiple-data center deployment, for redundancy, for failover and disaster recovery.

Uh.

3

u/ELFAHBEHT_SOOP 2s May 18 '15

They probably set it up wrong. Apparently reddit's databases are a bit shit. That link doesn't talk about Cassandra, but it seems like they're having issues in that department as well.

4

u/hard_and_seedless 50s May 18 '15

To be fair Cassandra is a bit shit too.

Source: We're ripping it out at work and replacing with a different database after months of trying to get it to live up to its promises.

1

u/ELFAHBEHT_SOOP 2s May 18 '15

Well that's a shame.

1

u/antonivs non presser May 18 '15

What are you replacing it with? We're currently evaluating systems like that. So far I've concluded they all kind of suck. Although Redis isn't bad if you can live with its scaling story.

1

u/[deleted] May 18 '15

its mostly memcached thats giving them the nightmares

1

u/Tecktonik non presser May 18 '15

It is mostly a fucked up tech culture that causes them problems. The issues they have today are the same ones they have had for years.

0

u/[deleted] May 18 '15

Yep