The document discusses MongoDB and MongoMK. It provides an overview of MongoDB including its document-oriented data model, clustering using replica sets and sharding, and resilience. It also discusses MongoMK which exposes the Oak microkernel API and implements a document store using MongoDB for persistence. The document recommends various best practices for hardening, backup, monitoring, and sizing the oplog when using MongoDB in production.
JavaScript Service Worker Design Patterns for Better User Experiencereeder29
Not just for offline, JavaScript Service Workers give your web app a snappy response and predictable behavior. Your web app “feels like an app” to your more-satisfied users and stakeholders.
JavaScript Service Worker Design Patterns for Better User Experiencereeder29
Not just for offline, JavaScript Service Workers give your web app a snappy response and predictable behavior. Your web app “feels like an app” to your more-satisfied users and stakeholders.
This is my presentation about CFWheels at CFObjective ANZ, November 2010, Melbourne, Australia.
ColdFusion on Wheels (CFWheels), is an elegant framework inspired by Ruby on Rails.
This is my presentation on MySQL user camp on 26-06-2015.
It gives basic introduction to Ansible and how it can be benefited for MySQL deployment and configuration.
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016Dylan Butler
What if you were asked to support a database platform that you had never worked with before? First you would probably say no, but after you lost that fight, then what? That is exactly how I came to support MySQL. Over the last year my team has worked to learn MySQL, architect a production environment, and figure out how to support it alongside our other platforms (Microsoft SQL Server and Oracle). Along the way, I have also come to appreciate the unique offering of this platform and see it as an important part of our environment going forward.
To make things even more challenging, our first MySQL databases were the backend for a critical, web based application that needed to be highly available across multiple data centers. This meant that we did not have the luxury of standing up a simpler environment to start with and building confidence there. Our final architecture ended up using a five node Percona XtraDB Cluster spread across three data centers.
This session will focus on lessons learned along the way, as well as challenges related to supporting more than one database platforms. It should be interesting to anyone who is new to MySQL, anyone who is being asked to support more than one database platform, or anyone who wants to see how an outsider views the platform.
ProxySQL - High Performance and HA Proxy for MySQLRené Cannaò
High Availability proxy designed to solve real issues of MySQL setups from small to very large production environments.
Presentation at Percona Live Amsterdam 2015
Securing your MySQL / MariaDB Server dataColin Charles
Co-presented alongside Ronald Bradford, this covers MySQL, Percona Server, and MariaDB Server (since the latter occasionally can be different enough). Go thru insecure practices, focus on communication security, connection security, data security, user accounts and server access security.
Next Generation DevOps in Drupal: DrupalCamp London 2014Barney Hanlon
In this talk, Barney will be discussing and demonstrating how to:
- Use nginx, Varnish and Apache together in a "SPDY sandwich" to support HTTP 2.0
- Setting up SSL properly to mitigate against attack vectors
- Performance improvements with mod_pagespeed and nginx
- Deploying Drupal sites with Docker containers
Barney is a Technical Team Leader at Inviqa, a Drupal Association member and writes for Techportal on using technologies to improve website performance. He first started using PHP professionally in 2003, and has over seventeen years experience in software development. He is an advocate of Scrum methodology and has an interest in performance optimization, researching and speaking on various techniques to improve user experience through faster load times.
Presented at the MySQL Chicago Meetup in August 2016. The focus of the talk is on backups and verification, replication and failover, as well as security and encryption.
This is my presentation about CFWheels at CFObjective ANZ, November 2010, Melbourne, Australia.
ColdFusion on Wheels (CFWheels), is an elegant framework inspired by Ruby on Rails.
This is my presentation on MySQL user camp on 26-06-2015.
It gives basic introduction to Ansible and how it can be benefited for MySQL deployment and configuration.
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016Dylan Butler
What if you were asked to support a database platform that you had never worked with before? First you would probably say no, but after you lost that fight, then what? That is exactly how I came to support MySQL. Over the last year my team has worked to learn MySQL, architect a production environment, and figure out how to support it alongside our other platforms (Microsoft SQL Server and Oracle). Along the way, I have also come to appreciate the unique offering of this platform and see it as an important part of our environment going forward.
To make things even more challenging, our first MySQL databases were the backend for a critical, web based application that needed to be highly available across multiple data centers. This meant that we did not have the luxury of standing up a simpler environment to start with and building confidence there. Our final architecture ended up using a five node Percona XtraDB Cluster spread across three data centers.
This session will focus on lessons learned along the way, as well as challenges related to supporting more than one database platforms. It should be interesting to anyone who is new to MySQL, anyone who is being asked to support more than one database platform, or anyone who wants to see how an outsider views the platform.
ProxySQL - High Performance and HA Proxy for MySQLRené Cannaò
High Availability proxy designed to solve real issues of MySQL setups from small to very large production environments.
Presentation at Percona Live Amsterdam 2015
Securing your MySQL / MariaDB Server dataColin Charles
Co-presented alongside Ronald Bradford, this covers MySQL, Percona Server, and MariaDB Server (since the latter occasionally can be different enough). Go thru insecure practices, focus on communication security, connection security, data security, user accounts and server access security.
Next Generation DevOps in Drupal: DrupalCamp London 2014Barney Hanlon
In this talk, Barney will be discussing and demonstrating how to:
- Use nginx, Varnish and Apache together in a "SPDY sandwich" to support HTTP 2.0
- Setting up SSL properly to mitigate against attack vectors
- Performance improvements with mod_pagespeed and nginx
- Deploying Drupal sites with Docker containers
Barney is a Technical Team Leader at Inviqa, a Drupal Association member and writes for Techportal on using technologies to improve website performance. He first started using PHP professionally in 2003, and has over seventeen years experience in software development. He is an advocate of Scrum methodology and has an interest in performance optimization, researching and speaking on various techniques to improve user experience through faster load times.
Presented at the MySQL Chicago Meetup in August 2016. The focus of the talk is on backups and verification, replication and failover, as well as security and encryption.
Geek Sync | Azure Cloud & You: First Steps for the DBAIDERA Software
You can watch the replay for this Geek Sync webcast, Azure Cloud & You: First Steps for the DBA, in the IDERA Resource Center, http://ow.ly/68S750A4rtU.
It's not a question of whether or not the landscape for the common DBA is changing. Without a doubt, it is. Azure offers up a new world of possibilities for DBA's and we should all strive to learn it. In this session, we'll cover some basic knowledge and terminology of Azure as well as how easy it is to incorporate Azure into your environment. We will stand up a new Azure virtual machine as well as a setup SQL DB. You will see how easy it is to accomplish this. This new-found knowledge will help propel your career into the new landscape.
Speaker: John Morehouse is currently a Consultant with Denny Cherry & Associates living in Louisville, Kentucky. John led the Omaha SQL Server user group for 7 years and is now a leader of the Louisville SQL Server/Power BI user group. He is a Microsoft Data Platform MVP, 2016 IDERA ACE, blogger, avid tweeter, and a frequent speaker at SQL Saturday's as well as other conferences. In his spare time, you can usually find John on Twitter (@sqlrus) as well as chasing his two young sons around the house.
You can watch the replay for this Geek Sync webcast, Successfully Migrating Existing Databases to Azure SQL Database, on the IDERA Resource Center, http://ow.ly/k4p050A4rBA.
First impressions have long-lasting effects. When dealing with an architecture change like migrating to Azure SQL Database the last thing you want to do is leave a bad first impression by having an unsuccessful migration. In this session, you will learn the difference between Azure SQL Database, SQL Managed Instances, and Elastic Pools. How to use tools to test migrations for compatibility issues before you start the migration process. You will learn how to successfully migrate your database schema and data to the cloud. Finally, you will learn how to determine which performance tier is a good starting point for your existing workload(s) and how to monitor your workload over time to make sure your users have a great experience while you save as much money as possible.
Speaker: John Sterrett is an MCSE: Data Platform, Principal Consultant and the Founder of Procure SQL LLC. John has presented at many community events, including Microsoft Ignite, PASS Member Summit, SQLRally, 24 Hours of PASS, SQLSaturdays, PASS Chapters, and Virtual Chapter meetings. John is a leader of the Austin SQL Server User Group and the founder of the HADR Virtual Chapter.
This presentation is a part of the MosesCore project that encourages the development and usage of open source machine translation tools, notably the Moses statistical MT toolkit. MosesCore is supported by the European Commission Grant Number 288487 under the 7th Framework Programme.
For the latest updates go to http://www.statmt.org/mosescore/
or follow us on Twitter - #MosesCore
Conceptos básicos. Seminario web 6: Despliegue de producciónMongoDB
Este es el último seminario web de la serie Conceptos básicos, en la que se realiza una introducción a la base de datos MongoDB. En este seminario web le guiaremos por el despliegue en producción.
Webinar: Adobe Experience Manager Clustering Made Easy on MongoDB MongoDB
Adobe Experience Manager helps you organize and manage the delivery of creative assets and other content across all of your digital marketing channels. Experience Manager customers who take advantage of MongoDB can deploy a highly scalable content repository to support their business needs, as well as migrate content from legacy systems. In this session, you'll learn how you can use MongoDB to deploy AEM systems at scale. The session will cover installation, sizing, and the tools available to automate and manage your cluster.
Evolution of MongoDB Replicaset and Its Best PracticesMydbops
There are several exciting and long-awaited features released from MongoDB 4.0. He will focus on the prime features, the kind of problem it solves, and the best practices for deploying replica sets.
Geek Sync | Tips for Data Warehouses and Other Very Large DatabasesIDERA Software
You can watch the replay for this Geek Sync webcast in the IDERA Resource Center: http://ow.ly/tPaC50A57HW
Whether on-premise or in the cloud, DBAs are often asked to create and manage optimal database designs for data warehouses, data lakes, and many other very large databases (VLDBs) using relational database management systems. These databases will be used for business intelligence, data mining, and data analytics. They are radically different than traditional online transaction processing (OLTP) systems. So what special design concerns will be faced? What database editions and features to rely upon? What kind of query execution plans should be sought?
Join IDERA and Bert Scalzo as he covers all pertinent issues, which some may even consider best practices, for such highly specialized database requirements. While the basic concepts will be universally applicable, examples will be primarily in Oracle, with some also in MySQL, SQL Server, and PostgreSQL.
About Bert: Bert Scalzo is an Oracle ACE, author, speaker, consultant, and a major contributor for many popular database tools used by millions of people worldwide. He has 30+ years of database experience and has worked for several major database vendors. He has BS, MS and Ph.D. in computer science plus an MBA. He has presented at numerous events and webcasts. His areas of key interest include data modeling, database benchmarking, database tuning, SQL optimization, "star schema" data warehousing, running databases on Linux or VMware, and using NVMe flash based technology to speed up database performance.
These are the slides I presented at the Nosql Night in Boston on Nov 4, 2014. The slides were adapted from a presentation given by Steve Francia in 2011. Original slide deck can be found here:
http://spf13.com/presentation/mongodb-sort-conference-2011
In this webinar, we will be covering general best practices for running MongoDB on AWS.
Topics will range from instance selection to storage selection and service distribution to ensure service availability. We will also look at any specific best practices related to using WiredTiger. We will then shift gears and explore recommended strategies for managing your MongoDB instance on AWS.
This session also includes a live Q&A portion during which you are encouraged to ask questions of our team.
This talk will cover lessons learned at Community Engine regarding MongoDB, including: why we moved away from an Hybrid solution using SQL and MongoDB; an outline of the technologies and what we learned using MongoDB on Amazon Web Services; the MongoDB C# driver; MongoDB with SOLR for Full Text Search; how we do migration, deployment and more.
Geek Sync | Database People and DevOps: The FundamentalsIDERA Software
You can watch the replay for this Geek Sync webcast, Database People and DevOps: The Fundamentals, in the AquaFold Resource Center, http://ow.ly/XXzt50A4qAz.
DevOps is a software delivery philosophy that focuses on delivering quality, faster. Join IDERA and Stuart Ainsworth to learn about the basic principles of DevOps and how they apply to database development and administration. Everyone's environment is different, but the strategies discussed within can be translated into basic tactical gains that are easy to implement.
Topics covered include:
* a (VERY) brief history of DevOps
* why DBAs make the best DevOps engineers
* what admins can teach developers, and what developers can teach admins
Speaker: Stuart Ainsworth is an IT manager working in financial information security. Over the past 20 years, he's worked as a research analyst, a report writer, a DBA, a programmer, and a public speaking professor. He’s a chapter leader for AtlantaMDF, the SQL Server user group in Atlanta, as well as a speaker at SQLSaturdays, PASS Summit, code camps, and user groups.
Building Blockchain Solutions with Algorand Developer ToolsRuss Fustino
Blockchain technology promised a fairer world, where value could be shared freely across all borders, in a transparent and secure manner, excluding no one.
However, immature technology, currency volatility and the complexity and cost of blockchain technology have been hindering the large scale adoption of blockchain.
We invite developers and blockchain enthusiasts to join us for a night of drinks, networking and discussion on how Algorand is now leading the way in fulfilling blockchain's promise.
Topics
Algorand and Protocol Overview
Algorand SDKs, API and Tools
Developing on the Algorand TestNet
About Algorand
Algorand’s blockchain platform creates full transparency, protection and speed within a truly decentralized network. It achieves velocity on par with large payment and financial networks while securely scaling to billions of users. Algorand’s pure proof-of-stake approach is the first of its kind to provide immediate transaction finality without forking.
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
Worried about document security while sharing them in Salesforce? Fret no more! Here are the top-notch security standards XfilesPro upholds to ensure strong security for your Salesforce documents while sharing with internal or external people.
To learn more, read the blog: https://www.xfilespro.com/how-does-xfilespro-make-document-sharing-secure-and-seamless-in-salesforce/
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
Accelerate Enterprise Software Engineering with PlatformlessWSO2
Key takeaways:
Challenges of building platforms and the benefits of platformless.
Key principles of platformless, including API-first, cloud-native middleware, platform engineering, and developer experience.
How Choreo enables the platformless experience.
How key concepts like application architecture, domain-driven design, zero trust, and cell-based architecture are inherently a part of Choreo.
Demo of an end-to-end app built and deployed on Choreo.
Unleash Unlimited Potential with One-Time Purchase
BoxLang is more than just a language; it's a community. By choosing a Visionary License, you're not just investing in your success, you're actively contributing to the ongoing development and support of BoxLang.
First Steps with Globus Compute Multi-User EndpointsGlobus
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Strategies for Successful Data Migration Tools.pptxvarshanayak241
Data migration is a complex but essential task for organizations aiming to modernize their IT infrastructure and leverage new technologies. By understanding common challenges and implementing these strategies, businesses can achieve a successful migration with minimal disruption. Data Migration Tool like Ask On Data play a pivotal role in this journey, offering features that streamline the process, ensure data integrity, and maintain security. With the right approach and tools, organizations can turn the challenge of data migration into an opportunity for growth and innovation.
top nidhi software solution freedownloadvrstrong314
This presentation emphasizes the importance of data security and legal compliance for Nidhi companies in India. It highlights how online Nidhi software solutions, like Vector Nidhi Software, offer advanced features tailored to these needs. Key aspects include encryption, access controls, and audit trails to ensure data security. The software complies with regulatory guidelines from the MCA and RBI and adheres to Nidhi Rules, 2014. With customizable, user-friendly interfaces and real-time features, these Nidhi software solutions enhance efficiency, support growth, and provide exceptional member services. The presentation concludes with contact information for further inquiries.
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
Science gateways allow science and engineering communities to access shared data, software, computing services, and instruments. Science gateways have gained a lot of traction in the last twenty years, as evidenced by projects such as the Science Gateways Community Institute (SGCI) and the Center of Excellence on Science Gateways (SGX3) in the US, The Australian Research Data Commons (ARDC) and its platforms in Australia, and the projects around Virtual Research Environments in Europe. A few mature frameworks have evolved with their different strengths and foci and have been taken up by a larger community such as the Globus Data Portal, Hubzero, Tapis, and Galaxy. However, even when gateways are built on successful frameworks, they continue to face the challenges of ongoing maintenance costs and how to meet the ever-expanding needs of the community they serve with enhanced features. It is not uncommon that gateways with compelling use cases are nonetheless unable to get past the prototype phase and become a full production service, or if they do, they don't survive more than a couple of years. While there is no guaranteed pathway to success, it seems likely that for any gateway there is a need for a strong community and/or solid funding streams to create and sustain its success. With over twenty years of examples to draw from, this presentation goes into detail for ten factors common to successful and enduring gateways that effectively serve as best practices for any new or developing gateway.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
Experience our free, in-depth three-part Tendenci Platform Corporate Membership Management workshop series! In Session 1 on May 14th, 2024, we began with an Introduction and Setup, mastering the configuration of your Corporate Membership Module settings to establish membership types, applications, and more. Then, on May 16th, 2024, in Session 2, we focused on binding individual members to a Corporate Membership and Corporate Reps, teaching you how to add individual members and assign Corporate Representatives to manage dues, renewals, and associated members. Finally, on May 28th, 2024, in Session 3, we covered questions and concerns, addressing any queries or issues you may have.
For more Tendenci AMS events, check out www.tendenci.com/events
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Hivelance Technology
Cryptocurrency trading bots are computer programs designed to automate buying, selling, and managing cryptocurrency transactions. These bots utilize advanced algorithms and machine learning techniques to analyze market data, identify trading opportunities, and execute trades on behalf of their users. By automating the decision-making process, crypto trading bots can react to market changes faster than human traders
Hivelance, a leading provider of cryptocurrency trading bot development services, stands out as the premier choice for crypto traders and developers. Hivelance boasts a team of seasoned cryptocurrency experts and software engineers who deeply understand the crypto market and the latest trends in automated trading, Hivelance leverages the latest technologies and tools in the industry, including advanced AI and machine learning algorithms, to create highly efficient and adaptable crypto trading bots
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Les Buildpacks existent depuis plus de 10 ans ! D’abord, ils étaient utilisés pour détecter et construire une application avant de la déployer sur certains PaaS. Ensuite, nous avons pu créer des images Docker (OCI) avec leur dernière génération, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautés les soutiennent et comment ?
Venez le découvrir lors de cette session ignite
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
MongoDB and MongoMK Source Event
1. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
1
MongoDB & MongoMK
Mark Puddick (MongoDB) and Yuval Ararat (Adobe)
2. Agenda
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
2
MongoDB?
• Enterprise on my mind
• Moving In!
• Practice of the Best!
3. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
3
4. What is
MongoDB?
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
4
Document Orientated Database
• Open source
• High performance
• Horizontally scalable
• Full featured
5. Document Model
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
5
JSON
• Binary = BSON
• Index-able
6. Clustering
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
6
Replica Set
• Sharding
7. Replica Set
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
7
Replica Set – two or more copies
• Self-healing shard
• Addresses availability considerations
• High Availability
• Disaster Recovery
• Maintenance
• Deployment Flexibility
• Data locality to users
• Workload isolation: operational & analytics
8. Sharding
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
8
• Three types of sharding: hash-based, range-based, tag-aware
• Increase or decrease capacity as you go
• Automatic balancing
9. Sharding?
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
9
No sharding required
But you can still shard
• Easy to shard a later Date
– Good shard key choice essential
10. Resilience
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
10
• Replica sets require uneven number.
West Coast DC Central DC
East Coast
DC
Secondary
priority = 5
Primary
priority = 10
Secondary
Priority = 5
Secondary
priority = 10
Arbiter
11. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
11
MongoDB Management
Service (MMS)
The Easiest Way to
Run MongoDB
12. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
12
What MMS can
do
Deploy
Upgrade
Scale
Continuous Backup
Point-in-Time Recovery
Performance Alerts
13. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
13
How MMS Works
14. Common Tasks,
Performed in
Minutes
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
14
Deploy – any size, most topologies
• Upgrade/Downgrade – with no downtime
• Scale – add/remove shards or replicas, with no downtime
• Resize Oplog – with no downtime
• Specify users, roles, custom roles
• Provision AWS instances and optimize for MongoDB
15. MMS – Monitor and
Backup
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
15
• Monitor multiple MongoDB metrics
• Point in Time
16. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
16
OAK
17. OAK - Goals
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
17
Support Big repositories
• Distributed repository
• Improved write throughput
• Support for many child nodes
• Support for many ACLs
• Built in clustering. Instead of built on top
• OSGi friendly
18. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
18
OAK Architecture
19. Available MK
Impl
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
19
MongoMK
Built over MongoDB as persistance layer.
– Build for rapid sync between nodes
• TarMK
– Built over Tar file system
– Build for speed.
– Can be resiliant with 1.0.8 release.
20. MongoMK
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
20
Exposes Micro kernel API
• Implements a DocumentStore
– DocumentMK and DocumentNodeStore
• MVCC Approach
• GIT/SVN-inspired DAG-based versioning model [0]
[0] http://wiki.apache.org/jackrabbit/RepositoryMicroKernel?action=AttachFile&do=view&target=MicroKernel+Revision+Model.pdf
21. MVCC
• In JCR 2 sessions always reflects the latest state of the repository.
• In Oak a session reflects a stable view of the repository from the time the session was
Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
21
acquired.
Counter = 1
Session 1
Counter = 0
Session 2
Counter = 0
getCounter()?
returns 0
Counter+1 = 1
Time
Counter = 1
Counter+1 = 1
JCR
Counter = 0
22. Scaling
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
22
Advantages of MVCC:
Session cannot contain references to nodes that are not accessible anymore
– The MVCC model makes it possible to scale the repository significantly better
• Disadvantage of MVCC:
– Session may work on data that has been updated in another session.
• avoiding long-running sessions is recommended.
• If two sessions perform modifications relying on one session seeing the other session’s
changes, call Session.refresh().
– Write skew: in two non-conflicting commits on NodeStore level can lead to JCR
level constraints being violated
• exception handling on saving/committing the session was required before so keep it there.
23. Data Structure
Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
23
• simple JSON-inspired data model:
nodes and properties
• properties are name/value pairs
• supported property types: string,
number, boolean, array
• a property value is stored and used as
an opaque, unparsed character
sequence
24. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
24
PRACTICE OF THE
BEST
25. Hardening
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
25
Only traffic from trusted sources can reach mongod instances
• mongod instances can only connect to trusted outputs.
• In Addition:
– The “nohttpinterface” setting for mongod instances disables the “home” status page, which
would run on port 28017 by default. Disable this option for production deployments
– The REST setting for mongod enables a fully interactive administrative REST interface,
which is disabled by default. Disable this option for production deployments.
– bind_ip setting for mongod and mongos instances limits the network interfaces on which
MongoDB programs will listen for incoming connections. You can also specify a number of
interfaces by passing bind_ip a comma separated list of IP addresses.
26. Backup
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
26
Use MongoDB tools to create a backup of the repository db.
• Preferred sequence:
– Create replica of MongoDB primary (if not already available)
– Optional: create checkpoint on MongoDB to handle merged conflicts
– Stop replication
– Perform backup
– Restart replication
• MongoDB Managed Service can be used to create a backup.
27. General
guidance
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
27
Be sure you have the latest stable release.
• Always use 64-bit builds for production.
• Linux kernel version 2.6.36 or later.
• Ext4 and XFS file systems are preffered.
• Arbiter to run on their own server.
• Tune connection pool size to avoid flooding the instance
• Consider separating data, journal, and logs to different storage devices
• On AWS it is recommended to use Ephermal SSD or SSD Backed EBS.
28. Monitoring
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
28
SaaS options
MongoDB Management Service
– Scout
– Server Density
• On premise options
– Nagios
– Munin
– MongoDB Management Service
29. oplog
• Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
29
Idempotent log of operations
• Same size on all members of a replica set.
• By default it will use 5% of available disk space
• Should be at least 72hrs to a weeks of operations.
30. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
30
31. • Click to edit Master text styles
– Second level
• Third level
– Fourth level
» Fifth level
31