Cassandra on aRaspberry Pi. Why ?
Who Am I ?Andy CobleySchool of ComputingUniversity of DundeeTwitter: @andycobley
Whats a Raspberry Pi ?Single chip Linux computer500 Meg ramBoots off an SD cardEthernet port
Pi with pound coin
Here’s oneAnd there is one running in the street area
What’s Cassandra ?NoSQL databaseImportant thing is it’s disturbed.Scales and runs best in a clusterData is replicated acro...
CassandraCan handle very distributed sitesData can be in any data center, anywhere.Typically runs on “consumer class” hard...
The Bad NewsCassandra is designed to be fast, fast at writing, noweven faster at reading.This laptop with one instance of ...
More bad news !Running a external USB drive is actually worse !Problem is the USB, the SD card and the Networkcard all sha...
And then there’s Java!Oracle Java vs OpenJDK
And RaspbianRaspbian is Debian for the PIUses the Hard floating point acceleratorMuch faster than DebianOracle JDK won’t r...
The Good News !We’ve forgotten one thingThe Pi cost £25You can power 4 from USB hub (no need for a powersupply on each one...
So, have a 64 node        computer for £2000University of Southhampton
Pi is for teachingSo for £200 we get an 8 node Cassandra clusterIt can be reconfigured, blown away, stress tested andgener...
Pi is discoveryCassandra wouldn’t run on a PIIt does now.Running it on a Pi shook out some Cassandra bugs
Pi is for fun !Most important, this was pure Geeky Fun
ThanksData Science:http://www.computing.dundee.ac.uk/study/postgrad/degreedetails.asp?17Dundee Developer Day and Big Data1...
Cassandraona pi why
Upcoming SlideShare
Loading in …5
×

Cassandraona pi why

1,777 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Cassandraona pi why

  1. 1. Cassandra on aRaspberry Pi. Why ?
  2. 2. Who Am I ?Andy CobleySchool of ComputingUniversity of DundeeTwitter: @andycobley
  3. 3. Whats a Raspberry Pi ?Single chip Linux computer500 Meg ramBoots off an SD cardEthernet port
  4. 4. Pi with pound coin
  5. 5. Here’s oneAnd there is one running in the street area
  6. 6. What’s Cassandra ?NoSQL databaseImportant thing is it’s disturbed.Scales and runs best in a clusterData is replicated across nodesAny node, can answer any query
  7. 7. CassandraCan handle very distributed sitesData can be in any data center, anywhere.Typically runs on “consumer class” hardware
  8. 8. The Bad NewsCassandra is designed to be fast, fast at writing, noweven faster at reading.This laptop with one instance of Cassandra will do12,000 write operationsRaspberry Pi will do 200 !
  9. 9. More bad news !Running a external USB drive is actually worse !Problem is the USB, the SD card and the Networkcard all share the same bus
  10. 10. And then there’s Java!Oracle Java vs OpenJDK
  11. 11. And RaspbianRaspbian is Debian for the PIUses the Hard floating point acceleratorMuch faster than DebianOracle JDK won’t run on it !
  12. 12. The Good News !We’ve forgotten one thingThe Pi cost £25You can power 4 from USB hub (no need for a powersupply on each oneSo:
  13. 13. So, have a 64 node computer for £2000University of Southhampton
  14. 14. Pi is for teachingSo for £200 we get an 8 node Cassandra clusterIt can be reconfigured, blown away, stress tested andgenerally abusedWe can simulate data racks, data centers and I hopeeven long network delays.Our upcoming MSc in Data Science will use theseclusters
  15. 15. Pi is discoveryCassandra wouldn’t run on a PIIt does now.Running it on a Pi shook out some Cassandra bugs
  16. 16. Pi is for fun !Most important, this was pure Geeky Fun
  17. 17. ThanksData Science:http://www.computing.dundee.ac.uk/study/postgrad/degreedetails.asp?17Dundee Developer Day and Big Data17 November in herehttp://dun.dddscotland.co.uk/sessions

×