This is going to be a series of post taken from my learnings of “Designing data-intensive applications” by “Martin Kleppmann

picture from https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/ch03.html

Bare minimal

We will start by making a simpler version of a database and will continue our analysis by building over it.

#!/bin/bash
db_set(){
echo "$1,$2" >> database
}
db_get(){
grep "^$1," database | sed -e "s/^$1,//" | tail -n 1
}

The bash DB takes a key and value pair as $1 and $2 for saving a data pair using the db_set. This writes the “key, value” to a file called “database”.Since this is an append-only implementation for storage if the…


This is going to be a series of post taken from my learnings of “Designing data-intensive applications” by “Martin Kleppmann

picture from https://www.oreilly.com/library/view/designing-data-intensive-applications

The “great debate”

The year was 1970, The most popular database for the business processing was IBM’s Information Management System (IMS), developed for stock-keeping in the Apollo space program. IMS was a simple ‘Hierarchical model’, data is represented as a tree with records nested within records, unable to solve the problem of ‘many-to-many’ relation. Thus two solutions were proposed ‘relational model’ (which later became SQL) and ‘network, model

The network model was standardized by Conference On Data System Language (CODASYL), unlike the hierarchical…


I have been learning Node.js for few months. Initially, I found that the docs had more of API modules briefly explained and going through all was not necessarily needed for starters, So I pulled out few notes on some specific modules.
The best way to learn NodeJs is through REPL. Typing node in your CLI will get you into REPL. Taping on TAB key twice gets the auto-suggest displaying all modules and API available in Node.js.

nivendha@HomePC:~$ node
>
......
require root setImmediate setInterval setTimeout
stream string_decoder tls tty unescape
url util v8 vm zlib

let’s start on to cover…

Nivendha Kannan

#devloper ,likes art, origami and instrumental music

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