Open in app

Sign In

Write

Sign In

Farhan Ali Khan
Farhan Ali Khan

492 Followers

Home

About

Pinned

Don’t trust your logs! Implementing a Merkle tree for an Immutable Verifiable Log (in Go)

TLDR; RFC#6962 implementation of merkle tree GitHub - arriqaaq/merkletree: A merkle tree (with proofs) in Go as per RFC6962 A merkle tree (with proofs) in Go as per RFC6962. Contribute to arriqaaq/merkletree development by creating an account…github.com Recently I’d been reading on the application of immutable databases for tracking changes in sensitive data, and for auditing purposes. That got me thinking on how they work underneath. …

Golang

14 min read

Don’t trust your logs! Implementing a Merkle tree for an Immutable Verifiable Log (in Go)
Don’t trust your logs! Implementing a Merkle tree for an Immutable Verifiable Log (in Go)
Golang

14 min read


Published in Coinmonks

·Pinned

Turing Completeness, Golang, Ethereum and Bitcoin

Published originally at https://aly.arriqaaq.com/turing-completenes-ethereum-bitcoin/ I’d read a lot about Turing machines, a language being Turing complete, and in general about Turing completeness, but never actually looked into it in detail. I’ve spent the past couple of weeks learning more about it, and it’s importance, both in literature and in practice…

Software Development

9 min read

Turing Completeness, Golang, Ethereum and Bitcoin
Turing Completeness, Golang, Ethereum and Bitcoin
Software Development

9 min read


Jan 13

#Day1 Query Engine and Storage Engine in a Database

A series of posts to understand databases better In 2022, I got the chance to work on databases entirely, alhamdulillah. 1) I created my own database from scratch #flashdb (https://lnkd.in/gkP7fQ25) 2) I started work on a fast immutable database #immudb (https://lnkd.in/gcn6yry2) To make database internals easy to understand for everyone…

Database

3 min read

#Day1 Query Engine and Storage Engine in a Database
#Day1 Query Engine and Storage Engine in a Database
Database

3 min read


Jan 13

Deep dive into the internals of an immutable database, immudb

Understanding the internals of an immutable database Table of Contents Introduction About immudb Basic Building Blocks Append-only logs Merkle Tree Timed BTree Persistence Lifecycle of a transaction in immudb Introduction I’ve been working on a fast immutable database, called immudb (developed by Codenotary), and was very curious about the immutable nature of storage. I…

Database

11 min read

Deep dive into the internals of an immutable database, immudb
Deep dive into the internals of an immutable database, immudb
Database

11 min read


Published in techlog

·Mar 19, 2022

How I implemented an ART (Adaptive Radix Trie) data structure in Go to increase the performance of my database 2x

بسملة Have you ever wondered how search queries in databases work so fast? Indexes you may say. And how do indexes work under the hood? Trees (Tries) you affirm. TLDR, ART increased performance of my database 2x when compared to a skiplist. …

Golang

8 min read

How I implemented an ART (Adaptive Radix Trie) data structure in Go to increase the performance of…
How I implemented an ART (Adaptive Radix Trie) data structure in Go to increase the performance of…
Golang

8 min read


Mar 7, 2022

Writing a simple in-memory key-value Database in Go

بسملة‎ We’ve used databases and have worked on a variety of them, right from Postgres to Redis to Prometheus. I’ve spent a lot of time reading through the source code of some of these databases. …

Redis

4 min read

Writing a simple in-memory key-value Database in Go
Writing a simple in-memory key-value Database in Go
Redis

4 min read


Published in techlog

·Dec 4, 2021

The Math Behind Estimation of Durability of a Storage System

Republished from my blog This article is my archive on a study I had conducted a few years back whilst working on an internal project to estimate durability of a storage system based on replication of data across nodes. …

Dev Ops

5 min read

The Math Behind Estimation of Durability of a Storage System
The Math Behind Estimation of Durability of a Storage System
Dev Ops

5 min read


Published in techlog

·Nov 26, 2021

KubeDiff — A Kubernetes Resource Diff Operator

I wanted to understand more about how Kubernetes controllers are implemented. Building controllers with controller-runtime is pretty easy but it masks many details on how the event-oriented architecture of client-go works underneath. What are informers? The vital role of a Kubernetes controller is to watch objects for the desired state and the actual…

Kubernetes

4 min read

KubeDiff — A Kubernetes Resource Diff Operator
KubeDiff — A Kubernetes Resource Diff Operator
Kubernetes

4 min read


Published in SelectFrom

·Nov 23, 2021

Golang Design Patterns in Kubernetes

Originally published on my blog here. I love reading open source code, you get to see different design patterns in action and learn about code architecture too. …

Kubernetes

19 min read

Golang Design Patterns in Kubernetes
Golang Design Patterns in Kubernetes
Kubernetes

19 min read


Published in techlog

·Sep 11, 2021

Deep dive into Linux Networking and Docker — Bridge, vETH and IPTables

This was originally published here: https://aly.arriqaaq.com/linux-networking-bridge-iptables-and-docker/ These series of articles are my log of learning about various networking concepts related to Container Orchestration Platforms (Docker, Kubernetes, etc) Linux Networking is a very interesting topic. In this series, my aim is to dig deep to understand the various ways in which…

Docker

10 min read

Diving into Linux Networking and Docker — Bridge, vETH and IPTables
Diving into Linux Networking and Docker — Bridge, vETH and IPTables
Docker

10 min read

Farhan Ali Khan

Farhan Ali Khan

492 Followers

Philomath, Tech Guy. https://www.arriqaaq.com/

Following
  • Felipe Hoffa

    Felipe Hoffa

  • Gadget Flow

    Gadget Flow

  • Ali

    Ali

  • Gillian Annie

    Gillian Annie

  • AK (Aaska Aejaz)

    AK (Aaska Aejaz)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech