Build a NoSQL database in Golang — 1

Anarta Poashan
Jan 26, 2025

--

First, we can decide on the data model of the database we are building

We will go with a document based Database(and maybe a graph based schema to relate the various records?).

Then, there are two ways to approach this —

  • Start by constructing the various operations
  • Build out the querylang

Let us start by constructing the various operations.

The basic operatios we will need are

  • write a JSON file
  • read from a JSON file
  • Modify a json file
    - Modify the content
    - Modify the number or type of attributes
  • Delete a JSON file

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response