SlideShare a Scribd company logo
@@nathenharveyNathen Harvey
Hello!Nathen HarveyWeb Operations at CustomInknharvey@customink.com@nathenharveyOrganize MongoDCMeetupsSee you there next month!@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Thanks for attendingIn the other trackEliot Horowitz, CTO & Co-Founder, 10genSchema Design at Scale@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk Customers@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk Customers@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk Customers@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk Customers@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Customer ReviewsNathen HarveyNathen Harvey
CustomInk TechnologyDivide our technology into two classes:ECommerce – pre-checkout and shopping cartOperations Technology – post-check-out, fulfillment, etc.Ruby on RailsWith some legacy JavaApproximately 30 different applications running in production@nathenharveyNathen Harvey@nathenharveyNathen Harvey
CustomInk DatabasesPrimarily OracleWas the “right” choice 11 years ago when the company was startedNo longer a good solution for usMySQLPercona Server with XtraDBMongoDB@nathenharveyNathen Harvey@nathenharveyNathen Harvey
MongoDBChampionsEasy to set-up and configure“Greenfield” projects with loose schema definitionsMakes development easier and developers happyLimited amount of time between releasesChallengesNo prior experience with running productionLimited amount of time between releasesUnproven solutionNathen HarveyNathen Harvey
ProblemComplex Production EnvironmentsOrchestratedServices@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Why Mongo?Introduces company to MongoDBEasily to modify document structureLightweight developmentEasy to install and deployCapped Collections@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Central LoggerSubclasses Buffered LoggerIt’s a gem loaded into Rails applications as a RailtieCaptures useful metadataUse the MongoDB Ruby Driverhttp://github.com/customink/central_logger@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Central Logger
Record Structure@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Log Viewer
Product Catalog@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Why Mongo?Frequently changing requirementsGridFSWide variety of products with varied characteristics@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Case for Document-based Schema@nathenharveyNathen Harvey
Application ArchitectureRails application for managing the product catalogWrites to MongoDB as it’s databaseUtilizes GridFS for storing filesUses Mongoid as the ODM@nathenharveyNathen Harvey
Implementation FlowECommerceApplicationCatalogApplicationMongoDBOracle@nathenharveyNathen Harvey
Next StepsContinue to adopt MongoDB in the Operations Technology applicationsBegin using MongoDB with ECommerce applicationsReporting artwork usageCapturing JavaScript logs@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Automated DeploymentChef is an open source systems integration framework built to bring the benefits of configuration management to your entire infrastructure.We use Chef to manage our infrastructure and deploy MongoDB@nathenharveyNathen Harvey@nathenharveyNathen Harvey
MongoDB CookbookUse Vagrant and VirtualBox as the development environment for our CookbooksCookbook shared on Github and, soon, OpsCode Community Site.@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Monitoring Productionhttp://github.com/mzupan/nagios-plugin-mongodb
Monitoring ProductionMonit
Lessons LearnedCapped CollectionsTesting replica set failoverSchema free != design freeJSON in the DB, JQuery in the browser == happy developersmongo_import could not handle carriage returns in CSV filesUnserializable data typesData transformations on a large dataset still painfulUnless you’re sharding, map reduce probably slower and more complex than what you’re used to@nathenharveyNathen Harvey@nathenharveyNathen Harvey
MongoDCMeetupJoin fellow MongoDB enthusiasts for a monthly meetupMeetings are held at CustomInk in McLean, VAhttp://www.meetup.com/Washington-DC-MongoDB-Users-Group/@nathenharveyNathen Harvey@nathenharveyNathen Harvey
Thank You!Nathen HarveyWeb Operations at CustomInknharvey@customink.com@nathenharveyOrganize MongoDCMeetupsSee you there next month!@nathenharveyNathen Harvey@nathenharveyNathen Harvey

More Related Content

PPTX
Get satrted angular js day 2
ODP
Pipelines for SysAdmins #pipelineconf 2015
PDF
Robin Böhm - Angular 2 - code.talks 2015
PDF
Guide To Successful Graduation at Apache
PPTX
A TOGAF Case Study
PPTX
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
PDF
Rails, ExtJs, and Netzke
PDF
Continuous Deployment: The Dirty Details
Get satrted angular js day 2
Pipelines for SysAdmins #pipelineconf 2015
Robin Böhm - Angular 2 - code.talks 2015
Guide To Successful Graduation at Apache
A TOGAF Case Study
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
Rails, ExtJs, and Netzke
Continuous Deployment: The Dirty Details

Similar to Mongo db at_customink (20)

PDF
Yii2 guide
PPTX
Scaling Magento
PPTX
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
PDF
Mongo db administration guide
PDF
Mongo db administration-guide
PPTX
Sharded By Business Line: Migrating to a Core Database using MongoDB and Solr
PPTX
Mongo la search platform - january 2013
PDF
Coupa and Amazon Web Services (AWS)
PDF
Top ten-list
PDF
Marc Schwering – Using Flink with MongoDB to enhance relevancy in personaliza...
PDF
Scalarium and CouchDB
PDF
CharlesDickens-Resume
KEY
Hybrid MongoDB and RDBMS Applications
PDF
beCPG PLM - R&D and Quality software for Food & Beverage industries
PDF
Laravel 4 Documentation
PPTX
When 7 Seconds Per Page isn't Fast Enough - Developer Focus on Akamai Tooling
PDF
Google Developer Day 2007 - Nestoria: From Mash-up To Business
PDF
Alexandr Vronskiy "Evolution of Ecommerce Application"
PDF
Develop and deploy using Hybrid Cloud Strategies confoo2012
PPTX
Software Development Whats & Whys
Yii2 guide
Scaling Magento
Transforming a Large Mission-Critical E-Commerce Platform from a Relational A...
Mongo db administration guide
Mongo db administration-guide
Sharded By Business Line: Migrating to a Core Database using MongoDB and Solr
Mongo la search platform - january 2013
Coupa and Amazon Web Services (AWS)
Top ten-list
Marc Schwering – Using Flink with MongoDB to enhance relevancy in personaliza...
Scalarium and CouchDB
CharlesDickens-Resume
Hybrid MongoDB and RDBMS Applications
beCPG PLM - R&D and Quality software for Food & Beverage industries
Laravel 4 Documentation
When 7 Seconds Per Page isn't Fast Enough - Developer Focus on Akamai Tooling
Google Developer Day 2007 - Nestoria: From Mash-up To Business
Alexandr Vronskiy "Evolution of Ecommerce Application"
Develop and deploy using Hybrid Cloud Strategies confoo2012
Software Development Whats & Whys
Ad

More from Nathen Harvey (14)

PDF
Accelerate Your DevOps Journey
PDF
Continuous Delivery - GDG Cloud Baltimore
PDF
Using Error Budgets to Prioritize Work
PPTX
Introduction to Test Kitchen and InSpec
PPTX
Introduction to Test Kitchen
PPTX
Effective Testing with Ansible and InSpec
PPTX
Testing Terraform
PPTX
Effective Testing with Ansible and InSpec
PDF
DevOps Days India Keynote
PPTX
Compliance Automation with InSpec
PDF
Introduction to Infrastructure as Code & Automation / Introduction to Chef
PDF
Step AFK: Practical Advice for Career Adavancement
PDF
DevOp with Me!
PDF
Walk This Way - An Introduction to DevOps
Accelerate Your DevOps Journey
Continuous Delivery - GDG Cloud Baltimore
Using Error Budgets to Prioritize Work
Introduction to Test Kitchen and InSpec
Introduction to Test Kitchen
Effective Testing with Ansible and InSpec
Testing Terraform
Effective Testing with Ansible and InSpec
DevOps Days India Keynote
Compliance Automation with InSpec
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Step AFK: Practical Advice for Career Adavancement
DevOp with Me!
Walk This Way - An Introduction to DevOps
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Spectroscopy.pptx food analysis technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PPTX
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25 Week I
Spectroscopy.pptx food analysis technology
20250228 LYD VKU AI Blended-Learning.pptx
Empathic Computing: Creating Shared Understanding
MIND Revenue Release Quarter 2 2025 Press Release
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
MYSQL Presentation for SQL database connectivity

Mongo db at_customink

Editor's Notes

  • #32: Tempfile https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/bson/bson_ruby.rb#L153MongoDB maintains deleted lists of space within the datafiles when objects or collections are deleted. This space is reused but never freed to the operating system.http://www.mongodb.org/display/DOCS/Durability+and+Repair