Skip to content
Browse files

Some slide-crafting.

  • Loading branch information...
1 parent d057b93 commit 97ae41cb068f17bb7ad8d1d74b70341b66eba6d2 @therealadam committed Aug 7, 2011
Showing with 23 additions and 22 deletions.
  1. +1 −1 showoff.json
  2. +21 −6 slides/01_intro.md
  3. +1 −15 slides/02_cassandra.md
View
2 showoff.json
@@ -2,6 +2,6 @@
"name": "Chronologic: You Put Your Feeds In It",
"description": "Pontifications on activity streams",
"sections": [
- {"section": "slides"},
+ {"section": "slides"}
]
}
View
27 slides/01_intro.md
@@ -12,26 +12,35 @@
<!SLIDE center>
-YES
+# YES
+
+<!SLIDE center bullets incremental>
# It's Cassandra, it's whatever it wants to be
(Zuul)
+<!SLIDE center bullets incremental>
+
- Keys and values, like memcached or Riak
- Keys and hashes, like Redis
- Keys and sorted sets, like Redis
- Keys and counters, like Redis
- Keys and key/values, like MongoDB
- Rows and columns, like MySQL or PostgreSQL
+<!SLIDE center bullets incremental>
+
# But it's distributed!
- Each server in the cluster is on a "ring"
- Data is stored and replicated along the ring
- Each server in the ring knows about every other server
- Connect to any server, do stuff
- Tolerate servers going down
+
+<!SLIDE center bullets incremental>
+
- Operate with no durability (memcached, Mongo)
- Operate with full durability (MySQL, PostgreSQL)
- Operate with no consistency
@@ -50,26 +59,32 @@ YES
notifications, etc.
- Masterless design that accounts for redundancy and availability
-# What are we using Cassandra for?
+<!SLIDE>
-Right now:
+# What are we using Cassandra for?
- Audit: store change logs on AR models
- Chronologic: activity stream data
-Future:
+<!SLIDE>
+
+# What would we use Cassandra for?
- Cache social graphs from other networks (FB, Twitter, etc.)
- "Like" annotations
- Out-of-band notifications
-Long term (my vision only):
+<!SLIDE>
+
+# What do I want to use Cassandra for in the future?
- Replace Redis
- Replace Solr with Solrandra
- Replace HDFS/Hadoop with CassandraFS + Brisk
-# What won't we use Cassandra for?
+<!SLIDE>
+
+# What wouldn't I use Cassandra for?
- Geo-searches
- Heap-based caches
View
16 slides/02_cassandra.md
@@ -10,7 +10,7 @@ With apologies to Dr. Richard Feynman
* Keys and columns (objects)
* Simple graphs (subscribers)
* Timeline indexes (timelines)
-* Spread it around like a distributed database
+* Secondary indexes (comfort food)
<!SLIDE code>
@@ -53,17 +53,3 @@ With apologies to Dr. Richard Feynman
<!SLIDE>
- @@@ ruby
- require 'cassandra/0.7'
-
- c = Cassandra.new('Keyspace1')
- c.insert(
- :Standard1,
- 'akk',
- {
- 'username' => 'therealadam',
- 'age' => '32'
- }
- )
- c.get(:Stanard1, 'akk')
-

0 comments on commit 97ae41c

Please sign in to comment.
Something went wrong with that request. Please try again.