►
Description
Speaker: Jon Haddad
Company: DataStax
In this session you’ll learn just enough to get started with NoSQL Apache Cassandra and Python, including how to install, build and try out some basic API calls. You’ll learn the basics of how to code your first application in Python on top of Cassandra, and leave the session feeling confident and excited to take the next step!
A
I've
got
three
talks
today,
so
going
to
happen.
Okay,
I'm,
going
to
put
this
up
here
for
free
month,
wants
to
grab
slides,
is
gonna,
be
a
timecode
in
here
and
through
your
time,
restriction
will
be
going
through.
Concretely,
all
of
those
to
me
how
this
pipeline
visitation
as
an
ipod
notebook
and
you
download
it
and
set
a
virtual
environment,
smaller
requirements,
you
can
actually
look
all
code
and
execute
it
right.
The
notebook
really
being
easily
learn.
A
Actually
three
sections:
there's
one:
that's
justice,
dql
fire,
certain
all
things
you
do
with
it,
there's
another
one
that
tight
like
a
driver,
went
to
talk
about,
and
then
there's
the
third
one
which
is
called
cql
engine
is
the
object
mapper
for
Cassandra
wish.
I
was
written
by
a
co-worker
myself.
A
A
All
right,
so
I'm
gonna
get
scarred
as
we
talked
about
with
this
camera.
This
is
the
meat
they
really
for
a
talk
talking
to
your
evenings
when
the
drivers
should
not
be
exciting.
If
it
is
there's
something
very
wrong
having
there
shouldn't
be
any
like.
Oh
my
god,
I
finally
get
it
moments,
because
if
there
is
then
glitter
with
the
driver,
absolutely
as
failed
as
a
developer,
it
should
never
be
producing.
A
A
Now
and
like
a
lot
of
other
things
that
we
do
is
fully
open
source
under
the
apache
license,
so
there's
no
looking
at
you
know,
there's
it's
you
do
whatever
you
want
with.
It
is
all
yours,
so
the
first
thing
that
we're
going
to
is
going
to
connect
to
the
standard
and
to
do
that,
we
have
to
import
the
cluster,
create
cluster
instance
you're
going
to
hassle
list
of
posts.
This
doesn't
have
to
be
every
machine
in
this
case
on
the
Kentucky
was
so
I
have
a
one.
A
If
you
had
a
500
yo
cluster,
you
can
pass
three
IP
addresses
or
three
postings,
and
it's
totally
funny
people
discover
the
entire
topology
automatically
will
discover
if
there's
remote
data,
centers
automatic
there's
a
lot
of
the
things
that
you
can
pass.
Don't
want
to
this.
You
can
include
things
like
a
custom
load,
balancing
policy,
reconnect
policy,
retry
call
Steve
Avery,
fails
automatically
retry
for
you,
and
once
you
tended
as
a
line
that
your
ass
pinky
space
and
when
to
put
the
state
called
session
session
is
looking
interact
with
two
pointers.
A
When
you
ask
few
areas,
as
we
talked
about,
if
you
see
throughout
the
most
basic
stuff,
that
most
basic
thing
with
session
not
executed
to
pass
a
spring,
this
is
fine
for
things
like
reading
tables,
but
unfortunately,
doesn't
it's
not
truly
aware
so
will
automatically
go
to
the
correct
server
for
particular
query.
So
we
showed
you
previous
talk
about
whatever
you
believe
or
right.
You
know
the
partition
key.
We
actually
know
which
serves
talk
to
yourself.
It's
an
optimization
for
creating
tables.
It
doesn't
matter.
A
If
somebody
talk
to
you
because
they
only
be
aware
of
your
state
changes.
So
it's
fine
you're.
This
way
now
prepared
statements
here
been
working
in
relational
working,
probably
not
typical
of
prophetic
statements.
Anytime,
you
do
a
select,
insert
update
your
meat
thats
collecting
them.
You
don't
to
use
it
for
anything
when
you're
dealing
with
it
decreases
server
load
by
keeping
the
in
every
oxidation
of
what
that
query
is
supposed
to
do.
A
Is
you
increase
security
and
give
you
took
an
work,
so
we
can
take
a
look
thomas
example
that
I
have
a
reviewer
we're
doing
a
preparer
and
insert
statement,
see
the
placeholders
over
there,
the
customer
and
then
you
can
execute
any
passing
people
and
in
this
case,
for
passing
video
IBM
strength,
and
here
we're
executing
synchronously
wizard
electrode
services,
&
sinker.
This
is
cool.
Acceptance
is
slow
and
actually
not
that
cool.
A
So
the
way
that
we
deal
with
getting
better
components,
especially
when
we
have
a
system
where,
in
our
data
store
across,
let's
say
tons
of
machines.
We
want
to
go
to
do
things
asynchronously
event.
All
she
needs
is
impossible.
So
what
we
do
is
be
prepared
statements
and
the
driver
can
help
us
out
of
it.
So
we
want
to
just
use
everything.
The
first
option,
if
you
have
is
be
singers
and
where's
the
coax.
You
prepare
a
statement
right
over
here.
A
You
have
a
callback
function
that
your
use,
and
then
you
call
text
a
few
paces.
When
you
execute
a
sink
return,
the
future,
the
future
you
can
then
have
a
call
back
to
it
and
as
soon
as
the
queries
done
executing
your
callback
will
be
call
with
the
response
and
we're
really
dismal,
with
any
additional
information
provided
to
head
call
back
barks.
A
So
anything
you
passed
will
combine
an
easier
way
to,
and
all
this
is
use
the
standard
of
concurrent
library
and
you
can
pass
a
list
of
tuples
for
a
list
of
this
and
you
have
a
prepared
statement
and
then
we
have
execute
concurrently
arts.
You
infect
with
pastor
sessions
of
it,
you're
prepared,
select
statement
or
insert
statement
a
list
of
lists
and
execute
a
prepared
statement
with
each
of
those
lists
within
that
occurs.
A
A
Open
are
gonna,
take
bastard
so
like
this
pls
real
features,
the
in
statement,
but
also
have
this
concept
of
fashion
people
that
see
this
are
very,
very
tempted
to
use
it
because
it
come
from
a
relational
world,
and
you
say
you
know
what
I
do
in
a
circle
and
it's
or
100
things
across
because
there's
a
transaction
overhead,
they
try
to
apply
that
same
models
to
discover,
or
they
pretty
much
to
do
that.
Make.
Oh,
you
know,
I
see
this
in
thing.
A
I,
9800,
I
just
want
to
get
them
out
of
exam,
it's
auntie
Pat,
it
will
perform
horribly.
You
will
end
up
with
oh
I
talked
to
this
guy.
This
kind
of
everybody
else
and
the
problem
here
is
that
coordinators
going
to
have
to
wait
on
responses
from
all
the
other
serves
event
even
fail
than
your
query
will
fail
and
you
don't
have
to
retry
the
whole
thing.
So
it's
term
don't
ever
do
this.
The
next
thing
is
that
there
are
fortunate
I
wonder
how
many
sections
me
to
make
this
mistake.
A
A
Because
all
the
data
is
not
replicated
on
the
server
there,
it's
highly
unlikely
that
all
your
native
animals
room,
if
you
did
a
select
all
from
users,
select
our
our
users
I
key
in
any
possible
hundred
apiece.
It's
probably
going
to
be
on
of
significant
our
servers,
so
that
will
fax
is
terrible.
You
actually
also
have
a
lot
of
GCT
over
very
much
the
worst,
like
everyone
tries
to
do
it
there,
or
else
I'm
gonna
keep
going
this.
It's
almost
lunch
time
they
left
early.
So
you
talk
about
a
little
bit
at
cg
onion.
A
It's
a
way
we
can
define
our
table
programmatically
would
in
Python
and
query
them.
It
makes
it
really
really
easy
for
to
work
regarding,
so
everything
is
going
to
hear
it
from
village
elders,
a
standard
of
C,
village
and
daughter,
and
you
can
you
define
collections,
American
straight
example
that
you
can
do
table
management.
So
here
we
have
something
called
same
table
and
I
repel
them
all.
If
you
sink
that
table
over
by
it
doesn't
exist,
it
will
create
it.
A
If
it
does
exist,
it
will
fly
ain't
halters
necessary
to
have
feels
that
you
need
to
make
a
match.
Your
schema
definition.
The
only
thing
to
do
is
it
will
change
the
types
of
your
tables,
because
it's
a
destructive
action
and
it
won't
drop
it
palms,
because
that
would
be
ridiculous
and
any
of
I
would
screw
my
database.
So
I
didn't
do
that.
I
figured
it
rated
models
with
collections
very
useful,
with
easy
design.
Things
like
give
messages
and
we
have
set
new
IDs,
that's
a
list
of
user
IDs.
A
We
have
photo
and
we
have
a
let's
say
lights
at
the
bottom,
which
is
you
ID
and
text?
Andi.
That's
fine!
He's
right
behind
me.
So
I
can
just
show
twice
this
dirty
easy
to
get
up
a
list
of
photos,
this
nuclear
and
everyone's
user,
ID
and
name
that
light
bit.
We
have
buster
keaton's.
It
would
sort
of
like
that,
your
slide
that
turns
a
word
data
with
a
partition,
and
we
have
this
example.
We
have
our
users
in
group
and
you
define
multiple
fields
as
a
priority.
A
If
the
first
thing
will
become
partition
feet
and
the
subsequent
items
will
become
foster
at
ease
any
order
that
was
testified
at
all.
You
also
have
this
guy,
where
we
have.
If
we
wanted
to
have
multiple
keys,
be
participants
in
the
partition,
keep
which
we
didn't
want
to
talk
about.
You
slide.
It
is
possible,
you
can't
do
it.
Take
a
look
up.
Users
in
my
state,
if
I
have
to
general
either
thing
but
I
want
to
know
who's
in
where
I
can
get
up.
A
You
can
do
custom
valuation.
So
if
you
want
to
say
awesome
thing
like
there's
no
going
out
on
this
table,
you
can
do
that
and
it
will
throw
an
exception.
I
haven't
talked,
we
didn't
talk
about
the
tls,
the
previous
slide.
You
can
teach
each
other
yet
and
it
won't
delete
it
when
the
60
seconds
their
stuff,
but
it
will
stop
being
and
the
compassionate
occurs.
It
will
be.
You
move,
so
the
TTL
is
written
with
your
data.
This
is
really
nice.
A
Tons
of
actual
people
Russian
liquid
transactions-
we
talked
a
little
bit
about
this.
This
is
fourth
in
the
object.
Average
user
acknowledge
this
doctrine.
This
will
do
access
for
us
and
it
doesn't
matter
under
the
covers
innuendo.
There
is
safe
system
for
greeted
users.
You
need
to
update
using
passives.
You
can
as
well
similar
you
just
provide
chords
of
the
values
that
eats
ass
by
requiring
will
go
ahead
update.
So
the
statement
at
the
bottom
would
be
update
with
an
update
user
set.
H
equals
101
where
name
is
John
if
eight
equals
100.
A
All
right,
I
didn't
talk
really
about
patches
on
big
top,
but
there
is
no
G
of
Bachelor
students
together.
This
is
really
only
useful
if
you
are
keeping
commendable
materialise,
news
up
to
date
that
will
defuse
a
12
wattage.
It
will
make
sure
that
all
of
the
mutations
that
you
you
have
so
can
have
like
10
updates
and
five
minutes
they'll
all
occur,
so
they
it
gets
logged
onto
multiple
servers
and
there's
checks
to
ensure
all
these
things
out.
A
So
if
you've
got
my
text
here,
these
monitor
their
that
ball
kept
up
to
date
and
you're,
nervous
about
network
outages
or
machine
failures,
and
the
data
can
be
consistent.
This
is
what
you
want,
and
then
you
can
see
down
here.
You
just
set
up
a
bat
pretty
context,
and
you
use
it
when
you
call
news
without
create,
make
sure
to
pass
your
batch
to
it
and.
A
A
So
here
we
go
he's
about
it
and
back
on
your
sweet,
fetch,
multiple
rows,
fines
and
create
all
those
things
over
here
and
we
got
automobile
objects
and
you
pass
as
ours
boasted
filters
and
they'll
construct
the
statement,
and
you
can
also
manage
your
team
properties
with
this.
So
we
talked
a
little
bit
about
things
like
level
compassion
after
I
have
an
entirely
different
compaction
strategy.
A
We
have
a
significant
we
have
table
to
cairness.
If
you
want
to
have
multiple
tables
that
you,
how
will
you
manage
pop
of
basic
single
table?
Let's
say
you
had
ads,
I
wrote
on
an
ad
system
and
we
had
a
single
base
pad.
We
had
like
20
different
subtypes
of
those
abs
and
they've
all
had
similar
fields.
We
use
something
like
this.
This
is
really
useful
if
queries
that
you
want
to
do
are
always
I
want
a
very
specific
type.
I
wanna
select
it's
not
as
useful.
A
If
you
want
to
say
give
me
all
the
ads
say,
give
you
a
heterogeneous
listed
as
a
fall
under
than
a
bomb,
but
they
can
be
different
types.
That
is
where
you
want
to
use
table
courses.
So
if
this
does,
is
the
laws
and
create
multiple
database
balls
are
also
working
single
table
and
you
can
query
do
one
weird
and
you
can
get
a
list
of
a
bunch
of
different
text
back,
so
these
tools
are
pretty
flexible.
They
allow
you
to
be
able
to
career
pilots
and
it's
pretty
vision
for
selecting
update
as
well.
A
So
your
options
are
application
development.
One
thing
I
wanted
are
going
to
be
aware
of.
If
you're
not
already
using
digital
environments
manager,
the
virtual
lab
is
the
best
school
ever.
This
pie
is
built
in
Python
3.4,
but
if
you're
still
using
Python
2.7
life,
pretty
much
most
of
the
world
is
during
how
to
download
this
manually.
This
is
the
only
thing
you
should
install
tip
her
friend
and
neighbor,
clamp
and
other
than
that.
Nothing
should
touch
your
system
Python.
A
You
should
always
be
using
virtual
ends,
because
you
can
create
these
isolated
sandboxes,
but
their
own
versions
of
code.
This
is
one
of
the
most
important
things
I've
learned
early
on
about
any
practical,
Python
involvement.
If
you
don't
do
this,
and
you'd
only
have
one
version
of
your
packages
for
your
entire
systems.
If
you
can't
work
honorable,
as
far
as
everything
with
third-party
projects,
there
is
a
library
of
virginia
there's
its
recently
easy
to
do
in
every
with
flask.
A
You
just
have
that
use
the
map
before
first
request
set
up
international
there's,
currently
a
in
issue
with
the
way
certain
frameworks
and
certain
like
uwsgi
handle
sporting
definitely
do
create.
Did
you
create
a
distance
of
a
container
connection
and
you
that,
for
that
process,
Alecto
application
trying
to
use
the
same
socket
than
one
little
fail
miserably?
You
don't
want
to
do
that.