RethinkDB on Oracle Linux
Johan Louwers – Johan.Louwers@capgemini.com
2Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
 What is RethinkDB?
RethinkDB is the first open-source, scalable JSON database built from the
ground up for the realtime web. It inverts the traditional database
architecture by exposing an exciting new access model – instead of polling
for changes, the developer can tell RethinkDB to continuously push updated
query results to applications in realtime. RethinkDB’s realtime push
architecture dramatically reduces the time and effort necessary to build
scalable realtime apps.
In addition to being designed from the ground up for realtime apps,
RethinkDB offers a flexible query language, intuitive operations and
monitoring APIs, and is easy to setup and learn.
RethinkDB
“Running RethinkDB on Oracle Linux”
3Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
 When is RethinkDB a good choice?
RethinkDB is a great choice when your applications could benefit from
realtime feeds to your data.
The query-response database access model works well on the web because
it maps directly to HTTP’s request-response. However, modern applications
require sending data directly to the client in realtime. Use cases where
companies benefited from RethinkDB’s realtime push architecture include:
• Collaborative web and mobile apps
• Streaming analytics apps
• Multiplayer games
• Realtime marketplaces
• Connected devices
RethinkDB
“Running RethinkDB on Oracle Linux”
4Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 3+1 main options
3+1 main options for running RethinkDB with Oracle Linux
Oracle Linux Bare Metal Oracle VM and Oracle Linux Oracle Compute Cloud Option 1 – 3 + Docker
5Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 Oracle Linux and RethinkDB on bare-metal
Even though the tendency is to move more and more to virtualized and
cloud based deployments a bare-metal deployment is still a good solution in
certain cases.
Some pointers :
• In case of high performance demands
• In case of the lack of a private cloud and no option to move public
• In case of a corporate rule to only use bare-metal deployment
Oracle Linux Bare Metal
6Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 Oracle Linux and RethinkDB on Oracle VM
Running systems on a virtualized environment is common way of deploying
environments. You can use Oracle VM in combination with standard X86
hardware or Oracle Private Cloud Appliances to build a private cloud and
run virtual machines with RethinkDB on this.
Some pointers :
• Provides a flexible environment
• Added HA solutions with Oracle VM
• (semi-) automated deployment of RethinkDB systems
• Self-Service portal functionality by using Oracle Enterprise Manager IaaS
Oracle VM and Oracle Linux
7Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 Oracle Linux and RethinkDB on Oracle Cloud
Oracle Cloud is capable of hosting virtual Oracle Linux environments. By
using Oracle cloud you are able to host Oracle Linux machines running
RehtinkDB. This is the ideal way to start with RethinkDB and quickly setup
an environment
Some pointers :
• Provides a flexible environment
• Cloud hosted – pay per use
• (semi-) automated deployment of RethinkDB systems
• Ability to use templates containing your specific RethinkDB installation
Oracle Compute Cloud
8Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 Oracle Linux and RethinkDB in combination with Docker
Docker containers wrap up a piece of software in a complete filesystem that
contains everything it needs to run: code, runtime, system tools, system
libraries – anything you can install on a server. This guarantees that it will
always run the same, regardless of the environment it is running in.
Some pointers :
• Docker is a great way of dploying RethinkDB
• Use the following command to get started : docker pull rethinkdb
9Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 RethinkDB installation and Google Protocol Buffers
Protocol buffers are a language-neutral, platform-neutral extensible
mechanism for serializing structured data.
• Google Protocol Buffers (ProtoBuf) is required for RethinkDB
• ProtoBuf is not available as an RPM for Oracle Linux.
• You will have to compile ProtoBuf yourself
$ git clone https://github.com/google/protobuf
$ ./autogen.sh
$ ./configure
$ make
$ make check
$ make install
10Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 RethinkDB installation on Oracle Linux
RethinkDB is not on the Oracle Linux YUM repository. You will have to use
the RethinkDB YUM repository for CentOS
$ wget https://download.rethinkdb.com/centos/6/x86_64/rethinkdb.repo -O
/etc/yum.repos.d/rethinkdb.repo
$ yum -y install rethinkdb
$ rm -f /etc/yum.repos.d/rethinkdb.repo
11Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 RethinkDB installation on Oracle Linux
To make life more easy…. We created a full installation script which can be
downloaded from GitHub.
https://github.com/louwersj/Oracle-Linux-Scripting/blob/master/install_scripts/non-
prod/installRetinkDB.sh
12Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 RethinkDB check installation
• Make sure RethinkDB is running
• Make sure RethinkDB is available on localhost:8080
•Enable none-local interfaces by using --bind all
13Copyright © Capgemini 2015. All Rights Reserved
RethinkDB on Oracle Linux– Johan Louwers
RethinkDB
“Running RethinkDB on Oracle Linux”
 Contact & questions
Johan Louwers
• Lead Architect – Capgemini Global Oracle Architect Office
• Oracle Ace Director
Blog : johanlouwers.blogspot.com
Web : https://www.capgemini.com/experts/oracle-and-cloud-computing/johan-louwers
Twitter : @johanlouwers
LinkedIn : https://www.linkedin.com/in/johanlouwers
Mail : louwersj@gmail.com / johan.louwers@capgemini.com
The information contained in this presentation is proprietary.
© 2014 Capgemini. All rights reserved.
www.capgemini.com
About Capgemini
With almost 140,000 people in 40 countries, Capgemini is one of
the world’s foremost providers of consulting, technology and
outsourcing services. The Group reported 2013 global revenues
of EUR 10.1 billion.
Together with its clients, Capgemini creates and delivers
business and technology solutions that fit their needs and drive
the results they want.
A deeply multicultural organization, Capgemini has developed its
own way of working, the Collaborative Business ExperienceTM,
and draws on Rightshore®, its worldwide delivery model.
Rightshore® is a trademark belonging to Capgemini

RethinkDB on Oracle Linux

  • 1.
    RethinkDB on OracleLinux Johan Louwers – Johan.Louwers@capgemini.com
  • 2.
    2Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers  What is RethinkDB? RethinkDB is the first open-source, scalable JSON database built from the ground up for the realtime web. It inverts the traditional database architecture by exposing an exciting new access model – instead of polling for changes, the developer can tell RethinkDB to continuously push updated query results to applications in realtime. RethinkDB’s realtime push architecture dramatically reduces the time and effort necessary to build scalable realtime apps. In addition to being designed from the ground up for realtime apps, RethinkDB offers a flexible query language, intuitive operations and monitoring APIs, and is easy to setup and learn. RethinkDB “Running RethinkDB on Oracle Linux”
  • 3.
    3Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers  When is RethinkDB a good choice? RethinkDB is a great choice when your applications could benefit from realtime feeds to your data. The query-response database access model works well on the web because it maps directly to HTTP’s request-response. However, modern applications require sending data directly to the client in realtime. Use cases where companies benefited from RethinkDB’s realtime push architecture include: • Collaborative web and mobile apps • Streaming analytics apps • Multiplayer games • Realtime marketplaces • Connected devices RethinkDB “Running RethinkDB on Oracle Linux”
  • 4.
    4Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  3+1 main options 3+1 main options for running RethinkDB with Oracle Linux Oracle Linux Bare Metal Oracle VM and Oracle Linux Oracle Compute Cloud Option 1 – 3 + Docker
  • 5.
    5Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  Oracle Linux and RethinkDB on bare-metal Even though the tendency is to move more and more to virtualized and cloud based deployments a bare-metal deployment is still a good solution in certain cases. Some pointers : • In case of high performance demands • In case of the lack of a private cloud and no option to move public • In case of a corporate rule to only use bare-metal deployment Oracle Linux Bare Metal
  • 6.
    6Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  Oracle Linux and RethinkDB on Oracle VM Running systems on a virtualized environment is common way of deploying environments. You can use Oracle VM in combination with standard X86 hardware or Oracle Private Cloud Appliances to build a private cloud and run virtual machines with RethinkDB on this. Some pointers : • Provides a flexible environment • Added HA solutions with Oracle VM • (semi-) automated deployment of RethinkDB systems • Self-Service portal functionality by using Oracle Enterprise Manager IaaS Oracle VM and Oracle Linux
  • 7.
    7Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  Oracle Linux and RethinkDB on Oracle Cloud Oracle Cloud is capable of hosting virtual Oracle Linux environments. By using Oracle cloud you are able to host Oracle Linux machines running RehtinkDB. This is the ideal way to start with RethinkDB and quickly setup an environment Some pointers : • Provides a flexible environment • Cloud hosted – pay per use • (semi-) automated deployment of RethinkDB systems • Ability to use templates containing your specific RethinkDB installation Oracle Compute Cloud
  • 8.
    8Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  Oracle Linux and RethinkDB in combination with Docker Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in. Some pointers : • Docker is a great way of dploying RethinkDB • Use the following command to get started : docker pull rethinkdb
  • 9.
    9Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  RethinkDB installation and Google Protocol Buffers Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data. • Google Protocol Buffers (ProtoBuf) is required for RethinkDB • ProtoBuf is not available as an RPM for Oracle Linux. • You will have to compile ProtoBuf yourself $ git clone https://github.com/google/protobuf $ ./autogen.sh $ ./configure $ make $ make check $ make install
  • 10.
    10Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  RethinkDB installation on Oracle Linux RethinkDB is not on the Oracle Linux YUM repository. You will have to use the RethinkDB YUM repository for CentOS $ wget https://download.rethinkdb.com/centos/6/x86_64/rethinkdb.repo -O /etc/yum.repos.d/rethinkdb.repo $ yum -y install rethinkdb $ rm -f /etc/yum.repos.d/rethinkdb.repo
  • 11.
    11Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  RethinkDB installation on Oracle Linux To make life more easy…. We created a full installation script which can be downloaded from GitHub. https://github.com/louwersj/Oracle-Linux-Scripting/blob/master/install_scripts/non- prod/installRetinkDB.sh
  • 12.
    12Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  RethinkDB check installation • Make sure RethinkDB is running • Make sure RethinkDB is available on localhost:8080 •Enable none-local interfaces by using --bind all
  • 13.
    13Copyright © Capgemini2015. All Rights Reserved RethinkDB on Oracle Linux– Johan Louwers RethinkDB “Running RethinkDB on Oracle Linux”  Contact & questions Johan Louwers • Lead Architect – Capgemini Global Oracle Architect Office • Oracle Ace Director Blog : johanlouwers.blogspot.com Web : https://www.capgemini.com/experts/oracle-and-cloud-computing/johan-louwers Twitter : @johanlouwers LinkedIn : https://www.linkedin.com/in/johanlouwers Mail : louwersj@gmail.com / johan.louwers@capgemini.com
  • 14.
    The information containedin this presentation is proprietary. © 2014 Capgemini. All rights reserved. www.capgemini.com About Capgemini With almost 140,000 people in 40 countries, Capgemini is one of the world’s foremost providers of consulting, technology and outsourcing services. The Group reported 2013 global revenues of EUR 10.1 billion. Together with its clients, Capgemini creates and delivers business and technology solutions that fit their needs and drive the results they want. A deeply multicultural organization, Capgemini has developed its own way of working, the Collaborative Business ExperienceTM, and draws on Rightshore®, its worldwide delivery model. Rightshore® is a trademark belonging to Capgemini