freethreads | Publish0x


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

Domain Driven Design: Bounded Context

24 Apr 2020 1 minute read 0 comments Bluehive

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...

etcd: A Reliable Distributed KV Store

30 Mar 2020 1 minute read 0 comments Bluehive

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

Why BitCoin Uses BloomFilters?

30 Mar 2020 1 minute read 0 comments Bluehive

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...

How a Regex Engine Work?

7 Feb 2020 1 minute read 0 comments Bluehive

  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...

How To Test Consul Template Locally?

8 Jan 2020 1 minute read 0 comments Bluehive

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...