MongoDB World 2018: Managing a Mission Critical eCommerce Application on MongoDB: Architecture, Configuration, Operation & Security Features

MongoDB
MongoDBMarketing Ninja um MongoDB
Ramabathiran Arumugam
Nayeem Khaja
Sr Database Administrator/Architect
Cisco Systems Inc.
MongoDB World, Jun 2018
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Objectives
3 Why did we choose MongoDB
4 Migration, Architecture, Benefits, Maintenance & Security
1 About Cisco and e-Commerce
5 Lesson Learned, Best Practices & What’s next
2 Challenges faced with the Platform
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
About Cisco and e-Commerce
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco at a Glance
13K+
UCS Blades
56K+
Virtual Machines
107+ PB
Overall Raw
Storage
482
Offices
94
Countries
4K+
Routers
6K+
LAN Switches
201K+
Connected
User Devices
SJC
45%
RTP
14%
AM Other
6%
EU/EM 7%
India
21%
AP Other
7%
Global
Distribution
of IT Staff
RCDN
2%
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco – Products & Services
Cisco Services
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Cisco Commerce
(New, Follow-on and Renewal)
Customer
Experience
Web Mobile
(iOS, Android)
B2B
(Web Services, EDI/XML, Punch-outs)
Data Center /
Virtualization
Integrated
Capabilities/
Workflow
RealUserExperience/AppPerformanceMgmt
(AppDynamics,Akamai,ELK)
Configure Price Quote
Deal
Approval
Order
Capture
Order
Orchestration
Cisco Commerce Architecture with RDBMS
PassiveActive
UCS-B200 M2 UCS-B200 M2
~30 Miles
RDBMS
Delivery Platform
Web/Application Servers
Richardson, TX - DC1 Allen, TX - DC2
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Orders Booked Hits Per Day
300+ Services 4M Lines of Code
Unique Users
$40 B 4-6M 140K
36 Applications
Commerce Platform by numbers
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Challenges faced with RDBMS
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Challenges with the Platform
Downtime due to Infrastructure Changes/Outages.
10-12 hour downtimes for code deployment
6+ month effort for major software/hardware upgrades
Lack of agility due to monolithic code base
Performance issue due to complex code
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Why did we choose MongoDB ?
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
MongoDB – Consistency
CAP
Theorem
Pick – Two
Availability
CP
APCA
MongoDB
Hbase
RDBMS
MySQL
Cassandra
CouchDB
Consistency
• All users see same data
• No Data Discrepancy
• Master Slave Architecture
Mission Critical Data
4-6 M hits 140K users 36+ Apps
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
1 2 3 4
Zero downtime for
software upgrades
and code
deployments
Increased Agility -
move towards API
based Architecture
5X performance
improvement &
scalability
Fault tolerance for
hardware change
with high availability
for application
Why did we choose MongoDB ?
1
Always On Performance Flexibility
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
 Migration
 Architecture
 Operational (Infra) & Application Benefits
 Maintenance & Security
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
How did we migrate?
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
How did we migrate?
RDBMS
Order Capture
DC1 - Tomcat
Order Capture
Addresses Items
Preferences
Roles
Contacts Logging
DC2 - Tomcat
Web/Application Servers
Transaction
s
MongoDB
Deploy new 5 node MongoDB
Replica Set
Developed & Built
Data Sync Tool
RDBMS >> MongoDB
Initial Full
Data Sync
Delta Data
Sync
Migrate Data
IO Benchmark test
Performance tuning
Order Capture
DC1 - Tomcat
Order Capture
Addresses Items
Preferences
Roles
Contacts Logging
DC2 - Tomcat
Web/Application Servers
Setup parallel Web & App Servers
Redesign Tables to JSON
collections
Rewrite RDBMS(SQL) codes to
Java
Transaction
s
Final Cutover
& Go-live
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Migration by the Numbers
Code
Rewrote 120 K lines
of back-end code.
Touched 600k lines
of existing java code
Brownfield
Delivering 26 Biz
capabilities (10H,
7 M, 9 L) along
with this change
X-Functional
Dependencies
Changed 110
backend integrations
to Rest API calls
Leveraged Kafka to
publish downstream
system
Delivery
TimeLine
7 months without
additional head count
Risk Mitigation
Backward Compatibility
Extensive shadow
testing for B2B Orders
Phased rollout
RDBMS MongoDB
Tables : 14 Collection : 1
Indexes : 60 Indexes : 7
Sequences: 16 Sequences : 6
1 Typical Application
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Architecture
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Caching/
Security
Cisco Commerce
(New, Follow-on and Renewal)
Delivery
Platform
User
Experience
Customer
Experience
Web Mobile
(iOS, Android)
B2B
(Web Services, EDI/XML, Punch-outs)
Data Center /
Virtualization
Integrated
Capabilities/
Workflow
RealUserExperience/AppPerformanceMgmt
(AppDynamics,Akamai,ELK)
Configure Price Quote
Deal
Approval
Order
Capture
Order
Orchestration
Cisco Commerce Architecture after MongoDB
Web/Application Servers
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
CCW Order Capture Business Benefits
• Powerful Cisco UCS cluster provides more power and stability
• Read and Write operations are 20 times faster than existing process
Cisco e-commerce Architecture with MongoDB
Infrastructure – Cisco on Cisco
UCS
 Chassis 5108, IOM2208, FI6296
 B200 M3 24x378GB
Storage
 NetApp All Flash Array (SAN)
OS : RHEL 7.x
DC1
DC2
DC3
 2 Nodes in DC1
 2 Nodes in DC2
 1 Node in DC3
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Operational (Infra) & Application benefits
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Infrastructure & DB Activities with Zero downtime
No major downtime for more than a year
Firmware
upgrade
Fabric
Interconnect (FI)
upgrade on UCS
Domains.
- MongoDB Upgrade to
3.2.12
- OS upgrade from
RHEL 6 to 7.
- NetApp All Flash
Storage
- xfs migration.
Mongo DB
upgrade to
3.4.6.
LDAP
Authentication
setup
Set Version
Compatibility
Intel Meltdown/
Spectre patch
• Tasks were done during week days/ weekend.
• Zero Downtime. One Node at time.
• No impact to business or development activities.
Ops Manager: Cache Usage Chart of 1 Node (last 1 year
chart)
Apr 17 May 17 Jun 17 Jul 17 Aug 17
Jul 17
Oct 17Sep 17 Nov 17 Dec 17 Jan 18 Feb 18 Mar 18 Apr 18 May 18 Jun 18
200GB
150GB
100GB
50GB
0
CacheUsage
Planned instance restart
Other node becomes primary
Timelin
e
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Completed four+
quarters without
issues
Software
Upgrades in
minutes without
downtime
Zero Downtime
Response Times
reduced from 3-5
sec to < 1 sec
5x Performance
Improvement
Eliminated
~120,000 lines
of BE code
Architecture
Optimization
Post Go-Live: Application Benefits
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
How did we get 5x performance improvement?
What is access
together, should be
stored together
De-normalize
data Do not use
Joints
Use less
sequences
Use less
Indexes
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Monitoring & Security
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
MongoDB Monitoring Systems
OPS Manager
Monitoring Dashboard
Monitoring Tool
• ReplicaSet Status
• Agent Status
• Log Management
• Corruption/ Error Alert
• CPU, Memory, FS Alert
• Replica/Shared Info
• User Connection
• Cache/Memory Usage
• Host, CPU, Memory
• Disk I/O, Latency
• Database Load & Trends
• Top Query/ Sessions
• Wait Stats & Top session
• Drill down session
• Topology/ mapping
App Dynamics
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Security
o Authentication enabled
o Username/ Password is
mandatory
o Prevents local login
without password
Authentication
o Enabled TLS/SSL
o Clients with SSL
certificate only be
allowed.
o Encrypts data during
Transit
TLS/SSL
o MongoDB do not
enforce complex
password
o Authentication using
LDAP Active Directory
o Enforces Password
complexity
o Alert to reset password
every 90 days
Complex password
o Enable auditing to track
system activities
o Data Encryption at Rest
Auditing / Encryption
• Changing password in AD system takes
some time.
• Create 2 set of AD users to avoid impact
during password reset.
• Reset 2nd user password
• Swap and update in Application & Mongo
configuration files
• Change in a rolling mode (node by node)
to avoid connectivity issue
SOX
Control
Do not use
default port#
27017
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Lesson learned & other best practices
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Database
Application
Infra
Lessons learned/ Best Practices
• Set sufficient Cache size based
on working set
• Set OpLog size to hold at-least 3
days of replication window
• Upgrade MongoDB to latest
version
• Use indexes on key fields to avoid
full collection scan and reduce cache
usage
• Create indexes in background after
bulk data migration
• For Linux, use RHEL 7 with xfs file
system. Use Flash Drive/ SSD
storage
• For critical databases use 5 nodes
or more
• Limit physical storage size less
than 2TB per replicaSet. This is to
reduce re-sync, backup/ restore
times.
• If Size > 2TB or IOPs > 15k,
sharding is preferred.
• Use compression to save storage
and improve physical I/O
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
 Clone production data to non-production for testing major releases.
 Backup / Restore method to clone small/ medium size database.
 For large database:
o Take File System snapshot copy from standby
o Clone the data to target to optimize time
Cloning/Refresh
 mongodump /restore for small databases
 Ops Manager backup for critical & large databases
 Block store: Small/Medium size. For large database takes long
time for backup/restore
 File system store : Preferred for large databases.
Backup
Best Practices for other Operational Activity
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
What’s Next…
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
OpenStac
k/Mongod
b
Auto Provision & Scale
Automated
Provisioning
API Driven
Distribute
d
Elastic &
Scalable
Increase in
Demand
Enhance
Customer
Experience
Adopt
Industry
trending
Technology
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Automated MongoDB Provisioning Flow
VM Provisioning
Using Terraform
Failure
Post OS
Setup
(Manual)
Client
Ordering/Costing
Cloud DBInfrastructure
Pre Validation
check
MongoDB
Provisioning
& Configuration
thru ansible
Provision
Add-on DB
features
Post Validation
• Install Mongodb, Replicaset, Admin users
• Add Replica set members and create user for db
• Integration with in-house tools
• Security
• Backup
• Monitoring
• Client communication
• Case Creation – Resolution
Database
Advisory
API
UI
Yes
EN
D
API
API
Automated Provisioning
start
Succes
s
Yes
• Email Notification to the client
• Update Cloud Repository
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Questions?
Always On Performance Agility
Key Take Away
MongoDB World 2018: Managing a Mission Critical eCommerce Application on MongoDB: Architecture, Configuration, Operation & Security Features
1 von 34

Recomendados

Cisco connect montreal 2018 saalvare md-program-xr-v2 von
Cisco connect montreal 2018 saalvare md-program-xr-v2Cisco connect montreal 2018 saalvare md-program-xr-v2
Cisco connect montreal 2018 saalvare md-program-xr-v2Cisco Canada
573 views56 Folien
13회 Oracle Developer Meetup 발표 자료: Oracle Cloud Data Interface(2019.07.20) von
13회 Oracle Developer Meetup 발표 자료: Oracle Cloud Data Interface(2019.07.20)13회 Oracle Developer Meetup 발표 자료: Oracle Cloud Data Interface(2019.07.20)
13회 Oracle Developer Meetup 발표 자료: Oracle Cloud Data Interface(2019.07.20)Taewan Kim
338 views84 Folien
2018 Oracle Impact 발표자료: Oracle Enterprise AI von
2018  Oracle Impact 발표자료: Oracle Enterprise AI2018  Oracle Impact 발표자료: Oracle Enterprise AI
2018 Oracle Impact 발표자료: Oracle Enterprise AITaewan Kim
444 views64 Folien
Cisco Connect Ottawa 2018 dna automation the evolution to intent-based netw... von
Cisco Connect Ottawa 2018 dna automation   the evolution to intent-based netw...Cisco Connect Ottawa 2018 dna automation   the evolution to intent-based netw...
Cisco Connect Ottawa 2018 dna automation the evolution to intent-based netw...Cisco Canada
689 views68 Folien
FlexPod Datacenter for Oracle’s JD Edwards EnterpriseOne von
FlexPod Datacenter for Oracle’s JD Edwards EnterpriseOneFlexPod Datacenter for Oracle’s JD Edwards EnterpriseOne
FlexPod Datacenter for Oracle’s JD Edwards EnterpriseOneNetApp
2.1K views29 Folien
Highly Automated IT von
Highly Automated ITHighly Automated IT
Highly Automated ITAndrey Akulov
2.1K views74 Folien

Más contenido relacionado

Was ist angesagt?

Cisco Connect Halifax 2018 Cisco dna - deeper dive von
Cisco Connect Halifax 2018   Cisco dna - deeper diveCisco Connect Halifax 2018   Cisco dna - deeper dive
Cisco Connect Halifax 2018 Cisco dna - deeper diveCisco Canada
907 views75 Folien
Corporate IT at NetApp von
Corporate IT at NetAppCorporate IT at NetApp
Corporate IT at NetAppNetApp
8.3K views29 Folien
Oracle database in cloud, dr in cloud and overview of oracle database 18c von
Oracle database in cloud, dr in cloud and overview of oracle database 18cOracle database in cloud, dr in cloud and overview of oracle database 18c
Oracle database in cloud, dr in cloud and overview of oracle database 18cAiougVizagChapter
1.7K views67 Folien
Oracle Database Consolidation with FlexPod on Cisco UCS von
Oracle Database Consolidation with FlexPod on Cisco UCSOracle Database Consolidation with FlexPod on Cisco UCS
Oracle Database Consolidation with FlexPod on Cisco UCSNetApp
3.4K views18 Folien
NetApp IT Data Center Strategies to Enable Digital Transformation von
NetApp IT Data Center Strategies to Enable Digital TransformationNetApp IT Data Center Strategies to Enable Digital Transformation
NetApp IT Data Center Strategies to Enable Digital TransformationNetApp
1.2K views23 Folien
SDN in the Enterprise von
SDN in the EnterpriseSDN in the Enterprise
SDN in the EnterpriseCisco Canada
693 views33 Folien

Was ist angesagt?(20)

Cisco Connect Halifax 2018 Cisco dna - deeper dive von Cisco Canada
Cisco Connect Halifax 2018   Cisco dna - deeper diveCisco Connect Halifax 2018   Cisco dna - deeper dive
Cisco Connect Halifax 2018 Cisco dna - deeper dive
Cisco Canada907 views
Corporate IT at NetApp von NetApp
Corporate IT at NetAppCorporate IT at NetApp
Corporate IT at NetApp
NetApp8.3K views
Oracle database in cloud, dr in cloud and overview of oracle database 18c von AiougVizagChapter
Oracle database in cloud, dr in cloud and overview of oracle database 18cOracle database in cloud, dr in cloud and overview of oracle database 18c
Oracle database in cloud, dr in cloud and overview of oracle database 18c
AiougVizagChapter1.7K views
Oracle Database Consolidation with FlexPod on Cisco UCS von NetApp
Oracle Database Consolidation with FlexPod on Cisco UCSOracle Database Consolidation with FlexPod on Cisco UCS
Oracle Database Consolidation with FlexPod on Cisco UCS
NetApp3.4K views
NetApp IT Data Center Strategies to Enable Digital Transformation von NetApp
NetApp IT Data Center Strategies to Enable Digital TransformationNetApp IT Data Center Strategies to Enable Digital Transformation
NetApp IT Data Center Strategies to Enable Digital Transformation
NetApp1.2K views
Cisco Connect Ottawa 2018 data center - protecting your data with Cisco hyp... von Cisco Canada
Cisco Connect Ottawa 2018   data center - protecting your data with Cisco hyp...Cisco Connect Ottawa 2018   data center - protecting your data with Cisco hyp...
Cisco Connect Ottawa 2018 data center - protecting your data with Cisco hyp...
Cisco Canada692 views
Cisco Connect Vancouver 2017 - Cisco Spark Hybrid Services Architectural Design von Cisco Canada
Cisco Connect Vancouver 2017 - Cisco Spark Hybrid Services Architectural DesignCisco Connect Vancouver 2017 - Cisco Spark Hybrid Services Architectural Design
Cisco Connect Vancouver 2017 - Cisco Spark Hybrid Services Architectural Design
Cisco Canada357 views
Oracle Solaris Software Integration von OTN Systems Hub
Oracle Solaris Software IntegrationOracle Solaris Software Integration
Oracle Solaris Software Integration
OTN Systems Hub1.6K views
Cisco connect montreal 2018 secure dc von Cisco Canada
Cisco connect montreal 2018    secure dcCisco connect montreal 2018    secure dc
Cisco connect montreal 2018 secure dc
Cisco Canada973 views
Cisco DC Networking: Gain Insight and Programmability with von Cisco Canada
Cisco DC Networking: Gain Insight and Programmability with Cisco DC Networking: Gain Insight and Programmability with
Cisco DC Networking: Gain Insight and Programmability with
Cisco Canada685 views
Cisco Connect Ottawa 2018 dna assurance shortest path to network innocence von Cisco Canada
Cisco Connect Ottawa 2018 dna assurance shortest path to network innocenceCisco Connect Ottawa 2018 dna assurance shortest path to network innocence
Cisco Connect Ottawa 2018 dna assurance shortest path to network innocence
Cisco Canada667 views
Hosted Security as a Service - Solution Architecture Design von Cisco Canada
Hosted Security as a Service - Solution Architecture DesignHosted Security as a Service - Solution Architecture Design
Hosted Security as a Service - Solution Architecture Design
Cisco Canada2.5K views
Cisco Connect Toronto 2018 DevNet Overview von Cisco Canada
Cisco Connect Toronto 2018  DevNet OverviewCisco Connect Toronto 2018  DevNet Overview
Cisco Connect Toronto 2018 DevNet Overview
Cisco Canada726 views
Cisco connect montreal 2018 sd wan - delivering intent-based networking to th... von Cisco Canada
Cisco connect montreal 2018 sd wan - delivering intent-based networking to th...Cisco connect montreal 2018 sd wan - delivering intent-based networking to th...
Cisco connect montreal 2018 sd wan - delivering intent-based networking to th...
Cisco Canada641 views
MySQL day Dublin - OCI & Application Development von Henry J. Kröger
MySQL day Dublin - OCI & Application DevelopmentMySQL day Dublin - OCI & Application Development
MySQL day Dublin - OCI & Application Development
Henry J. Kröger86 views
Cisco Connect Halifax 2018 Cisco Spark hybrid services architectural design von Cisco Canada
Cisco Connect Halifax 2018   Cisco Spark hybrid services architectural designCisco Connect Halifax 2018   Cisco Spark hybrid services architectural design
Cisco Connect Halifax 2018 Cisco Spark hybrid services architectural design
Cisco Canada606 views
RedisConf18 - Redis on Google Cloud Platform von Redis Labs
RedisConf18 - Redis on Google Cloud PlatformRedisConf18 - Redis on Google Cloud Platform
RedisConf18 - Redis on Google Cloud Platform
Redis Labs1.2K views
Oracle Code in Seoul: Provisioning of Cloud Resource von Taewan Kim
Oracle Code in Seoul: Provisioning of Cloud ResourceOracle Code in Seoul: Provisioning of Cloud Resource
Oracle Code in Seoul: Provisioning of Cloud Resource
Taewan Kim1.1K views

Similar a MongoDB World 2018: Managing a Mission Critical eCommerce Application on MongoDB: Architecture, Configuration, Operation & Security Features

Elastic Cloud Enterprise @ Cisco von
Elastic Cloud Enterprise @ CiscoElastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ CiscoElasticsearch
9.1K views71 Folien
Toward Scalable and Powerful CloudStack von
Toward Scalable and Powerful CloudStackToward Scalable and Powerful CloudStack
Toward Scalable and Powerful CloudStackTakashi Kanai
364 views20 Folien
Novinky v Oracle Database 18c von
Novinky v Oracle Database 18cNovinky v Oracle Database 18c
Novinky v Oracle Database 18cMarketingArrowECS_CZ
2.4K views35 Folien
Cisco Connect Toronto 2018 an introduction to Cisco kinetic von
Cisco Connect Toronto 2018   an introduction to Cisco kineticCisco Connect Toronto 2018   an introduction to Cisco kinetic
Cisco Connect Toronto 2018 an introduction to Cisco kineticCisco Canada
1.5K views48 Folien
Cisco Connect Toronto 2018 an introduction to Cisco kinetic von
Cisco Connect Toronto 2018   an introduction to Cisco kineticCisco Connect Toronto 2018   an introduction to Cisco kinetic
Cisco Connect Toronto 2018 an introduction to Cisco kineticCisco Canada
194 views48 Folien
MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding... von
MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding...MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding...
MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding...MongoDB
309 views36 Folien

Similar a MongoDB World 2018: Managing a Mission Critical eCommerce Application on MongoDB: Architecture, Configuration, Operation & Security Features(20)

Elastic Cloud Enterprise @ Cisco von Elasticsearch
Elastic Cloud Enterprise @ CiscoElastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ Cisco
Elasticsearch9.1K views
Toward Scalable and Powerful CloudStack von Takashi Kanai
Toward Scalable and Powerful CloudStackToward Scalable and Powerful CloudStack
Toward Scalable and Powerful CloudStack
Takashi Kanai364 views
Cisco Connect Toronto 2018 an introduction to Cisco kinetic von Cisco Canada
Cisco Connect Toronto 2018   an introduction to Cisco kineticCisco Connect Toronto 2018   an introduction to Cisco kinetic
Cisco Connect Toronto 2018 an introduction to Cisco kinetic
Cisco Canada1.5K views
Cisco Connect Toronto 2018 an introduction to Cisco kinetic von Cisco Canada
Cisco Connect Toronto 2018   an introduction to Cisco kineticCisco Connect Toronto 2018   an introduction to Cisco kinetic
Cisco Connect Toronto 2018 an introduction to Cisco kinetic
Cisco Canada194 views
MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding... von MongoDB
MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding...MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding...
MongoDB World 2019: Implementation and Operationalization of MongoDB Sharding...
MongoDB309 views
Cisco connect montreal 2018 compute v final von Cisco Canada
Cisco connect montreal 2018   compute v finalCisco connect montreal 2018   compute v final
Cisco connect montreal 2018 compute v final
Cisco Canada1.6K views
Cassandra Adoption on Cisco UCS & Open stack von DataStax Academy
Cassandra Adoption on Cisco UCS & Open stackCassandra Adoption on Cisco UCS & Open stack
Cassandra Adoption on Cisco UCS & Open stack
DataStax Academy1.5K views
Cisco Connect Ottawa 2018 dev net von Cisco Canada
Cisco Connect Ottawa 2018 dev netCisco Connect Ottawa 2018 dev net
Cisco Connect Ottawa 2018 dev net
Cisco Canada198 views
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového von MarketingArrowECS_CZ
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoOracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A... von MongoDB
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
MongoDB2.1K views
Denver Big Data Analytics Day von Zivaro Inc
Denver Big Data Analytics DayDenver Big Data Analytics Day
Denver Big Data Analytics Day
Zivaro Inc450 views
Should healthcare abandon the cloud final von sapenov
Should healthcare abandon the cloud finalShould healthcare abandon the cloud final
Should healthcare abandon the cloud final
sapenov495 views
Deep Dive into RDS PostgreSQL Universe von Jignesh Shah
Deep Dive into RDS PostgreSQL UniverseDeep Dive into RDS PostgreSQL Universe
Deep Dive into RDS PostgreSQL Universe
Jignesh Shah672 views
NVMe and Flash – Make Your Storage Great Again! von DataCore Software
NVMe and Flash – Make Your Storage Great Again!NVMe and Flash – Make Your Storage Great Again!
NVMe and Flash – Make Your Storage Great Again!
DataCore Software349 views
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A... von MongoDB
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
MongoDB467 views
CNCF Online - Data Protection Guardrails using Open Policy Agent (OPA).pdf von LibbySchulze
CNCF Online - Data Protection Guardrails using Open Policy Agent (OPA).pdfCNCF Online - Data Protection Guardrails using Open Policy Agent (OPA).pdf
CNCF Online - Data Protection Guardrails using Open Policy Agent (OPA).pdf
LibbySchulze348 views
Times ten 18.1_overview_meetup von Byung Ho Lee
Times ten 18.1_overview_meetupTimes ten 18.1_overview_meetup
Times ten 18.1_overview_meetup
Byung Ho Lee245 views

Más de MongoDB

MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas von
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB
6.7K views46 Folien
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts! von
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB
1.2K views20 Folien
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel... von
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB
1.1K views40 Folien
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB von
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB
1.4K views106 Folien
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T... von
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB
782 views37 Folien
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data von
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB
870 views47 Folien

Más de MongoDB(20)

MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas von MongoDB
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB6.7K views
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts! von MongoDB
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB1.2K views
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel... von MongoDB
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB1.1K views
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB von MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB1.4K views
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T... von MongoDB
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB782 views
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data von MongoDB
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB870 views
MongoDB SoCal 2020: MongoDB Atlas Jump Start von MongoDB
 MongoDB SoCal 2020: MongoDB Atlas Jump Start MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB633 views
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys] von MongoDB
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB528 views
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2 von MongoDB
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB473 views
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ... von MongoDB
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB492 views
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts! von MongoDB
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB355 views
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset von MongoDB
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your MindsetMongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB383 views
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart von MongoDB
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB287 views
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin... von MongoDB
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB392 views
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++ von MongoDB
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB359 views
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo... von MongoDB
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB382 views
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive von MongoDB
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep DiveMongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB330 views
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang von MongoDB
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & GolangMongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB293 views
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app... von MongoDB
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB328 views
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning... von MongoDB
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB312 views

Último

State of the Union - Rohit Yadav - Apache CloudStack von
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStackShapeBlue
253 views53 Folien
Business Analyst Series 2023 - Week 4 Session 7 von
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7DianaGray10
126 views31 Folien
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... von
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...ShapeBlue
123 views28 Folien
Uni Systems for Power Platform.pptx von
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptxUni Systems S.M.S.A.
61 views21 Folien
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T von
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TShapeBlue
112 views34 Folien
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue von
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueShapeBlue
179 views7 Folien

Último(20)

State of the Union - Rohit Yadav - Apache CloudStack von ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue253 views
Business Analyst Series 2023 - Week 4 Session 7 von DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10126 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... von ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue123 views
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T von ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue112 views
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue von ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue179 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... von ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue138 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT von ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue166 views
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... von ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue132 views
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue von ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue94 views
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... von Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker50 views
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ... von ShapeBlue
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
ShapeBlue144 views
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... von TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc160 views
The Role of Patterns in the Era of Large Language Models von Yunyao Li
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language Models
Yunyao Li80 views
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O... von ShapeBlue
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
ShapeBlue88 views
The Power of Heat Decarbonisation Plans in the Built Environment von IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE69 views
NTGapps NTG LowCode Platform von Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu365 views
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... von ShapeBlue
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
ShapeBlue146 views

MongoDB World 2018: Managing a Mission Critical eCommerce Application on MongoDB: Architecture, Configuration, Operation & Security Features

  • 1. Ramabathiran Arumugam Nayeem Khaja Sr Database Administrator/Architect Cisco Systems Inc. MongoDB World, Jun 2018
  • 2. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Objectives 3 Why did we choose MongoDB 4 Migration, Architecture, Benefits, Maintenance & Security 1 About Cisco and e-Commerce 5 Lesson Learned, Best Practices & What’s next 2 Challenges faced with the Platform
  • 3. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential About Cisco and e-Commerce
  • 4. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Cisco at a Glance 13K+ UCS Blades 56K+ Virtual Machines 107+ PB Overall Raw Storage 482 Offices 94 Countries 4K+ Routers 6K+ LAN Switches 201K+ Connected User Devices SJC 45% RTP 14% AM Other 6% EU/EM 7% India 21% AP Other 7% Global Distribution of IT Staff RCDN 2%
  • 5. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Cisco – Products & Services Cisco Services
  • 6. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Cisco Commerce (New, Follow-on and Renewal) Customer Experience Web Mobile (iOS, Android) B2B (Web Services, EDI/XML, Punch-outs) Data Center / Virtualization Integrated Capabilities/ Workflow RealUserExperience/AppPerformanceMgmt (AppDynamics,Akamai,ELK) Configure Price Quote Deal Approval Order Capture Order Orchestration Cisco Commerce Architecture with RDBMS PassiveActive UCS-B200 M2 UCS-B200 M2 ~30 Miles RDBMS Delivery Platform Web/Application Servers Richardson, TX - DC1 Allen, TX - DC2
  • 7. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Orders Booked Hits Per Day 300+ Services 4M Lines of Code Unique Users $40 B 4-6M 140K 36 Applications Commerce Platform by numbers
  • 8. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Challenges faced with RDBMS
  • 9. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Challenges with the Platform Downtime due to Infrastructure Changes/Outages. 10-12 hour downtimes for code deployment 6+ month effort for major software/hardware upgrades Lack of agility due to monolithic code base Performance issue due to complex code
  • 10. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Why did we choose MongoDB ?
  • 11. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential MongoDB – Consistency CAP Theorem Pick – Two Availability CP APCA MongoDB Hbase RDBMS MySQL Cassandra CouchDB Consistency • All users see same data • No Data Discrepancy • Master Slave Architecture Mission Critical Data 4-6 M hits 140K users 36+ Apps
  • 12. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1 2 3 4 Zero downtime for software upgrades and code deployments Increased Agility - move towards API based Architecture 5X performance improvement & scalability Fault tolerance for hardware change with high availability for application Why did we choose MongoDB ? 1 Always On Performance Flexibility
  • 13. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential  Migration  Architecture  Operational (Infra) & Application Benefits  Maintenance & Security
  • 14. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential How did we migrate?
  • 15. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential How did we migrate? RDBMS Order Capture DC1 - Tomcat Order Capture Addresses Items Preferences Roles Contacts Logging DC2 - Tomcat Web/Application Servers Transaction s MongoDB Deploy new 5 node MongoDB Replica Set Developed & Built Data Sync Tool RDBMS >> MongoDB Initial Full Data Sync Delta Data Sync Migrate Data IO Benchmark test Performance tuning Order Capture DC1 - Tomcat Order Capture Addresses Items Preferences Roles Contacts Logging DC2 - Tomcat Web/Application Servers Setup parallel Web & App Servers Redesign Tables to JSON collections Rewrite RDBMS(SQL) codes to Java Transaction s Final Cutover & Go-live
  • 16. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Migration by the Numbers Code Rewrote 120 K lines of back-end code. Touched 600k lines of existing java code Brownfield Delivering 26 Biz capabilities (10H, 7 M, 9 L) along with this change X-Functional Dependencies Changed 110 backend integrations to Rest API calls Leveraged Kafka to publish downstream system Delivery TimeLine 7 months without additional head count Risk Mitigation Backward Compatibility Extensive shadow testing for B2B Orders Phased rollout RDBMS MongoDB Tables : 14 Collection : 1 Indexes : 60 Indexes : 7 Sequences: 16 Sequences : 6 1 Typical Application
  • 17. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Architecture
  • 18. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Caching/ Security Cisco Commerce (New, Follow-on and Renewal) Delivery Platform User Experience Customer Experience Web Mobile (iOS, Android) B2B (Web Services, EDI/XML, Punch-outs) Data Center / Virtualization Integrated Capabilities/ Workflow RealUserExperience/AppPerformanceMgmt (AppDynamics,Akamai,ELK) Configure Price Quote Deal Approval Order Capture Order Orchestration Cisco Commerce Architecture after MongoDB Web/Application Servers
  • 19. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential CCW Order Capture Business Benefits • Powerful Cisco UCS cluster provides more power and stability • Read and Write operations are 20 times faster than existing process Cisco e-commerce Architecture with MongoDB Infrastructure – Cisco on Cisco UCS  Chassis 5108, IOM2208, FI6296  B200 M3 24x378GB Storage  NetApp All Flash Array (SAN) OS : RHEL 7.x DC1 DC2 DC3  2 Nodes in DC1  2 Nodes in DC2  1 Node in DC3
  • 20. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Operational (Infra) & Application benefits
  • 21. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Infrastructure & DB Activities with Zero downtime No major downtime for more than a year Firmware upgrade Fabric Interconnect (FI) upgrade on UCS Domains. - MongoDB Upgrade to 3.2.12 - OS upgrade from RHEL 6 to 7. - NetApp All Flash Storage - xfs migration. Mongo DB upgrade to 3.4.6. LDAP Authentication setup Set Version Compatibility Intel Meltdown/ Spectre patch • Tasks were done during week days/ weekend. • Zero Downtime. One Node at time. • No impact to business or development activities. Ops Manager: Cache Usage Chart of 1 Node (last 1 year chart) Apr 17 May 17 Jun 17 Jul 17 Aug 17 Jul 17 Oct 17Sep 17 Nov 17 Dec 17 Jan 18 Feb 18 Mar 18 Apr 18 May 18 Jun 18 200GB 150GB 100GB 50GB 0 CacheUsage Planned instance restart Other node becomes primary Timelin e
  • 22. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Completed four+ quarters without issues Software Upgrades in minutes without downtime Zero Downtime Response Times reduced from 3-5 sec to < 1 sec 5x Performance Improvement Eliminated ~120,000 lines of BE code Architecture Optimization Post Go-Live: Application Benefits
  • 23. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential How did we get 5x performance improvement? What is access together, should be stored together De-normalize data Do not use Joints Use less sequences Use less Indexes
  • 24. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Monitoring & Security
  • 25. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential MongoDB Monitoring Systems OPS Manager Monitoring Dashboard Monitoring Tool • ReplicaSet Status • Agent Status • Log Management • Corruption/ Error Alert • CPU, Memory, FS Alert • Replica/Shared Info • User Connection • Cache/Memory Usage • Host, CPU, Memory • Disk I/O, Latency • Database Load & Trends • Top Query/ Sessions • Wait Stats & Top session • Drill down session • Topology/ mapping App Dynamics
  • 26. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Security o Authentication enabled o Username/ Password is mandatory o Prevents local login without password Authentication o Enabled TLS/SSL o Clients with SSL certificate only be allowed. o Encrypts data during Transit TLS/SSL o MongoDB do not enforce complex password o Authentication using LDAP Active Directory o Enforces Password complexity o Alert to reset password every 90 days Complex password o Enable auditing to track system activities o Data Encryption at Rest Auditing / Encryption • Changing password in AD system takes some time. • Create 2 set of AD users to avoid impact during password reset. • Reset 2nd user password • Swap and update in Application & Mongo configuration files • Change in a rolling mode (node by node) to avoid connectivity issue SOX Control Do not use default port# 27017
  • 27. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Lesson learned & other best practices
  • 28. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Database Application Infra Lessons learned/ Best Practices • Set sufficient Cache size based on working set • Set OpLog size to hold at-least 3 days of replication window • Upgrade MongoDB to latest version • Use indexes on key fields to avoid full collection scan and reduce cache usage • Create indexes in background after bulk data migration • For Linux, use RHEL 7 with xfs file system. Use Flash Drive/ SSD storage • For critical databases use 5 nodes or more • Limit physical storage size less than 2TB per replicaSet. This is to reduce re-sync, backup/ restore times. • If Size > 2TB or IOPs > 15k, sharding is preferred. • Use compression to save storage and improve physical I/O
  • 29. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential  Clone production data to non-production for testing major releases.  Backup / Restore method to clone small/ medium size database.  For large database: o Take File System snapshot copy from standby o Clone the data to target to optimize time Cloning/Refresh  mongodump /restore for small databases  Ops Manager backup for critical & large databases  Block store: Small/Medium size. For large database takes long time for backup/restore  File system store : Preferred for large databases. Backup Best Practices for other Operational Activity
  • 30. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential What’s Next…
  • 31. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential OpenStac k/Mongod b Auto Provision & Scale Automated Provisioning API Driven Distribute d Elastic & Scalable Increase in Demand Enhance Customer Experience Adopt Industry trending Technology
  • 32. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Automated MongoDB Provisioning Flow VM Provisioning Using Terraform Failure Post OS Setup (Manual) Client Ordering/Costing Cloud DBInfrastructure Pre Validation check MongoDB Provisioning & Configuration thru ansible Provision Add-on DB features Post Validation • Install Mongodb, Replicaset, Admin users • Add Replica set members and create user for db • Integration with in-house tools • Security • Backup • Monitoring • Client communication • Case Creation – Resolution Database Advisory API UI Yes EN D API API Automated Provisioning start Succes s Yes • Email Notification to the client • Update Cloud Repository
  • 33. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Questions? Always On Performance Agility Key Take Away

Hinweis der Redaktion

  1. Data as of January 2017 Changes Feb 2016 >Aug 2016 Note: #PBs updated to reflect backup footprints that were previously not included Changes Aug 2015 >Feb 2016 Note: # UCS Blades updated from 5,488-11,018 to now include # Engineering blades managed by Cisco IT Note: # VMs added and updated to reflect above change in # UCS blades to represent total VM install base comprised of # Cisco IT VMs as well as # Engineering VMs managed by Cisco IT
  2. Cisco Systems, Inc. designs, manufactures, and sells Internet Protocol (IP) based networking and other products related to the communications and information technology industry worldwide. The company offers switching products, including fixed-configuration and modular switches, and storage products that provide connectivity to end users, workstations, IP phones, wireless access points, and servers; and next-generation network routing products that interconnect public and private wireline and mobile networks for mobile, data, voice, and video applications. It also provides collaboration products comprising unified communications products, conferencing products, collaboration endpoints, and business messaging products; data center products, such as blade and rack servers, series, fabric interconnects, and management software solutions; wireless products consisting of wireless access points, WLAN controllers, cloud and appliances based services, and integrated software services. In addition, the company offers security products, including network and data center security, advanced threat protection, Web and email security, access and policy, unified threat management, and advisory, integration, and managed services; and other products, such as emerging technologies and other networking products.
  3. - As we were using RDBMS
  4. Brown field 10 High, 7 Medium, 9 Low
  5. Ops Log Size