Frank Celler discusses using the Ruby-based scripting language mruby as an embedded language in the AvocadoDB nosql database. He explains that AvocadoDB offers unique features and solves some problems of other nosql databases. The mruby subproject allows using Ruby scripts for stored procedures, as an alternative to JavaScript, and provides access to AvocadoDB's graph functions. He invites interested developers to get involved with the AvocadoDB project.
Gen AI in Business - Global Trends Report 2024.pdf
Using mruby in the nosql database Avocadodb
1. AvocadoDB
&
mruby
-‐
using
Ruby
as
embedded
language
in
a
nosql
database
-‐
Frank
Celler
@fceller
2012-‐04-‐25
::
cologne.rb
2. Why
did
we
start
with
AvocadoDB?
• MongoDB,
CouchDB,
Riak
etc
are
great
projects
…
but
we
believe
there‘s
need
&&
room
for
another
nosql
database
• AvocadoDB
offers
a
unique
feature
set
&&
solves
some
problems
of
other
nosql
DBs
• AvocadoDB
is
developed
as
a
green
field
project
without
pressure
from
customer‘s
projects
• It‘s
leaded
by
experienced
database
programmers
(they
already
developed
databases
when
most
of
us
were
sUll
moving
around
sprites
on
our
C64)
ld
greenfie
project
J
3. t
flexible
data
schema
free
free
index
mulU-‐threaded
modeling
schemata
choice
www.avocadodb.org
usable
as
SSD
Support
configurable
server
side
mruby
?!
applicaUon
server
durability
Javascript
6. mruby
in
AvocadoDB
• as
alternaUve
to
Javascript
(like
LUA
in
Redis)
• Implemeted:
Prototype
of
an
interacUve
shell
In
detail
informaUon
(with
performance
tests)
• h_p://www.avocadodb.org/category/mruby
7. mruby
in
AvocadoDb
–
what
for?
• Stored
procedures
(„acUons“)
• Replacement
for
map/reduce
in
Javascript
• Accessing
AvocadoDB‘s
graphs
• <your
idea
here>
8. Get
in
touch
::
join
the
team
• h_p://www.avocadodb.org
• h_ps://github.com/triAGENS/AvocadoDB/
• Google
Group:
AvocadoDB
• @fceller
||
@avocadoDB