In this blog let us have a basic idea on…
What are Oplogs? How they are used in replica sets?

What are Oplogs? How they are used in replica sets?

  • The oplog(operations log) is a capped collection.
    Now, what is capped collection?? — A fixed-sized collection that automatically overwrites its oldest entries when it reaches its maximum size.
  • All replica…

In this blog..lets try to understand …
What is daemon?
How to create a daemon server?
How to connect to that daemon server?…..

All databases, collections( or tables), documents(or records) are stored in the hard disk. Adding/deleting/reading records .. all these operations will be done on the hard disk itself.

  • What is Unix time?
  • Why should we store Unix time in the database?

What is Unix time?

  • Unix time is the total number of seconds that have been elapsed from
    00:00:00 1 January 1970 (GMT) till the current time (GMT).
Unix time = Current time in GMT  -  00:00:00 1 January 1970(GMT)
  • Unix time…

In this blog, let us try to understand -
* What are change streams?
* How to use change streams?

Let us see the problem statement to understand better —

Problem Statement:

Consider your company has hoisted a cricket tournament match at XYZ stadium, and you thought of making a live cricket…

Let us discuss in this blog,
What is JSON (JavaScript Object Notation)?
What is BSON? (Binary JSON)

Before understanding BSON, let's try to understand what is JSON (JavaScript Object Notation)?

What is JSON (JavaScript Object Notation)?

  • JSON are key-value pairs.
  • The value can be a number, string, function, or even another object.
    Example:
{
"_id"…

Chandan Gr

MERN stack developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store