Calling the MongoDB Atlas API - How to do it from Node, Python, and Ruby
The real power of a cloud-hosted, fully managed service like MongoDB Atlas is that you can create whole new database deployment architectures automatically, using the services API. Getting to the MongoDB Atlas API is relatively simple and, once unlocked, it opens up a massive opportunity to integrate and automate the management of database deployments from creation to deletion. The API itself is an extensive REST API, there's role-based access control and you can have user or app-specific credentials to access it.
There is one tiny thing that can trip people up though. The credentials have to be passed over using the digest authentication mechanism, not the more common basic authentication or using an issued token. Digest authentication, at its simplest, waits to get an HTTP 401 (not authorized) from the web endpoint. That response comes with data and the client then sends an encrypted form of the username and password as a digest and the server works with that.
Their Story: Shine
Meet Naomi Hirabayashi and Marah Lidey, Co-Founders and Co-CEOs of Shine in the first of a series for Women's History Month where we look at their stories, values, and journey to the C-suite.
New Monitoring Integration for MongoDB Atlas Metrics in Datadog
MongoDB Atlas customers are now able to harness the application stack monitoring power of Datadog thanks to a new live metrics integration between the two services.
The MongoDB Atlas and Datadog monitoring integration allows customers to pass live performance metrics to a Datadog dashboard using an API key.
Meet Some of MongoDB's Influential Female Leaders
In celebration of International Women's Day, we are highlighting some of our most influential leaders at MongoDB and how they've grown at the company. According to Fairygodboss, promoting more women into leadership positions is one of the top things employers can do to make their female employees stay.
At MongoDB, we invest in our employees' professional growth to enable them to become leaders in their roles while pursuing their passions. A few of our leaders developed an internal Underrepresented People of Color Network, while others created a mentorship group to provide management and productivity tips. We try to empower our employees to lead in their own ways and give them the freedom to create programs where they feel they are lacking.
Building with Patterns: The Extended Reference Pattern
Throughout this Building With Patterns series, I hope you've discovered that a driving force in what your schema should look like, is what the data access patterns for that data are. If we have a number of similar fields, the Attribute Pattern may be a great choice. Does accommodating access to a small portion of our data vastly alter our application? Perhaps the Outlier Pattern is something to consider. Some patterns, such as the Subset Pattern, reference additional collections and rely on JOIN operations to bring every piece of data back together. What about instances when there are lots of JOIN operations needed to bring together frequently accessed data? This is where we can use the Extended Reference pattern.
Developer Spotlight: ArchitectNow And Building A Software Development Firm To Last
Kevin Grossnicklaus is the Principal of ArchitectNow, a successful software development firm located in St.Louis. Using MongoDB Atlas and Microsoft Azure, his team designs, builds and launches robust web and mobile applications for startups and Fortune 100 clients alike.
The 2038 problem and how to solve it for MongoDB
This year, 2019, is halfway between 2000 and 2038. If you don't know, 2038 is going to be an interesting year like 2000 was an interesting year for dates and times. 2038 is the year that the 32-bit signed integers that people have been using since the 1970s to represent time will roll over; 2,147,483,647 seconds will have passed since 1 January 1970 and rolling over means the signed value flip to the largest negative value.
Building with Patterns: The Subset Pattern
Some years ago, the first PCs had a whopping 256KB of RAM and dual 5.25" floppy drives. No hard drives as they were incredibly expensive at the time. These limitations resulted in having to physically swap floppy disks due to a lack of memory when working with large (for the time) amounts of data. If only there was a way back then to only bring into memory the data I frequently used, as in a subset of the overall data.
Modern applications aren't immune from exhausting resources. MongoDB keeps frequently accessed data, referred to as the working set, in RAM. When the working set of data and indexes grows beyond the physical RAM allotted, performance is reduced as disk accesses starts to occur and data rolls out of RAM.
Build a Slack App in 10 minutes with MongoDB Stitch
Slack is not only the fastest growing startup in history, but it's also an app by the same name and one of the most popular communication tools in use today. We use it extensively at MongoDB to foster efficient communications between teams and across the company. We're not alone. It seems like every developer I encounter uses it in their company as well.
One interesting thing about Slack (and there are many) is its extensibility. There are several ways you can extend Slack. Building chatbots, applications that interface with the communication service and extending Slack through the introduction of additional commands called "slash commands" that enable Slack users to communicate with external services. In this article, we'll build a simple slash command that enables users to store and retrieve data in and from a MongoDB database. I'm always finding interesting information on the internet that I want to share with my team members so let's build an application we'll call URL Stash that will store interesting URLs for later retrieval via a Slack slash command.
The Top 5 Reasons to attend a MongoDB.local conference
I recently attended (and spoke at!) my first MongoDB.local (or .local for short) in Dallas, Texas. If you've been wondering if it's worth taking a day out of your busy schedule to attend one, the answer is, "Yes!" Here are my top 5 reasons why.