Webinar: Enterprise Trends for Database-as-a-Service
-
Upload
mongodb -
Category
Technology
-
view
929 -
download
2
Transcript of Webinar: Enterprise Trends for Database-as-a-Service
Enterprise Trends inMongoDB as a Service
Chris BiowPrincipal Technologist & Tech DirectorMongoDB
Agenda
3
Agenda
• About MongoDB• Technical overview• Enterprise architecture• Enterprise cloud background• Ops Manager• Enterprise MongoDB-as-a-Service
4
Developer Challenge
I want my MongoDB...
• Now• Easy• Cheap for dev• Seamlessly scale up
for prod
iStock licensed (pixelfit)
About MongoDB
MongoDB, Inc.
400+ employees 2,000+ customers
Over $311 million in funding13 offices around the world
7
THE LARGEST ECOSYSTEM
10,000,000+MongoDB Downloads
250,000+Online Education Registrants
35,000+MongoDB User Group Members
35,000+MongoDB Management Service (MMS) Users
750+Technology and Services Partners
2,000+Customers Across All Industries
MongoDB Use Cases
Single View Internet of Things Mobile Real-Time Analytics
Catalog Personalization Content Management
9
We Can Help
MongoDB Enterprise AdvancedThe best way to run MongoDB in your data center
MongoDB Management Service (MMS)The easiest way to run MongoDB in the cloud
Production SupportIn production and under control
Development SupportLet's get you running
ConsultingWe solve problems
TrainingGet your teams up to speed.
Technical overview
11
Documents are Rich Data Structures
{ first_name: 'Paul', surname: 'Miller', cell: '+447557505611' city: 'London', location: [45.123,47.232], Profession: [banking, finance, trader], cars: [ { model: 'Bentley', year: 1973, value: 100000, … }, { model: 'Rolls Royce', year: 1965, value: 330000, … } ]}
Fields can contain an array of sub-documents
Fields
Typed field values
Fields can contain arrays
String
Number
Geo-Coordinates
Do More With Your Data
MongoDB
{ first_name: 'Paul', surname: 'Miller', city: 'London', location: [45.123,47.232], cars: [ { model: 'Bentley', year: 1973, value: 100000, … }, { model: 'Rolls Royce', year: 1965, value: 330000, … } }}
Rich Queries
Find Paul's cars
Find everybody in London with a car built between 1970 and 1980
Geospatial Find all of the car owners within 5km of Trafalgar Sq.
Text Search Find all the cars described as having leather seats
Aggregation Calculate the average value of Paul's car collection
Map ReduceWhat is the ownership pattern of colors by geography over time?(is purple trending up in China?)
13
Replica Sets
Replica Set – 2 to 50 copies
Self-healing shard
Data Center Aware
Addresses availability considerations:
High Availability
Disaster Recovery
Maintenance
Workload Isolation: operational & analytics
14
Automatic Sharding
Three types: hash-based, range-based, location-aware
Increase or decrease capacity as you go
Automatic balancing
15
Query Routing
Multiple query optimization models
Each sharding option appropriate for different apps
Read Global/Write Local
17
Replicate Data Near Users
Enterprise architecture
MongoDB and Enterprise IT Stack
EDWHadoop Spark
Man
agem
ent
& M
on
ito
rin
gS
ecurity &
Au
ditin
g
RDBMS
CRM, ERP, Collaboration, Mobile, BI
OS & Virtualization, Compute, Storage, Network
RDBMS
Applications
Infrastructure
Data Management
Online Data Offline Data
MongoDB and Enterprise IT Strategy
Legacy Strategic
Apps On-Premise SaaS, Mobile, Social
Database Oracle MongoDB
Offline Data Teradata Hadoop, Spark
Compute Scale-Up Server Commodity HW / Cloud
Storage SAN Local Storage / Cloud
Network Routers and Switches Software-Defined Networks
Enterprise cloud background
22
Revolution in IT provisioning
• Hosting– Public, Private, and Hybrid
• Stack– Infrastructure | Platform | Software
…as a Service
• DB platform advantages – Adoption– Agility– Governance– Efficiency
Wikimedia Commons
Public PrivateHybrid
23
Public Cloud
• Commercial cloudIaaS endless aisle– Amazon Web Services– Microsoft Azure– Google Compute Engine– Rackspace– Many more…
• OpenStack– Apache, Rackspace, NASA– OpenStack Foundation
iStock licensed (4X-image)
24
Subscription and Hosting Partners
25
In the Enterprise Cloud:MongoDB as a Service
• Rewards– Adoption– Agility– Governance– Efficiency
• Risks– Systematize the wrong solution– Standardize the wrong hardware (especially storage)– Unaffordable or inflexible: unlimited apathy– Too cheap: tragedy of the commons
Ops Manager andMongoDB Management Service (MMS)
27
Single-click provisioning, scaling & upgrades, admin tasks
Monitoring, with charts, dashboards and alerts on 100+ metrics
Backup and restore, with point-in-time recovery, support for sharded clusters
MongoDB Ops Manager
The Best Way to Manage MongoDB In Your Data CenterUp to 95% Reduction in Operational Overhead
28
How MongoDB Ops Manager helps you
Scale EasilyMeet SLAs
Best Practices, Automated
Cut Management Overhead
29
How Ops Manager Works
Ops Manager
mongod mongodmongod
Agent Agent Agent
New C
onfig
. New Config.N
ew C
onfig
.
30
Integrates with Existing Infrastructure
Bringing it all togetherwith an Enterprise Service
32
Customer First
• Need happy, jumping people!• First app stakeholders
– Business owner– Developers– Ops
• Next few apps– Same stakeholders
iStock licensed (YanC)
33
Delivery Levels
• Application• Data Service / Data Layer
– VA eCRUD: goo.gl/8usttw • Multi-tenancy• Cluster per app
– Replica set only– Sharded / replica sets– Citigroup: mongodb.info/?p=3377
34
Implementation Choices
• Server Hardware• Virtualization• Security & Entitlements• Storage• Operating System• Infrastructure Management• Backup and Recovery• Accounting and chargeback• Distributed computing
Ceilometer Grizzly: openstack.org
35
Best Practices
• Business case– Cost matching– First customers first
• Balance scalability, standardization, and flexibility– Don’t undershoot your
customers– Don’t boil the ocean– Customize where required
• Find your performance limit– Storage first (mongoperf)– Network– CPU– RAM
• MongoDB engineering– Schema– Shard first– Shard key
• 2+ data centers– Consider hybrid for 3rd
– If only 2, see goo.gl/qy6P7X
• MongoDB, Inc.– Let us help!
• Monitoring– Ops Manager
36
Sample first app
• Enterprise social network– Short messages– Followers– Feeds– Geolocation– https://github.com/10gen-labs/socialite
• Active users: 60% of employees• Indefinite retention• Java application• Existing collocated infrastructure (HP, RHEL, VMW)
iStock licensed (Erikona)
37
MongoDB as a Service Strategy
Platform Option Choice
Server HP DL360, 2-CPU, 256GB RAM
Storage Local SAS or SSD
OS Red Hat Enterprise Linux
Virtualization VMWare vSphere
Cloud Platform OpenStack
DBaaS Automation CumuLogic
Monitoring, Backup, Automation
MongoDB Management Service (MMS)
Authentication X509 public key openclipart.org
Delivery Level Cluster per application
Metering Ceilometer
38
Takeaways
• Database revolution• Enterprise-level innovation with DBaaS• Start small with positive results• Build on your wins