SlideShare a Scribd company logo
Medallia © Copyright 2015. 1
Medallia © Copyright 2015. 2
Docker Buenos Aires
• Medallia
○ “Software to improve the customer experience”
○ “Aggregating 1 Billion documents in 1 second or less”
• Mauricio Garavaglia
○ Software Engineer
○ mauricio@medallia.com
• 2015-05-21
Bienvenidos!!!
Medallia © Copyright 2015. 3
Docker 101
Medallia © Copyright 2015. 4
Problem: Matrix from Hell
Medallia © Copyright 2015. 5
Problem: Efficient use of Resources
Solution But...
Time Sharing! - Your library 2.0 clashes with my library 1.0
- Increase attack vectors
Virtualization! - Isolation but too much overhead!
- Seriously, overhead!
Containers! ...
Medallia © Copyright 2015. 6
“Lightweight Virtual Machine”
Medallia © Copyright 2015. 7
Docker
Containerization for the masses
Docker
Container
Linux cgroups
Linux
namespaces
Images
(Layered FS)
Medallia © Copyright 2015. 8
Server
Docker Architecture
Docker Client Docker Daemon
container 1
container 2
container 3
container 4
Rest API
Docker
HubImages
Medallia © Copyright 2015. 9
Checkout and have fun!
https://www.docker.com/tryit/
Medallia © Copyright 2015. 10
Microservices using relocatable
Docker containers
Thorvald Natvig (thorvald@medallia.com)
Mauricio Garavaglia (mauricio@medallia.com)
Medallia © Copyright 2015. 11
• Docker for everything!
• Docker for applications!
• Docker for load-balancers!
• Docker for zookeeper! And DNS!
• Docker for databases!
Problem to solve
Want a reliable, flexible data-center
Medallia © Copyright 2015. 12
Problem to Solve Today
Relocating non-movable services
DataCenter Firewall
Host: 10.1.2.3:80
Host: 10.1.2.5:80
172.17.0.3:80 nginx
Host: 10.1.2.4:2181
172.17.1.0:2181 zookeeper
172.17.1.2:80 application
Medallia © Copyright 2015. 13
Docker Bridged Networking Model
host1
container 1
eth0
10.1.2.3/24
172.16.1.1
172.16.1.2
docker0
veth0 veth1
Medallia © Copyright 2015. 14
Default (Bridged) Strategy
● Creates a pair of veth.
● Moves one to the container
namespace.
● Renames the container veth to
eth0
● Attaches the host veth to the
docker0 bridge
● Configures port forwarding in
iptables
Routed Strategy
● Creates a pair of veth.
● Moves one to the container
namespace.
● Renames the container veth to
eth0.
● Adds route to 0.0.0.0/0 via
eth0 in container.
● Adds route to container IP via
veth0 in the host.
Docker fork new strategy
Medallia © Copyright 2015. 15
OSPF Area
host1% ip route
10.4.5.6 dev veth0
...
Docker* Routed Networking Model
eth0
10.1.2.3/24
veth0
container-A
% ip route
default eth0
10.4.5.6/32
eth0
host2
host3
hostN
switch
Medallia © Copyright 2015. 16
Route to 10.1.2.3/32
Infrastructure
Spine
Leaf
Server
10.1.2.3/32
10.1.2.3/32
Medallia © Copyright 2015. 17
OSPF: 1998
• Open Shortest Path First
○ Propagated Link State Database
○ Supported by every vendor
• OSPF is computationally expensive
○ On a 1998-style embedded controller: Yes
○ On a 2015-style Intel Atom 64-bit: No
• Everything is point-to-point L3 links
• Switches and Servers run OSPF (Quagga)
• Cumulus! OSPF unnumbered
Old and boring is the new sexy
Medallia © Copyright 2015. 18
Running a Container
using the routed strategy
% docker run -it --net=routed --ip-address=10.2.3.4/32 ubuntu
(Will likely change to use labels...)
Medallia © Copyright 2015. 19
demo!
Medallia © Copyright 2015. 20
bright future ahead!
• Extract networking logic into a reusable library.
• Replace the networking subsystem of Docker.
• Docker 1.7 (libnetwork 0.3)
• Docker 1.8 (libnetwork 1.0)
• Get rid of our patch and wrap it as an extension/plugin.
• https://github.com/docker/libnetwork
LibNetwork
Medallia © Copyright 2015. 21
Pros and Cons
Awesomeness Sucksies
IP Mobility
Quick failover
No special snowflakes
Everything in docker
Future: CRIU?
T2 routing limit: 128K entries
Medallia © Copyright 2015. 22
How difficult is this?
Welcome to the network revolution!
● 40GbE “white-box” Switches
○ Cumulus: Debian-based Switch OS
○ x86-64 Linux server with 32 network interfaces
● Want to inspect network traffic?
○ sudo apt-get install tcpdump
● Technically possible to run remote xterm on the switch
● Currently waiting for Cumulus to update kernel version
○ Docker on the switches!
Medallia © Copyright 2015. 23
Leaf Switch /etc/network/interfaces Server /etc/network/interfaces
auto lo
iface lo inet loopback
address 10.225.10.245/32
%for v in range(1,17):
auto swp${v}
iface swp${v}
mtu 9000
address 10.225.10.${v*8+1}/30
%endfor
%for v in range(17,33):
auto swp${v}
iface swp${v}
mtu 9000
address 10.225.10.245/32
%endfor
auto lo
iface lo inet loopback
auto data0
iface data0 inet static
mtu 9000
address 10.225.10.10
netmask 255.255.255.252
gateway 10.225.10.9
How difficult is the network config?
To Servers
To Spines
To Leaf
Medallia © Copyright 2015. 24
Leaf/Spine Switch ospfd.conf Server ospfd.conf
router ospf
ospf router-id 10.225.10.245
network 10.224.0.0/12 area 0.0.0.0
!
interface swp1
ip ospf network point-to-point
!
interface swp2
ip ospf network point-to-point
!
….
! Bootstrap Config
router ospf
ospf router-id 10.225.10.10
redistribute kernel
passive-interface default
no passive-interface data0
network 10.224.0.0/12 area 0.0.0.0
!
log syslog
!
interface data0
ip ospf network point-to-point
!
How difficult is the network config?
Medallia © Copyright 2015. 25
“Good enough”
• 24-39 Gbit/s (core affinity)
• 13us ICMP ping
Performance
Medallia © Copyright 2015. 26
Local Development With Style
IP Mobility on Local Laptop
Allow for easy and rapid development
Boot2Docker
Medallia © Copyright 2015. 27
Boot2Docker on OSX
My MacBook
Boot2Docker VM
10.10.0.0/16
10.10.0.0/16
10.10.2.1/32 frontend on 8080
10.10.2.2/32 backed (date) on 9999
lo0: 10.10.2.2/32
backend
My Shell
Medallia © Copyright 2015. 28
Checkout and have fun!
www.github.com/medallia/docker
www.github.com/medallia/boot2docker-iso
docker@medallia.com
Medallia © Copyright 2015. 29
Questions?
Medallia © Copyright 2015. 30
Jueves 28 de Mayo
http://tinyurl.com/ioextendedba

More Related Content

What's hot (20)

PPTX
Start your adventure with docker
Sagar Dash
 
PPTX
Docker - 15 great Tutorials
Julien Barbier
 
PDF
Docker - introduction
Michał Kurzeja
 
PDF
Basic docker for developer
Weerayut Hongsa
 
PPTX
Dockerize the World - presentation from Hradec Kralove
damovsky
 
PDF
Docker worshop @Twitter - How to use your own private registry
dotCloud
 
PDF
Deploying containers and managing them on multiple Docker hosts, Docker Meetu...
dotCloud
 
PPTX
Why Docker
dotCloud
 
PPTX
Docker
Mutlu Okuducu
 
PDF
Docker workshop
Michał Kurzeja
 
PDF
Learning Docker with Thomas
Thomas Tong, FRM, PMP
 
PDF
Introduction to Docker
Jian Wu
 
PPTX
Docker and containers - For Boston Docker Meetup Workshop in March 2015
Jonas Rosland
 
PDF
Introduction to Docker - VIT Campus
Ajeet Singh Raina
 
PDF
Wordcamp Bratislava 2017 - Docker! Why?
Adam Štipák
 
PDF
Introduction to Containers - SQL Server and Docker
Chris Taylor
 
PPTX
Intro to Docker at the 2016 Evans Developer relations conference
Mano Marks
 
PDF
Docker and containers : Disrupting the virtual machine(VM)
Rama Krishna B
 
PPTX
Hypervisor "versus" Linux Containers with Docker !
Francisco Gonçalves
 
PDF
Docker and the Linux Kernel
Docker, Inc.
 
Start your adventure with docker
Sagar Dash
 
Docker - 15 great Tutorials
Julien Barbier
 
Docker - introduction
Michał Kurzeja
 
Basic docker for developer
Weerayut Hongsa
 
Dockerize the World - presentation from Hradec Kralove
damovsky
 
Docker worshop @Twitter - How to use your own private registry
dotCloud
 
Deploying containers and managing them on multiple Docker hosts, Docker Meetu...
dotCloud
 
Why Docker
dotCloud
 
Docker workshop
Michał Kurzeja
 
Learning Docker with Thomas
Thomas Tong, FRM, PMP
 
Introduction to Docker
Jian Wu
 
Docker and containers - For Boston Docker Meetup Workshop in March 2015
Jonas Rosland
 
Introduction to Docker - VIT Campus
Ajeet Singh Raina
 
Wordcamp Bratislava 2017 - Docker! Why?
Adam Štipák
 
Introduction to Containers - SQL Server and Docker
Chris Taylor
 
Intro to Docker at the 2016 Evans Developer relations conference
Mano Marks
 
Docker and containers : Disrupting the virtual machine(VM)
Rama Krishna B
 
Hypervisor "versus" Linux Containers with Docker !
Francisco Gonçalves
 
Docker and the Linux Kernel
Docker, Inc.
 

Viewers also liked (20)

PDF
Introduction to Docker
Jirayut Nimsaeng
 
PDF
Orchestrating Distributed Apps with Docker
Carl Su
 
PDF
TAP-Harness + friends
Steve Purkis
 
PDF
Barcelona MeetUp - Kontena Intro
Kontena, Inc.
 
PPTX
Beginners Guide To Kontena
Kontena, Inc.
 
PPTX
Introduction to Docker - What is it and how is it compared to VM's
Jeremy Haas
 
PPTX
Recruiting Optimization Roadshow - Mike Podobnik, Medallia
GreenhouseSoftware
 
PDF
Deprogramming Gender Bias
Lauren Jackman
 
PPTX
Demystifying Networking Webinar Series- Routing on the Host
Cumulus Networks
 
PPTX
Taking a look under the hood of Apache Flink's relational APIs.
Fabian Hueske
 
PPTX
Docker Swarm Introduction
rajdeep
 
PDF
認識那條鯨魚 Docker 初探
仲昀 王
 
PDF
Docker初识
hubugui
 
PDF
Docker應用
Jui An Huang (黃瑞安)
 
PDF
Docker 初探,實驗室中的運貨鯨
Ruoshi Ling
 
PPTX
JavaOne 2016: Code Generation with JavaCompiler for Fun, Speed and Business P...
Juan Cruz Nores
 
PPTX
Running Docker in Production - The Good, the Bad and The Ugly
Kontena, Inc.
 
PDF
Docker Swarm: Docker Native Clustering
Docker, Inc.
 
PDF
Docker Swarm 0.2.0
Docker, Inc.
 
PDF
Virtualization and cloud Computing
Rishikese MR
 
Introduction to Docker
Jirayut Nimsaeng
 
Orchestrating Distributed Apps with Docker
Carl Su
 
TAP-Harness + friends
Steve Purkis
 
Barcelona MeetUp - Kontena Intro
Kontena, Inc.
 
Beginners Guide To Kontena
Kontena, Inc.
 
Introduction to Docker - What is it and how is it compared to VM's
Jeremy Haas
 
Recruiting Optimization Roadshow - Mike Podobnik, Medallia
GreenhouseSoftware
 
Deprogramming Gender Bias
Lauren Jackman
 
Demystifying Networking Webinar Series- Routing on the Host
Cumulus Networks
 
Taking a look under the hood of Apache Flink's relational APIs.
Fabian Hueske
 
Docker Swarm Introduction
rajdeep
 
認識那條鯨魚 Docker 初探
仲昀 王
 
Docker初识
hubugui
 
Docker 初探,實驗室中的運貨鯨
Ruoshi Ling
 
JavaOne 2016: Code Generation with JavaCompiler for Fun, Speed and Business P...
Juan Cruz Nores
 
Running Docker in Production - The Good, the Bad and The Ugly
Kontena, Inc.
 
Docker Swarm: Docker Native Clustering
Docker, Inc.
 
Docker Swarm 0.2.0
Docker, Inc.
 
Virtualization and cloud Computing
Rishikese MR
 
Ad

Similar to Microservices using relocatable Docker containers (20)

PPTX
Docker networking Tutorial 101
LorisPack Project
 
PPTX
DCUS17 : Docker networking deep dive
Madhu Venugopal
 
PPTX
State of the Container Ecosystem
Vinay Rao
 
PDF
Dockerffm meetup 20150113_networking
Andreas Schmidt
 
PPT
Docker Multi Host Networking, Rachit Arora, IBM
Neependra Khare
 
PDF
2016-JAN-28 -- High Performance Production Databases on Ceph
Ceph Community
 
PPTX
Docker SDN (software-defined-networking) JUG
Piotr Kieszczyński
 
PPTX
Microservices Network Architecture 101
Cumulus Networks
 
PPTX
Docker networking tutorial 102
LorisPack Project
 
PDF
Docker Networking Deep Dive
Docker, Inc.
 
PDF
Docker 1.12 networking deep dive
Madhu Venugopal
 
PPTX
Networking in Docker Containers
Attila Kanto
 
PDF
Docker-OVS
snrism
 
PDF
Deeper Dive in Docker Overlay Networks
Docker, Inc.
 
PDF
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
dotCloud
 
PDF
A Gentle Introduction To Docker And All Things Containers
Jérôme Petazzoni
 
PDF
Practical Design Patterns in Docker Networking
Docker, Inc.
 
PPTX
Network Design patters with Docker
Daniel Finneran
 
PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
Jérôme Petazzoni
 
PPTX
Deep-Dive on Container Networking Architectures - Frans van Rooyen - Dell EMC...
{code} by Dell EMC
 
Docker networking Tutorial 101
LorisPack Project
 
DCUS17 : Docker networking deep dive
Madhu Venugopal
 
State of the Container Ecosystem
Vinay Rao
 
Dockerffm meetup 20150113_networking
Andreas Schmidt
 
Docker Multi Host Networking, Rachit Arora, IBM
Neependra Khare
 
2016-JAN-28 -- High Performance Production Databases on Ceph
Ceph Community
 
Docker SDN (software-defined-networking) JUG
Piotr Kieszczyński
 
Microservices Network Architecture 101
Cumulus Networks
 
Docker networking tutorial 102
LorisPack Project
 
Docker Networking Deep Dive
Docker, Inc.
 
Docker 1.12 networking deep dive
Madhu Venugopal
 
Networking in Docker Containers
Attila Kanto
 
Docker-OVS
snrism
 
Deeper Dive in Docker Overlay Networks
Docker, Inc.
 
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
dotCloud
 
A Gentle Introduction To Docker And All Things Containers
Jérôme Petazzoni
 
Practical Design Patterns in Docker Networking
Docker, Inc.
 
Network Design patters with Docker
Daniel Finneran
 
Docker 0.11 at MaxCDN meetup in Los Angeles
Jérôme Petazzoni
 
Deep-Dive on Container Networking Architectures - Frans van Rooyen - Dell EMC...
{code} by Dell EMC
 
Ad

Recently uploaded (20)

PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Python basic programing language for automation
DanialHabibi2
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 

Microservices using relocatable Docker containers

  • 2. Medallia © Copyright 2015. 2 Docker Buenos Aires • Medallia ○ “Software to improve the customer experience” ○ “Aggregating 1 Billion documents in 1 second or less” • Mauricio Garavaglia ○ Software Engineer ○ [email protected] • 2015-05-21 Bienvenidos!!!
  • 3. Medallia © Copyright 2015. 3 Docker 101
  • 4. Medallia © Copyright 2015. 4 Problem: Matrix from Hell
  • 5. Medallia © Copyright 2015. 5 Problem: Efficient use of Resources Solution But... Time Sharing! - Your library 2.0 clashes with my library 1.0 - Increase attack vectors Virtualization! - Isolation but too much overhead! - Seriously, overhead! Containers! ...
  • 6. Medallia © Copyright 2015. 6 “Lightweight Virtual Machine”
  • 7. Medallia © Copyright 2015. 7 Docker Containerization for the masses Docker Container Linux cgroups Linux namespaces Images (Layered FS)
  • 8. Medallia © Copyright 2015. 8 Server Docker Architecture Docker Client Docker Daemon container 1 container 2 container 3 container 4 Rest API Docker HubImages
  • 9. Medallia © Copyright 2015. 9 Checkout and have fun! https://www.docker.com/tryit/
  • 10. Medallia © Copyright 2015. 10 Microservices using relocatable Docker containers Thorvald Natvig ([email protected]) Mauricio Garavaglia ([email protected])
  • 11. Medallia © Copyright 2015. 11 • Docker for everything! • Docker for applications! • Docker for load-balancers! • Docker for zookeeper! And DNS! • Docker for databases! Problem to solve Want a reliable, flexible data-center
  • 12. Medallia © Copyright 2015. 12 Problem to Solve Today Relocating non-movable services DataCenter Firewall Host: 10.1.2.3:80 Host: 10.1.2.5:80 172.17.0.3:80 nginx Host: 10.1.2.4:2181 172.17.1.0:2181 zookeeper 172.17.1.2:80 application
  • 13. Medallia © Copyright 2015. 13 Docker Bridged Networking Model host1 container 1 eth0 10.1.2.3/24 172.16.1.1 172.16.1.2 docker0 veth0 veth1
  • 14. Medallia © Copyright 2015. 14 Default (Bridged) Strategy ● Creates a pair of veth. ● Moves one to the container namespace. ● Renames the container veth to eth0 ● Attaches the host veth to the docker0 bridge ● Configures port forwarding in iptables Routed Strategy ● Creates a pair of veth. ● Moves one to the container namespace. ● Renames the container veth to eth0. ● Adds route to 0.0.0.0/0 via eth0 in container. ● Adds route to container IP via veth0 in the host. Docker fork new strategy
  • 15. Medallia © Copyright 2015. 15 OSPF Area host1% ip route 10.4.5.6 dev veth0 ... Docker* Routed Networking Model eth0 10.1.2.3/24 veth0 container-A % ip route default eth0 10.4.5.6/32 eth0 host2 host3 hostN switch
  • 16. Medallia © Copyright 2015. 16 Route to 10.1.2.3/32 Infrastructure Spine Leaf Server 10.1.2.3/32 10.1.2.3/32
  • 17. Medallia © Copyright 2015. 17 OSPF: 1998 • Open Shortest Path First ○ Propagated Link State Database ○ Supported by every vendor • OSPF is computationally expensive ○ On a 1998-style embedded controller: Yes ○ On a 2015-style Intel Atom 64-bit: No • Everything is point-to-point L3 links • Switches and Servers run OSPF (Quagga) • Cumulus! OSPF unnumbered Old and boring is the new sexy
  • 18. Medallia © Copyright 2015. 18 Running a Container using the routed strategy % docker run -it --net=routed --ip-address=10.2.3.4/32 ubuntu (Will likely change to use labels...)
  • 19. Medallia © Copyright 2015. 19 demo!
  • 20. Medallia © Copyright 2015. 20 bright future ahead! • Extract networking logic into a reusable library. • Replace the networking subsystem of Docker. • Docker 1.7 (libnetwork 0.3) • Docker 1.8 (libnetwork 1.0) • Get rid of our patch and wrap it as an extension/plugin. • https://github.com/docker/libnetwork LibNetwork
  • 21. Medallia © Copyright 2015. 21 Pros and Cons Awesomeness Sucksies IP Mobility Quick failover No special snowflakes Everything in docker Future: CRIU? T2 routing limit: 128K entries
  • 22. Medallia © Copyright 2015. 22 How difficult is this? Welcome to the network revolution! ● 40GbE “white-box” Switches ○ Cumulus: Debian-based Switch OS ○ x86-64 Linux server with 32 network interfaces ● Want to inspect network traffic? ○ sudo apt-get install tcpdump ● Technically possible to run remote xterm on the switch ● Currently waiting for Cumulus to update kernel version ○ Docker on the switches!
  • 23. Medallia © Copyright 2015. 23 Leaf Switch /etc/network/interfaces Server /etc/network/interfaces auto lo iface lo inet loopback address 10.225.10.245/32 %for v in range(1,17): auto swp${v} iface swp${v} mtu 9000 address 10.225.10.${v*8+1}/30 %endfor %for v in range(17,33): auto swp${v} iface swp${v} mtu 9000 address 10.225.10.245/32 %endfor auto lo iface lo inet loopback auto data0 iface data0 inet static mtu 9000 address 10.225.10.10 netmask 255.255.255.252 gateway 10.225.10.9 How difficult is the network config? To Servers To Spines To Leaf
  • 24. Medallia © Copyright 2015. 24 Leaf/Spine Switch ospfd.conf Server ospfd.conf router ospf ospf router-id 10.225.10.245 network 10.224.0.0/12 area 0.0.0.0 ! interface swp1 ip ospf network point-to-point ! interface swp2 ip ospf network point-to-point ! …. ! Bootstrap Config router ospf ospf router-id 10.225.10.10 redistribute kernel passive-interface default no passive-interface data0 network 10.224.0.0/12 area 0.0.0.0 ! log syslog ! interface data0 ip ospf network point-to-point ! How difficult is the network config?
  • 25. Medallia © Copyright 2015. 25 “Good enough” • 24-39 Gbit/s (core affinity) • 13us ICMP ping Performance
  • 26. Medallia © Copyright 2015. 26 Local Development With Style IP Mobility on Local Laptop Allow for easy and rapid development Boot2Docker
  • 27. Medallia © Copyright 2015. 27 Boot2Docker on OSX My MacBook Boot2Docker VM 10.10.0.0/16 10.10.0.0/16 10.10.2.1/32 frontend on 8080 10.10.2.2/32 backed (date) on 9999 lo0: 10.10.2.2/32 backend My Shell
  • 28. Medallia © Copyright 2015. 28 Checkout and have fun! www.github.com/medallia/docker www.github.com/medallia/boot2docker-iso [email protected]
  • 29. Medallia © Copyright 2015. 29 Questions?
  • 30. Medallia © Copyright 2015. 30 Jueves 28 de Mayo http://tinyurl.com/ioextendedba