mongodb

Featured image for Quarkus and MongoDB.
Article

Getting started with MongoDB and Quarkus

Hans-Peter Grahsl

Explore the basics of using MongoDB and Quarkus to write cloud-native Java applications and extensions that simplify deploying containerized apps on Kubernetes.

MongoDB Coverage feature image
Cheat Sheet

MongoDB Cheat Sheet

Bob Reselman

Learn basic commands for using MongoDB, a NoSQL, document-centric database that makes it easy to build scalable web applications.

MicroProfile
Article

Deploying MicroProfile apps on Microsoft Azure using the Azure Open Service Broker

James Falkner

This post shows how easy it is to link Java MicroProfile apps to Microsoft Azure services through the Open Service Broker for Azure. To do that, it describes the steps for reproducing a demo application, based on the popular game Minesweeper, that was presented at the recently concluded Microsoft Ignite 2018 conference in Orlando.

Red Hat Mobile Application Platform
Article

Configuring the MongoDB WiredTiger memory cache for RHMAP

Camila Macedo

If MongoDB's WiredTiger memory cache in Red Hat Mobile Application Platform (RHMAP) consumes all the memory available for a container, memory issues and Nagios alerts will occur. This article describes how to configure the WiredTiger memory cache to prevent high-usage memory issues and Nagios alerts.

RHEL
Article

Announcing GA for latest Software Collections, Developer Toolset, Compilers

Mike Guerette

We are pleased to announce the general availability of: Red Hat Software Collections 3.1 (Ruby 2.5, Perl 2.26, PHP 7.0.27, PostgreSQL 10, MongoDB 3.6, Varnish 5, HAProxy 1.8, Apache 2.4 update) Red Hat Developer Toolset 7.1 (GCC 7.3) Clang/LLVM 5.0, Go 1.8.7, Rust 1.25.0

RedHat Shadowman Logo
Article

Red Hat open source databases in beta: Adds PostgreSQL 10, MongoDB 3.6; updates MySQL 5.7

Mike Guerette

Red Hat open source databases in beta: Adds PostgreSQL 10, MongoDB 3.6; updates MySQL 5.7 - Twice a year, Red Hat distributes new versions of compiler toolsets, scripting languages, open source databases, and/or web tools, etc. so that application developers will have access to the latest, stable versions. These Red Hat supported offerings are packaged as Red Hat Software Collections.

RedHat Shadowman Logo
Article

Red Hat updates Python, PHP, Node.js, more; supports new arches

Mike Guerette

I am pleased to announce the immediate availability of Red Hat Software Collections 3.0 Beta , Red Hat’s newest installment of open source development tools, dynamic languages, databases, and more. Delivered on a separate lifecycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections bridges development agility and production stability by helping you create modern applications that can be confidently deployed into production. Most of these components are also available in Linux container image...

Red Hat Mobile Application Platform
Article

Local Development Setup for Red Hat Mobile using Docker

Evan Shortiss

Getting up and running with local development for Red Hat Mobile Application requires that you run MongoDB and Redis locally. Doing so isn’t particularly difficult if you follow online guides, but it would be much more straightforward if you could just get these pieces of software up and running in a single command and not need to worry about versioning, creating data directories, setting permissions, and compiling some things such as Redis from source. It would be even better if...

Technical Cheat Sheets for Developers
Article

Technical Cheat Sheets for Developers

Emily Parish

Over the past few months, we’ve been building and releasing a variety of technical cheat sheets and we’ve been getting many requests for more. We are working on new cheat sheets every day, ok maybe not weekends, but almost every day. Here are the cheat sheets available today: Linux Commands Cheat Sheet , Advanced Linux Commands Cheat Sheet , Wildfly Swarm Cheat Sheet , Containers Cheat Sheet , MongoDB Cheat Sheet , Kubernetes Cheat Sheet and the Eclipse Vert.x Cheat...

Article Thumbnail
Article

Manage your Mongo Databases in RHMAP with Mongo Express

Emilio Rodriguez

Red Hat Mobile Application Platform (RHMAP) supports an agile approach to developing, integrating, and deploying enterprise mobile applications. Most likely, your mobile apps will include one or more cloud apps which will require persistence support such as a Mongo Database. But managing databases is not always easy, as command line support for this databases is complex and not always available. To ease this pain, Mongo Express can be used as an database GUI. For the mongo databases in your cloud...

Article Thumbnail
Article

A Mongo Shell Cheat Sheet

Cian Clarke

There’s a whole host of GUI tools to connect to MongoDB databases and browse, however despite a steeper learning curve, I’ve always found myself more productive using a command line interface (CLI). Then, there’s that moment when something has gone wrong on the database server, and we need to SSH 4-levels deep in order to debug a problem with a database. Sometimes, there’s no other option available, and this makes familiarity with the CLI invaluable. I learn best by example...

Article Thumbnail
Article

A Lesson in Debugging: Big Projects Have Critical Bugs Too

Cian Clarke

I recently had an interesting problem which served as a great learning experience. It involves hair-pulling levels of frustration, vicious finger-pointing, and an unexpected ending --- not a TV Soap opera episode, just a day in the life of a developer. It all started with a REST API I had built for a customer proof of concept that started refusing requests after an arbitrary period of time. Nothing was unusual in the codebase of the REST API --- it was...

Article Thumbnail
Article

Installing MongoDB on Red Hat Enterprise Linux

Hemant Jain

MongoDB has evolved into one of the most popular open source "NoSQL" databases—so-called because they dispense with the tabular storage schema of relational databases like MySQL and Postgres. NoSQL databases offer a variety of advantages in many cases The biggest advantage is that MongoDB databases don't require developers to define schemas before adding data to a database. Instead, they use a flexible document-based model, similar to Python dictionaries or Ruby hashes. With MongoDB, you don't need to spend time creating...

A Practical Introduction to Docker Container Terminology
Article

Database Docker images - now beta via Software Collections

Marek Skalický

“As a part of the Red Hat Software Collections offering, Red Hat provides a number of container images , which are based on the corresponding Software Collections. These include application, daemon, and database images. The provided images, currently available in the Beta version” (for more information see https://access.redhat.com/articles/1752723 ) Red Hat Software Collections allows you to run newer versions of software on a stable Red Hat Enterprise Linux. These new images combine this feature with the benefits of containers. In...

A Practical Introduction to Docker Container Terminology
Article

Red Hat Software Collections 2.0 Docker images, Beta release

Joe Orton

I'm very happy to announce that Docker images based on collections from Red Hat Software Collections (RHSCL) 2.0 are in beta testing. The images are available from the Red Hat Container Registry , and we've got the set of collections for language, databases and web servers covered - a complete list is below. If you've not tried out the Docker package from RHEL7 Extras, you need to enable the Extras channel, install the docker page, and start the docker service...

Software Collections logo
Article

Red Hat Software Collections 2 - now generally available

Mike Guerette

Excellent news - Red Hat has announced the general availability of Red Hat Software Collections 2. You'll see considerable additions to support multiple language versions. For example, it includes updates to "Python 2.7, continues to support Python 3.3 and also adds Python 3.4 – providing a fully-supported language library and blending developer agility with production stability." New Collections B uild ing upon an already robust selection of the latest, stable developer tools, Red Hat Software Collections 2 adds more than...

Software Collections feature image
Article

Software Collections 2.0 now in BETA - new and shiny

Mike Guerette

It seems like just a few months ago when we introduced Red Hat Software Collections 1.0 (RHSCL), followed by 1.1 and 1.2 will lots of additions and updates. Today, Red Hat has announced Red Hat Software Collections 2.0 with a truck load of important languages, tools, databases and web servers - including the addition of a new component: Passenger. Here's the list: Python 3.4 – the latest stable, major release of Python 3 and includes a number of additional utilities...

RHEL
Article

How to package initscripts and unit files for Software Collections

Marcela Maslanova

In previous articles we mentioned tips on how to package collections, but we never wrote about initscripts, which are one reason why daemons are harder to package as a collection. I've picked a short(er) initscript to show what has to be modified if you want to run your initscript in a collection. Below is the diff between the mongodb initscript and collection version of the mongodb initscript. Currently, logfiles, pidfiles and configuration files are stored mostly as in the example...