Setup a 3 Node Replica-Set MongoDB Cluster to showcase data durability on Civo Cloud
Databases
A collection of 8 posts
Create Read Only Users in MongoDB
In this post I will demonstrate how to setup 2 read only users in MongoDB. One user that will have access to one MongoDB Database and all the Collections, and one user with access to one MongoDB Database and only…
Give your Database a break and use Memcached to return frequently accessed data
So let's take this scenario: Your database is getting hammered with requests and building up some load over time and we would like to place a caching layer in front of our database that will return data from the caching…
Dockerizing a Memcached Server for Docker on Alpine
This post I will demostrate how to dockerize a memcached server on Alpine and how to create a boot script that allows you to pass environment variables through to the application. What is Memcached Memcached is a multi-threaded, in-memory key/…
Experimenting with Python and Flata the Lightweight Document Orientated Database
Flata is a lightweight document orientated database, which was inspired by TinyDB and LowDB. Why Flata? Most of the times my mind gets in its curious states and I think about alternative ways on doing things, especially testing lightweight apps…
MongoDB Examples with the Mongo Shell
In this post we will go through some basic examples on how to write, read, update and delete data with MongoDB using the Mongo Shell. Pre-Requisites: You will need to have a running MongoDB Server, you can follow this post…
Structured Search Queries with Elasticsearch
Structured Search with Elasticsearch: In this post we will ingest some dummy data into elasticsearch, then we will perform some queries to get the following info: Student Names Student Ages Include / Exclude Marks greater than Finding Students with Specific marks,…
Setup MongoDB on CentOS and Getting Started Guide
MongoDB is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB's structure in are JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster Setup MongoDB…