- This talk was really an info session for Datstax Enterprise - Why this event was free.
- academy.datastax.com for free online classes
- It can be difficult to go from the open source datastax to the enterprise edition.
- Hadoop Integration - Doesn't see as much of this with the growing popularity of Spark
- Spark Integration - Leverages Cassandra: location aware, it knows partition keys
- QA: Why only use Oracle Java? Performance issues with OpenJDK.
- When looking for advice/solutions, ensure the advice is from the last 6 months - 1 year. (i.e, don't use Hector for anything)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-05-19T14:40:59.925Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'cassandra' | |
require 'benchmark/ips' | |
cluster = Cassandra.cluster(hosts: ["192.168.59.103"]) | |
session = cluster.connect | |
session.execute("CREATE KEYSPACE benchmark WITH REPLICATION = { 'class': 'SimpleStrategy', 'replication_factor': 2 }") | |
session.execute("USE benchmark") | |
session.execute("CREATE table reads (test_one text PRIMARY KEY, test_two text)") |
I hereby claim:
- I am djquan on github.
- I am dquan (https://keybase.io/dquan) on keybase.
- I have a public key whose fingerprint is 93DC 76E4 BEE3 0091 9AF2 4818 F0A9 9AD8 2CC6 0846
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def render | |
print " " | |
(0..7).each { |column_num| print " #{column_num} " } | |
puts "" | |
board.each_with_index do |row, row_num| | |
print row_num | |
row.each_with_index do |piece, col_num| | |
if invalid_board_moves.include?([row_num, col_num]) | |
print (piece ? piece.render : " ").colorize(background: :white) | |
else |