freethreads

freethreads

Notes on Distributed Systems, Containers, Kubernetes, Databases, Linux, Python, GoLang, C/C++

Domain Driven Design: Bounded Context

Microservice architecture borrows many classical concepts. Bounded Context is one of the most important ideas of domain-driven design. A context means specific responsibility. Bounded Context implies a responsibility with explicit boundaries. Readi...

Bluehive 1 minute read 24 Apr 2020 0 comments $0.02

etcd: A Reliable Distributed KV Store

Pronounced et-cee-dee Persistent KV store Uses Raft protocol to maintain data consistency Developed in Go Popular Use case: Kubernetes Installation (OSX) Step 1 $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/ma...

Bluehive 1 minute read 30 Mar 2020 0 comments $0.02

Why BitCoin Uses BloomFilters?

Bitcoin uses a blockchain record of transactions among the participating nodes. Since the size of the record is huge, there is a thin participating node that is interested in a subset of the records. But how to find the subset in the complete li...

Bluehive 1 minute read 30 Mar 2020 0 comments $0.04

How a Regex Engine Work?

  A regular expression defines a set of string. A regex engine matches a pattern against input and returns true/false for the condition that pattern exists in the input.I have got a C++ implementation of a regex engine which uses...

Bluehive 1 minute read 7 Feb 2020 0 comments $0.00

How To Test Consul Template Locally?

consul-vault tools have a graphical and command-line interface. I found CLI faster for development. So I’m sharing how to set up and use consul. Steps Set consul and vault path. export VAULT_ADDR=https://xxxx export CONSUL_HTTP_ADDR=xxxx Logi...

Bluehive 1 minute read 8 Jan 2020 0 comments $0.01