Apache Cassandra and Python
- Type:
- Talk
- Audience level:
- Intermediate
- Category:
- Databases/NoSQL
March 9th 2:40 p.m. – 3:20 p.m.
Description
Using Apache Cassandra from Python is easy to do. This talk will cover setting up and using a local development instance of Cassandra from Python. It will cover using the low level thrift interface, as well as using the higher level pycassa library.
Abstract
- Very brief intro to Apache Cassandra
- What is Apache Cassandra and where do I get it?
- Using the Cassandra CLI to setup a keyspace (table) to hold our data
- Installing the Cassandra thrift API module
- Using Cassandra from the thrift API
- Connecting
- Writing
- Reading
- Batch operations
- Installing the pycassa module
- Using Cassandra from the pycassa module
- Connecting
- Reading
- Writing
- Batch operations
- Indexing in Cassandra
- Automatic vs Rolling your own
- Using Composite Columns
- Setting them up from the CLI
- How to using them from pycassa
- Lessons learned