Making Open Work
May 8–9, 2017: Training & Tutorials
May 10–11, 2017: Conference
Austin, TX

Databases and Docker: A survival guide

Alvin Richards (MariaDB Corporation)
5:05pm5:45pm Thursday, May 11, 2017
Infrastructure
Location: Ballroom E
Level: Intermediate
Average rating: ****.
(4.67, 3 ratings)

Who is this presentation for?

  • Developers and DevOps engineers

Prerequisite knowledge

  • A working knowledge of Docker and MariaDB

What you'll learn

  • Learn the challenges, pitfalls, and payoffs of deploying relational databases in a containerized environment

Description

Containers are great ephemeral vessels for your applications. But what about the data that drives your business? It must survive containers coming and going, maintain its availability and reliability, and grow when you need it. Alvin Richards does some live coding, illustrating the power of Docker Machine, Engine, Swarm, and Compose, demonstrating how to combine them with multihost networking to build a reliable, scalable, and production-ready tier for the data needs of your organization, and outlining key strategies to help you survive the transition to production.

Alvin starts with a quick overview of Docker, relational databases, and the key criteria to evaluate strategies as you move your application and database technology from development to production. Using a simple Python and Flask app, Alvin demonstrates how you can simply build, deploy, and test an application and satisfy your key considerations, including how to find and connect to the database from your application code and how to orchestrate a multicontainer application. Alvin then explains how to inject the behaviors and patterns needed for a production deployment, such as adding a load balancer in front of the web nodes and scaling the web nodes without any downtime or having to do manual reconfiguration. Alvin concludes by tackling scaling the database layer, showing how to automatically configure the database cluster on the fly, implement automatic discovery of the cluster, scale the cluster size, and inject affinity and other constraints to reflect the required production topology.

The GitHub repo will be provided to allow you to reproduce these demonstrations later.

Photo of Alvin Richards

Alvin Richards

MariaDB Corporation

Alvin Richards is the field CTO at MariaDB, the leading high-performance open source relational database, where he connects the dots between practitioners and innovators and MariaDB’s products. In prior lives, Alvin was vice president of product at Aerospike; ran engineering teams at Docker and MongoDB, leading the revolution of microservices and NoSQL; was technical director at NetApp, working to integrate databases and virtual infrastructures with storage; and worked at Oracle on data warehousing products.

Comments on this page are now closed.

Comments

Picture of Alvin Richards
Alvin Richards | FIELD CTO
05/12/2017 5:03am CDT

Slides are here https://www.scribd.com/document/348146874/Oscon-2017-Long