►
From YouTube: The Apache Cassandra® Corner podcast w/ Val Karpov
Description
Mongoose with Apache Cassandra®?!?!?! Yes, you heard that correctly. Listen in as I talk with Val Karpov (lead maintainer of the Mongoose project), as we discuss this exciting addition to the Cassandra developer ecosystem. Building JavaScript applications with Apache Cassandra just got a whole lot easier!
A
A
Well,
hello,
everyone
and
welcome
back
to
another
edition
of
the
Apache
Cassandra
Corner
podcast
today,
I
have
Val
karpov
with
me
Val.
How
are
you
doing.
A
Here,
of
course,
of
course,
yeah
yeah
hey,
why
don't
you
start
by
just
telling
us
a
little
bit
about
yourself.
B
Yeah,
so
people
probably
know
me
most
as
the
maintainer
of
mongoose
Mongoose
is
the
most
downloaded
database
framework
for
node.js,
primarily
for
mongodb,
but
we
are
working
on
on
Cassandra's
support
via
a
project
called
Stargate
Mongoose.
So
it's
very
very
exciting
time.
Yeah
I'd
say
also
the
most
of
the
founder
and
CEO
of
my
own
small
Dev
shop
called
being
It
software.
We
do
we
do
node.js
based
application,
development,
Venom
stack
or
or
buzzwords
so.
A
B
Vue.Js
front-end
framework
Express
JS
for
back
end
web
node.js,
runtime,
mongodb
database.
A
Okay,
okay,
oh
excellent,
excellent
I
mean
see
you
learn
something
new
every
day,
right,
yeah
all
right,
so
you
recently
spoke
at
Cassandra
Ford,
which
was
I.
Think
a
great
virtual
event.
Why
don't
you
tell
us
a
little
bit
about
about
what
you
spoke
about
there.
B
Yeah
Mike
Cassandra
forward
talk
was
basically
just
introducing
Stargate
Mongoose
and
the
work
that
we've
been
doing
to
to
try
to
add
support
for
Cassandra
to
to
Mongoose,
make
it
possible
for
you
to
read
and
write
from
from
a
Cassandra
database
using
Mongoose
code
with
basically
no
changes.
A
Wow,
so
basically
no
changes
that
that
pretty
much
means
that
you
know
you're
changing
like
what
your
connection
credentials
and
then
it's
kind
of
like.
B
Change
your
connection
credentials,
there's
a
separate
set
driver
call
for
probably
about
a
decade.
At
this
point.
Mongers
has
had
this
notion
of
a
driver
API
that
that
has
been
pretty
much
unused,
but
it
provides
the
ability
to
basically
stub
out
the
the
code
that
talks
to
mongodb
and
anything
that
provides
a
flexibility
of
that
AI
or
of
that
API.
Sorry,
my
my
brain
is
an
AI
land.
Anything
that
provides
like
something
that's
compatible
with
that
API
Mongoose
can
use
to
to
communicate.
B
So,
like
one
thing
we've
been
working
on
was
an
in-memory
driver
which
basically
just
was
a
way
to
to
run
Mongoose
in
the
browser
without
needing
to
actually
connect
to
a
database
at
all
and
just
have
it
store
data
in
memory.
B
Oh
wow
another
and
well
recently
we
started
working
on
I'm
on
a
drive
on
Stargate
Mongoose,
which
is
a
driver
that
plugs
into
Mongoose
via
the
set
driver,
function
and
stuff,
and
basically
replaces
the
API
that
that
Mongoose
uses
talk
to
mongodb
replaces
that
with
something
that
talks
to
the
Stargate
Json
API,
which
is
kind
of
like
a
HTTP
effectively
like
a
proxy
in
front
of
Cassandra
that
that
kind
of
translates
some
kind
of
what
the
cab
translates.
B
I,
don't
know
the
particulars
of
the
Stargate
Json
API
that
well,
but
basically
it
takes
an
HTTP
request,
translates
stuff
into
cql
queries.
Once
you
read
stuff
back.
A
A
Excellent,
so
just
in
looking
around
on
on
stack,
Overflow
actually
I
happen
to
see
that
that
Mongoose
has
like
I
think
like
46
000
questions
asked
about
it
on
stack,
Overflow,
I,
don't
know
if
you
get
out
there
much,
but.
B
No,
not
surprising
I
mean
there's
a
there's,
a
lot
of
questions
on
stack
Overflow
and
a
lot
of
them
about
mongoose
I
mean
Mongoose
is
a
very
commonly
used
package.
I
mean
it's
been.
It's
been
around
for
a
very,
very
long
time.
I
mean.
Let's
see.
Mongoose
was
first
like
the
first
commit
to
the
Mongoose
repo
I
wanted
to
say
was
at
the
very
was
in
2010.
A
Right,
well,
you
know,
if
you
think
about
it,
you
know
2010
I
mean
really
wasn't
that
old,
either
at
the
time
I'm
trying
to
remember
when,
when
came
out,
I
want
to
say
it
was
like
it
was
like
2008
and
then
and
maybe
or
maybe
it
was
a
little
earlier
than
that,
but
it
didn't
really
hit
mainstream
until
you
know
like
right
around
that
same
time,
like
2009
2010,
all
of
a
sudden,
everyone
was
like
whoa,
you
know.
Was
it
kind
of
stormed
onto
the
scene,
yeah.
B
Yeah
I
mean
if
memory
serves
the
first
like
the
very
first
commits
to
the
mongodb
repo
were
let's
say,
like
December,
2007
or
2006
yeah
I.
Think
I
I,
remember
at
one
point:
I
like
went
through
the
entire
Market,
commit
history
and
found
the
first
commit.
Oh
boy,
that
was
fun.
A
Yeah
yeah,
you
know,
you
know
one
one
thing
that
you
know
that
that
that
folks
will
mention
to
me
a
lot.
You
know,
especially
especially
developer
folks.
You
know
they're
they're,
you
know
about,
maybe
maybe
why
they
chose.
A
You
know
like
like
mongodb
for
for
a
project
as
it's
as
it's
back
end
is
that
it's
so
easy
to
get
started
with
it's
so
easy
to
just
like
hey
turn
it
on
and
then
start
coding,
and
you
know
you
can
just
you
can
just
kind
of
go
like
that,
and
you
know
for
for
me
for
someone
who
who's
kind
of
been
in
the
Cassandra
Community
since
since
those
early
days
as
well.
A
I
think
that's
really
exciting.
You
know
I
I,
think
it's
exciting
to
have
that
same,
like
ease
of
startup
ease
of
you
know
getting
going
with
it
with
Cassandra
and
and
well
asterdebe,
as
we
you
know,
as
we
do
with
and
I
just
I
think.
That's
amazing
of
that
that
you
know
of
how
Mongoose
can
really
can
really
open
up.
You
know
using
you
know,
Cassandra
to
a
whole
bunch
of
other
a
whole
new
slew
of
developers
who
wouldn't
have
who
wouldn't
have
considered
it
before.
B
Yeah
and
I
think
for
the
existing
Cassandra
developers,
I
think,
what's
really
exciting
is
like
Mongoose
can
become
like
an
effective
bridge
for
people
who
work
with
Cassandra
to
to
the
full
Suite
of
tools
available
to
Modern
JavaScript
developers,
so
like
one
of
the
the
sample
app
that
we
presented
at
Cassandra
forward,
which
is
forked
off
of
actually
mongoose's
sample
apps.
So
that
kind
of
shows
you
how
a
few
changes
you
have
to
make
right.
B
It's
how
to
put
it
like.
So
it
doesn't
use
Astra
yet,
but
on
the
other
hand
it
it's
built
using
netlify,
so
it
so
you
can
deploy
it
onto
netlify
like
you
can
deploy
the
front
end
onto
Network
by
and
the
back
end
is
serverless
with
with
netlify
functions,
so
like
point
and
click
in
the
UI
a
few
times,
and
you
can
deploy
that
and
you
can
set
up
CI
CD
to
deploy
that
to
production.
B
So
that's
a
very
exciting,
very
exciting
Improvement
there
serverless
functions
as
well.
Probably
a
very
neat
application
for
Cassandra
given
given
you
know,
Cassandra
is
often
used
for,
shall
we
say,
yeah
very,
very
high,
right
volume,
very,
very
high
scale,
very
performance,
intensive
applications.
A
Oh
right
right
so
so
Val,
you
know
if,
if
I
wanted
to,
if
I
wanted
to
go
and
get
started
with
with
Mongoose,
is
there
a
good
tutorial
out
there
that
you
recommend
or
what's
what's
the
recommended
way
to
go
about
that.
B
I
say:
go
Google
Maggie's,
tutorial
I,
don't
have
a
recommended
Mongoose
tutorial
right
now,
because
honestly
I
haven't
given
up
keeping
up
without
with
all
the
magi's
tutorials
that
are
coming
out.
There
are
a
lot
so
yeah
there
isn't.
There
isn't
really
like
one
that
I
would
say
that
really
sticks
out
in
my
mind
as
like
the
best
one
as
well.
People
keep
coming
out
with
new
ones.
B
So,
like
you
end
up
Googling
like
you
know
how
to
work
with
Mongoose
with
you
know,
insert
framework
framework,
X
I'm
sure
you'll
find
like
a
probably
a
dozen
tutorials
written
in
the
last
year
about
about
how
to
do
just
that.
A
Wow
wow
yeah
I
know
now
you
know,
Mongoose
has
has
quite
a
bit
of
downloads.
What's
the
what's
the
count
up
to
on
on
GitHub
I
thought
I
remembered
you
mentioning
this
before
so.
B
So
apparently
used
by
2.8
million
repos
on
GitHub
yeah
I,
wouldn't
I
would
prefix
that
with
you
know,
a
lot
of
them
are
just
people,
tinkering
getting
started.
Sure
I
would
imagine
an
awful
lot
of
them
are
just
like
people
cloned
to
starter
app
did
a
couple
quick
tweaks
with
it
and
then
just
and
then
just
moved
on
to
something
else.
A
Yeah
no
kidding
no
kidding
I
mean
any
any
time
you're
getting
into.
You
know
like
a
couple
of
million
of
of
anything
I
think.
That's
that's
pretty
substantial
yeah
for.
A
B
They
don't
necessarily
translate
into
until
like
that
or
they
don't
really
do
a
good
job
of
capturing
like
the
active
usage
but
but
they're
nice
to
they're
nice
to
look
at
yeah
and
they
go
to
show
you
kind
of
like
okay,
the
yeah
there
are.
There
are
a
lot
of
active
repos
that
are
using
Mongoose.
A
lot
of
other
2.8
million
are
kind
of
dead
repos,
but
there's
a
lot
of
good
ones
out
there.
Yeah.
A
Yeah
so
before
you
know
kind
of
working
with
with
adapting
Mongo's
or
well
Mongols
Mongoose
to
work
with
you
know
the
the
Stargate
API
with
you
know,
Cassandra
and
Astra.
Had
you
done
much
work
with
Cassandra
before
that.
A
B
Had
experimented
with
it
because
again,
Cassandra
has
a
has
a
pretty,
has
a
pretty
excellent
reputation
as
a
as
kind
of
like
a
very
robust
database
for
high
scale
applications.
B
A
Okay,
okay,
so
so
you
know
kind
of
kind
of
going
from
that
when
you're,
when
you're
working
with
you
know,
try
again
trying
to
build
out,
you
know
Mongoose
that
it
that
it
runs
with
with
Cassandra
and
kind
of
works
on
that
same,
like
document
data
model
Paradigm,
what
would
you
say
was
was
one
of
the
more
challenging
things
that
you
had
to
do
to
get
that
to
work.
B
That's
a
good
question,
so
I
like
a
lot
of
the
a
lot
of
the
coding
work,
was
done
by
the
data
Stacks
team
they're.
That's
right!
Some
of
the
let's
see
but
I
mean
some
of
the
more
complex
things
that
we
had
to
do.
Well,
first
of
all,
personally,
for
me
getting
started
with
running
Java,
as
always
is
always
fun.
I
haven't
worked
with
Java
in,
like
probably
a
decade
plus.
A
B
Been
a
while
very
Rusty
on
that
front,
but
in
terms
of
like
things
that
we
things
that
we
kind
of
needed
to
build
that
are
that
are
kind
of
tricky.
B
Well
sorting
sorting
was
a
big
one.
Oh
sure,
I
think
that
one
was
I,
think
that
was
kind
of
one,
but
it
was
like
big
big
blockers.
That
kind
of
was,
like
you
know,
complex
and
difficult
for
Cassandra
to
support,
but
also
kind
of
like
muggers
developers
have
come
to
expect
that,
like
mortgage
developers,
don't
sort
in
memory
and
that's
not
something
that
that
is
commonly
done.
So
that
was
one
where
it
was
pretty
complex
and
I.
B
Think
what
we've
kind
of
come
up
with
for
now
is
that
is
that
the
Stargate
Json
API
is
going
to
have
like
Implement
sort
itself.
So
like
yeah,
the
Json
API
will
do
we'll
do
some
basic
sorting
up
to
a
certain
size
in
the
results
set
and
they
can
handle
like
managing
memory
and
making
sure
that
you
don't
that
you
don't
run
over
or
you
don't
get
out
of
memory
exceptions.
A
No,
that
that's
good,
that's
good,
because
I
was
thinking
about
that
too.
It's
like
oh
yeah,
I
mean
it's
like.
Essentially
that
would
be
be
implementing
like
like
an
application,
Level
type
of
sorting
layer.
You
know
once
once
you
once
you've
pulled
it
out
of
you
know,
Cassandra
or
Astra
and
I
was
even
thinking
to
myself
just
now
I'm
like
wow.
How
would
I
do
that?
Well,
okay,
you'd
have
to
yeah
right
and
then
I'm
like
yeah,
but
that
could
get
big
fast,
so
yeah
I
can
kind
of
see
your
point
about.
A
You
know
having
to
put
some
guard
rails
around
that
like
well,
we'll
we'll
let
you
sort
on
result
sets,
but
only
up
to
you
know
a
certain
size
or
a
certain
limit,
because
yeah
you're
you're
right
memory
is,
is
certainly
not
a
an
infinite
resource
by
any
by
any
means
there
right
right,
yeah.
B
Exactly
I
mean
that's,
not
that's,
not
unprecedented
I
mean
so
without
an
index,
mongodb
sort
will
will
error
out
after
a
certain
after
a
certain
size
of
the
result,
set
I
think
it's
limited
to
two
gigs.
Okay,
last
I
checked
but
I,
don't
know
it's
something
generous,
but
still
you
can't
sort
infinitely
large
data
sets
without
an
index
at
mongodb
right.
A
B
Never
know
like
you
never
know,
I
mean
plenty
of
plenty
of
large
data.
Sets
that
you
can
that
you
can
put
in
there.
A
No
for
sure
for
sure
all
right
Val,
so
you
know
kind
of
as
we
wrap
things
up
here.
Just
you
know,
I
I'd
like
to
ask
if
you
know
just
just
kind
of
considering
as
as
Mongoose
moves
more
and
more
towards
you
know
being
being
database
agnostic.
You
know
if
you,
if
you
will
like
that.
A
What's
what
is
one
thing
you
would
you
would
say
to
to
someone
who's
who's,
a
Cassandra.
You
know
developer
Cassandra
user.
What's
one
thing
that
you
would
say
to
as
as
to
trying
to
get
them
to
say
hey,
you
should
check
out
Mongoose
because
of
this.
B
I'd
say
number
one
thing:
I
mean
you
can
now
be
a
full
stack,
Cassandra
developer,
which
is,
which
is
something
that
you
could
do
before,
but
with
Mongoose
again
it's
never.
It's
never
been
easier.
So,
like
you
know,
I
I
personally
develop
with
my
team
of
two.
We
work
on
five
or
six
different.
Full
stack
applications
at
any
given
time
and
those
are,
you
know,
reasonably
sophisticated
applications,
so
I
would
like
to
so
as
a
Cassandra
developer.
Again
you
can.
B
You
can
expand
your
reach
into
into
kind
of
building.
Oh
okay,
now
I
can
now
you
can
ship
like
full
stack,
JavaScript
applications
backed
by
Cassandra
sure
that
was
pretty
exciting.
A
Oh,
that's
awesome,
that's
awesome.
Do
you
know
when
you
know
the
the
version
of
mongoose
that'll
that'll
work
with
you
know,
Cassandra
and
Astra
will
be
available.
Do
you
have
any
insight
to
that.
B
So
well
right
now
we
have
a
proof
of
concept
out
there
that
you
can
try
out
it's
not
production
ready,
but
on
the
other
hand
we
have
sample
apps
that
run
on
that
use,
Stargate
Mongoose
to
talk
to
Cassandra.
So
like
you
can
get
started
today.
If
you
really
want
to
again,
we
wouldn't
advise
wearing
it
in
production
and
it
only
supports
you
have
to
run
Stargate
Json
API
locally,
it's
not
up
in
Astra.
B
Yet
so
if
you're
gonna
run
it,
you
have
to
run
it
yourself,
but
it's
easy
enough
to
get
started,
because
we
have
like
a
Docker
compose
container
for
for
starting
up
starting
up
like
the
full
stack
in
terms
of
like
setting
up
Cassandra
setting
up
setting
up
all
the
Stargate
dependencies
setting
up
the
Stargate
Json
API.
So
then
all
you
do
is
point
a
node
project
to
it
and
you're
ready
to
try
it
out.
Yeah.
B
Once
so,
once
you
start
the
the
once,
you
start
the
Stargate
Docker
compose,
then
you
would
run
like
an
npm
start
command
and
that
basically,
like
runs
a
node
script.
So
Docker
is,
is
not
that
common
in
the
node.js
community
for
running
for
running
node
applications.
Just
because
oh
node
is
a
standalone
binary,
you
don't
really
have
to
compile
anything.
So
you
typically
just
ship.
Okay,
you
know
like
here
and
download
this
version
of
node.
A
B
Know
installing
dependencies
and
and
compiling
is
not
a
is
not
much
of
a
problem
in
the
node
Community
right
now,
right,
Docker
isn't
well.
We
don't
use
Docker
for
that
and
we
feel
like
it's
more
idiomatic
for
the
node
Community.
But
you
know
I
could
be
wrong
so.
A
No,
no
hey
that
makes
that
makes
sense.
That
makes
sense,
yeah
yeah
all
right!
Well,
hey!
Val!
Thank
you
very
much.
This
is.
This
has
been
really
great,
so
yeah.
Just
thank
you.
You
know
for
taking
the
time
and
coming
on
the
show
today
and
I
mean
really.
This
is
an
exciting
change
for
the
Cassandra
Community
I'm
I'm
pretty
excited
to
go
and
try
this
thing
out.
B
Yeah
I'm
pretty
excited
as
well.
Thanks
for
having
me
Aaron
and
yeah,
try
out
try
out
Stargate,
Mongoose,
I'm
sure
you'll
have
a
I'll.
Try
it
out
see
if
you
have
a
great
experience
and
if
you
don't
open
up
an
issue
on
GitHub
and
we'll
we'll
try
to
fix
it.
For
you.