MongoDB

How to connect to your remote MongoDB Server with Nodejs

If you have MongoDB running on your Linux Server in Amazon EC2, Amazon Lightsail, Vultr or any server, you will see there is no simple tutorial out there explaining how to setup user authentication for Mongo so that you can read and write to your  MongoDB server from your Laptop or from other Backend Server. […]

MongoDB

Paging with the Bucket Pattern in MongoDB – Part 2

In the previous part of Paging with the Bucket Pattern, we reviewed the powerful bucket pattern and ways of leveraging it for easy and efficient paging. This part will dive deeper into paging and target easy ways of creating buckets. We left off discussing ways to quickly generate a list of stock trades using a single […]

MongoDB

Paging with the Bucket Pattern with MongoDB – Part 1

Have you ever noticed that moving through pages slows down as you view higher and higher numbered pages? Application designers work with pages frequently yet this problem persists. So what’s the solution? Use a flexible, easy-to-use data model. MongoDB provides powerful ways of modeling data that make paging fast and efficient. Today, we’re going to […]

MongoDB

Building with Patterns: The Bucket Pattern

In this edition of the Building with Patterns series, we’re going to cover the Bucket Pattern. This pattern is particularly effective when working with Internet of Things (IoT), Real-Time Analytics, or Time-Series data in general. By bucketing data together we make it easier to organize specific groups of data, increasing the ability to discover historical trends or provide future […]

MongoDB