SlideShare a Scribd company logo
Docker Based SaaS Platform
- Case Study
Leveraging Docker Containerization to
power a large user base SaaS
1
WaveMakerOnline.com
2500
DEVELOPERS
from 125+
countries
Over 4
Million
Application
Hits
Over 25 GB
App Data
Transferred
Over 37,000
Containers
Provisioned
SaaS Based aPaaS Platform
Requirements
• Available 24x7
• Across all geographies
• Developer Platform (3000+ Developers)
• Isolation, Security
• Deploy Applications
Docker provides Higher Density
Leveraging Docker
• Process Isolation
– LXC namespaces & control groups provides user level separation for processes
• CPU/Memory partitioning
– Using control groups we can limit the usage of physical resources (eg: 20% max.
memory for any given virtual server)
• Volume partitioning
– AWS EBS volumes are partitioned and attached to individual virtual servers
• Sharing of OS-level file resources
– ‘aufs’ (filesystem) enables layered read/write directories
– Only writes by the user processes are included in the snapshot, reducing the
footprint for each user
5
Container in detail
MonitoringAgent
OSJ-Stack: Industry standard Open-source Java™ stack
Processes reside in their “namespaces”
and requires no configuration changes
Docker Container provides isolation for
an application’s platform stack
80 3306
Network Bridge
8080 23306
Processes within namespaces can be
exposed outside the containers for
troubleshooting
Optimized Resource Utilization
1.Container Allocation
2.On-Demand Activation
3.Automated Passivation
4.Snapshot Optimization
Container Lifecycle
Container Allocation8
EC2 m1.large
Using Docker, a Container is
created for each user or app
CPU & Memory resources of
underlying instance are shared by
Containers
Each Container encapsulates the
services, configuration and
application data
New Users
• Platform uses LRU based algorithm for allocating and de-provisioning of
Containers, to provide multi-tenancy
• Containers are lightweight, consumes lesser resources and are faster to
bootstrap
On-Demand Activation9
Platform
Load Balancer
Restore Container’s state
along with application data
from Storage (S3)
Activation
Dispatches request to
restored back-end
node
App
Request
S3
Intercepts App
Request
Returning
User
If activation takes longer time due to the size of the snapshot, user
experiences delays in app access
Automated Passivation10
X
CPU & Memory used by
Container is reclaimed
A snapshot of Container is
taken and saved to S3
Hibernation Passivation
Activation
Restore the Container
back to running state
User Inactive
Passivation saves entire
application state and
configuration to storage
for later usage
S3
Snapshot Optimization11
/var/lib/mysql
data_dir
/usr/tomcat
webapps
lib
Read-Only directories,
resides in Base Image
Read-Write directories, only
the updated files are copied
to rootfs (snapshot location)
S3
AUFS (union file system) provides layered read/write directories,
enabling copy-on-write at the file-system
Tremendous reduction in snapshot
size, as only the modified files are
included
Scaling to large user base12
34.3
23.8 26.8 23.7
7.4
51.8
78.8
62
72
76.3
0
20
40
60
80
100
120
23 30 33 34 100
No. of Virtual Servers
Response Time (ms)
TPS/Virtual Server
0
20
40
60
80
Sys%
CPU%
Virtual Server
Recovery Management13
S3
EBS
On passivation,
snapshots are saved
to AWS S3
Virtual Server’s file-system
is mounted from EBS
volume
Application Data and configuration can be restored from the
EBS volumes in the event of system crashes.
It is application’s responsibility to persist in-memory
data to persistence storage.
Snapshots of EBS volumes are taken at regular intervals to
reduce data losses
Thank You

More Related Content

What's hot (20)

PDF
Infrastructure as Code for Azure: ARM or Terraform?
Katherine Golovinova
 
PDF
Infrastructure as Code
Robert Greiner
 
PPTX
Becoming the master of disaster... with asr
nj-azure
 
PPTX
Docker for the Enterprise with Containers as a Service by Banjot Chanana
Docker, Inc.
 
PDF
Introduction to Oracle Cloud Infrastructure Services
Knoldus Inc.
 
PDF
Java in the Cloud : PaaS Platforms in Comparison
Eberhard Wolff
 
PPTX
Tokyo azure meetup #12 service fabric internals
Tokyo Azure Meetup
 
PPTX
Docker In Cloud
Santanu Pattanayak
 
PDF
Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
VMware Tanzu
 
PDF
Comparison of Several PaaS Cloud Computing Platforms
ijsrd.com
 
PPTX
TechnoramaNL Azure Key Vault, Azure Dev Ops and Azure Data Factor
Erwin de Kreuk
 
PPTX
Oracle Code Keynote with Thomas Kurian
Oracle Developers
 
PPTX
VMworld 2015: Build and Run Cloud Native Apps in your Software Defined Data C...
VMworld
 
PDF
Olivier meetup-boston-2013-jan-21-v2
Olivier Eeckhoutte
 
PPTX
PaaS Ecosystem Overview
Dmitry Meytin
 
PDF
How to Make Money Solving 5 Major Problems of Cloud Hosting Customers
Jelastic Multi-Cloud PaaS
 
PPTX
Terraform for azure: the good, the bad and the ugly -
Giulio Vian
 
PPTX
Azure Service Fabric Overview
João Pedro Martins
 
PPTX
Delivering Developer Tools at Scale
Oracle Developers
 
PPTX
Cloud foundry architecture and deep dive
Animesh Singh
 
Infrastructure as Code for Azure: ARM or Terraform?
Katherine Golovinova
 
Infrastructure as Code
Robert Greiner
 
Becoming the master of disaster... with asr
nj-azure
 
Docker for the Enterprise with Containers as a Service by Banjot Chanana
Docker, Inc.
 
Introduction to Oracle Cloud Infrastructure Services
Knoldus Inc.
 
Java in the Cloud : PaaS Platforms in Comparison
Eberhard Wolff
 
Tokyo azure meetup #12 service fabric internals
Tokyo Azure Meetup
 
Docker In Cloud
Santanu Pattanayak
 
Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
VMware Tanzu
 
Comparison of Several PaaS Cloud Computing Platforms
ijsrd.com
 
TechnoramaNL Azure Key Vault, Azure Dev Ops and Azure Data Factor
Erwin de Kreuk
 
Oracle Code Keynote with Thomas Kurian
Oracle Developers
 
VMworld 2015: Build and Run Cloud Native Apps in your Software Defined Data C...
VMworld
 
Olivier meetup-boston-2013-jan-21-v2
Olivier Eeckhoutte
 
PaaS Ecosystem Overview
Dmitry Meytin
 
How to Make Money Solving 5 Major Problems of Cloud Hosting Customers
Jelastic Multi-Cloud PaaS
 
Terraform for azure: the good, the bad and the ugly -
Giulio Vian
 
Azure Service Fabric Overview
João Pedro Martins
 
Delivering Developer Tools at Scale
Oracle Developers
 
Cloud foundry architecture and deep dive
Animesh Singh
 

Viewers also liked (6)

PPT
Building a Platform-as-a-Service with Docker and Node.js
Kevin Swiber
 
DOCX
Build Your Own SaaS using Docker
Julien Barbier
 
PDF
Building a SaaS with Nodejs, Docker, and CoreOS
Ross Kukulinski
 
PPTX
Multi tenancy - Wining formula for a PaaS
WSO2
 
PPTX
Building a Multi-tenanted SaaS with Node.js
Eoin Shanaghy
 
PPTX
How to build, manage and operate a successful saas business
kanimozhin
 
Building a Platform-as-a-Service with Docker and Node.js
Kevin Swiber
 
Build Your Own SaaS using Docker
Julien Barbier
 
Building a SaaS with Nodejs, Docker, and CoreOS
Ross Kukulinski
 
Multi tenancy - Wining formula for a PaaS
WSO2
 
Building a Multi-tenanted SaaS with Node.js
Eoin Shanaghy
 
How to build, manage and operate a successful saas business
kanimozhin
 
Ad

Similar to Docker Based SaaS Platform - Case Study (20)

PPTX
Cnam azure 2014 storage
Aymeric Weinbach
 
PPT
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
Oracle
 
PPT
exploring-the-oracle-database-architecture.ppt
AmitavaRoy49
 
PPT
exploring-the-oracle-database-architecture.ppt
AmitavaRoy49
 
PPT
Exploring the Oracle Database Architecture.ppt
MohammedHdi1
 
PDF
Cloud computing aws -key services
Selvaraj Kesavan
 
PPTX
Introduction to OS LEVEL Virtualization & Containers
Vaibhav Sharma
 
PDF
As34269277
IJERA Editor
 
PDF
Introduction to Apache Mesos and DC/OS
Steve Wong
 
PDF
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red_Hat_Storage
 
PPTX
Cnam azure 2015 storage
Aymeric Weinbach
 
PDF
AWS Certified Developer Associate - Notes
Anmol Dash
 
PPTX
Understand oracle real application cluster
Satishbabu Gunukula
 
PDF
Maginatics Cloud Storage Platform - MCSP 3.0 Technical Highlights
Maginatics
 
PPTX
Multi Tenancy In The Cloud
rohit_ainapure
 
PPTX
Scality_Presentation.pptx
Abdou El Hajaoui
 
PPT
Less01_Architecture.ppt
MuhammadUmair833474
 
PDF
Advanced resource allocation and service level monitoring for container orche...
Conference Papers
 
PDF
Advanced resource allocation and service level monitoring for container orche...
Conference Papers
 
PPT
Customer overview oracle solaris cluster, enterprise edition
solarisyougood
 
Cnam azure 2014 storage
Aymeric Weinbach
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
Oracle
 
exploring-the-oracle-database-architecture.ppt
AmitavaRoy49
 
exploring-the-oracle-database-architecture.ppt
AmitavaRoy49
 
Exploring the Oracle Database Architecture.ppt
MohammedHdi1
 
Cloud computing aws -key services
Selvaraj Kesavan
 
Introduction to OS LEVEL Virtualization & Containers
Vaibhav Sharma
 
As34269277
IJERA Editor
 
Introduction to Apache Mesos and DC/OS
Steve Wong
 
Red Hat Storage Day Atlanta - Persistent Storage for Linux Containers
Red_Hat_Storage
 
Cnam azure 2015 storage
Aymeric Weinbach
 
AWS Certified Developer Associate - Notes
Anmol Dash
 
Understand oracle real application cluster
Satishbabu Gunukula
 
Maginatics Cloud Storage Platform - MCSP 3.0 Technical Highlights
Maginatics
 
Multi Tenancy In The Cloud
rohit_ainapure
 
Scality_Presentation.pptx
Abdou El Hajaoui
 
Less01_Architecture.ppt
MuhammadUmair833474
 
Advanced resource allocation and service level monitoring for container orche...
Conference Papers
 
Advanced resource allocation and service level monitoring for container orche...
Conference Papers
 
Customer overview oracle solaris cluster, enterprise edition
solarisyougood
 
Ad

More from WaveMaker, Inc. (20)

PDF
The subtle art of building scalable apps using low code
WaveMaker, Inc.
 
PDF
6 questions every enterprise must ask its low code vendor
WaveMaker, Inc.
 
PDF
Container delivery is a revolution not evolution
WaveMaker, Inc.
 
PDF
Replatforming IBM AS/400 based systems without disruption
WaveMaker, Inc.
 
PDF
Democratizing App Development in Insurance Industry
WaveMaker, Inc.
 
PDF
Reduced Costs by 75%: Kana Software Case Study
WaveMaker, Inc.
 
PDF
WaveMaker Case Study - Faster, Better & More Agile With Docker
WaveMaker, Inc.
 
PDF
3i Infotech Case Study
WaveMaker, Inc.
 
PDF
Modernizing Oracle Forms: Flanagan
WaveMaker, Inc.
 
PDF
Reducing Costs & Time: The Pioneer Natural Resources Company Case Study
WaveMaker, Inc.
 
PPTX
DevOps automation for Container based App Delivery
WaveMaker, Inc.
 
PPTX
Accelerate digital transformation using low code platforms
WaveMaker, Inc.
 
PPTX
State of enterprise mobile app development 2017
WaveMaker, Inc.
 
PDF
Low Code Platforms - Ebook
WaveMaker, Inc.
 
PPTX
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" Happy
WaveMaker, Inc.
 
PPTX
Practical strategies to innovate faster and meet business goals
WaveMaker, Inc.
 
PPTX
Accelerate Enterprise Mobile Application Development
WaveMaker, Inc.
 
PPTX
WaveMaker API Success
WaveMaker, Inc.
 
PPT
Creating an app ecosystem for your APIs
WaveMaker, Inc.
 
PPTX
Jump start your Rapid Application Delivery with WaveMaker
WaveMaker, Inc.
 
The subtle art of building scalable apps using low code
WaveMaker, Inc.
 
6 questions every enterprise must ask its low code vendor
WaveMaker, Inc.
 
Container delivery is a revolution not evolution
WaveMaker, Inc.
 
Replatforming IBM AS/400 based systems without disruption
WaveMaker, Inc.
 
Democratizing App Development in Insurance Industry
WaveMaker, Inc.
 
Reduced Costs by 75%: Kana Software Case Study
WaveMaker, Inc.
 
WaveMaker Case Study - Faster, Better & More Agile With Docker
WaveMaker, Inc.
 
3i Infotech Case Study
WaveMaker, Inc.
 
Modernizing Oracle Forms: Flanagan
WaveMaker, Inc.
 
Reducing Costs & Time: The Pioneer Natural Resources Company Case Study
WaveMaker, Inc.
 
DevOps automation for Container based App Delivery
WaveMaker, Inc.
 
Accelerate digital transformation using low code platforms
WaveMaker, Inc.
 
State of enterprise mobile app development 2017
WaveMaker, Inc.
 
Low Code Platforms - Ebook
WaveMaker, Inc.
 
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" Happy
WaveMaker, Inc.
 
Practical strategies to innovate faster and meet business goals
WaveMaker, Inc.
 
Accelerate Enterprise Mobile Application Development
WaveMaker, Inc.
 
WaveMaker API Success
WaveMaker, Inc.
 
Creating an app ecosystem for your APIs
WaveMaker, Inc.
 
Jump start your Rapid Application Delivery with WaveMaker
WaveMaker, Inc.
 

Recently uploaded (20)

PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Learn Computer Forensics, Second Edition
AnuraShantha7
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Learn Computer Forensics, Second Edition
AnuraShantha7
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 

Docker Based SaaS Platform - Case Study

  • 1. Docker Based SaaS Platform - Case Study Leveraging Docker Containerization to power a large user base SaaS 1
  • 2. WaveMakerOnline.com 2500 DEVELOPERS from 125+ countries Over 4 Million Application Hits Over 25 GB App Data Transferred Over 37,000 Containers Provisioned SaaS Based aPaaS Platform
  • 3. Requirements • Available 24x7 • Across all geographies • Developer Platform (3000+ Developers) • Isolation, Security • Deploy Applications
  • 5. Leveraging Docker • Process Isolation – LXC namespaces & control groups provides user level separation for processes • CPU/Memory partitioning – Using control groups we can limit the usage of physical resources (eg: 20% max. memory for any given virtual server) • Volume partitioning – AWS EBS volumes are partitioned and attached to individual virtual servers • Sharing of OS-level file resources – ‘aufs’ (filesystem) enables layered read/write directories – Only writes by the user processes are included in the snapshot, reducing the footprint for each user 5
  • 6. Container in detail MonitoringAgent OSJ-Stack: Industry standard Open-source Java™ stack Processes reside in their “namespaces” and requires no configuration changes Docker Container provides isolation for an application’s platform stack 80 3306 Network Bridge 8080 23306 Processes within namespaces can be exposed outside the containers for troubleshooting
  • 7. Optimized Resource Utilization 1.Container Allocation 2.On-Demand Activation 3.Automated Passivation 4.Snapshot Optimization Container Lifecycle
  • 8. Container Allocation8 EC2 m1.large Using Docker, a Container is created for each user or app CPU & Memory resources of underlying instance are shared by Containers Each Container encapsulates the services, configuration and application data New Users • Platform uses LRU based algorithm for allocating and de-provisioning of Containers, to provide multi-tenancy • Containers are lightweight, consumes lesser resources and are faster to bootstrap
  • 9. On-Demand Activation9 Platform Load Balancer Restore Container’s state along with application data from Storage (S3) Activation Dispatches request to restored back-end node App Request S3 Intercepts App Request Returning User If activation takes longer time due to the size of the snapshot, user experiences delays in app access
  • 10. Automated Passivation10 X CPU & Memory used by Container is reclaimed A snapshot of Container is taken and saved to S3 Hibernation Passivation Activation Restore the Container back to running state User Inactive Passivation saves entire application state and configuration to storage for later usage S3
  • 11. Snapshot Optimization11 /var/lib/mysql data_dir /usr/tomcat webapps lib Read-Only directories, resides in Base Image Read-Write directories, only the updated files are copied to rootfs (snapshot location) S3 AUFS (union file system) provides layered read/write directories, enabling copy-on-write at the file-system Tremendous reduction in snapshot size, as only the modified files are included
  • 12. Scaling to large user base12 34.3 23.8 26.8 23.7 7.4 51.8 78.8 62 72 76.3 0 20 40 60 80 100 120 23 30 33 34 100 No. of Virtual Servers Response Time (ms) TPS/Virtual Server 0 20 40 60 80 Sys% CPU%
  • 13. Virtual Server Recovery Management13 S3 EBS On passivation, snapshots are saved to AWS S3 Virtual Server’s file-system is mounted from EBS volume Application Data and configuration can be restored from the EBS volumes in the event of system crashes. It is application’s responsibility to persist in-memory data to persistence storage. Snapshots of EBS volumes are taken at regular intervals to reduce data losses