Recent Posts

Searching with an inverted index in Ruby

5 minute read

Recently, I read blog post about elasticsearch, called Elasticsearch from the Bottom Up. A data structure that is very important to performing full-text sear...

Load test your API with vegeta

6 minute read

During the last few years, when I want to load test my APIs, my go to tool is vegeta. It is an awesome load testing command line tool. It is easy to use and ...

Implementing a bit array in go

5 minute read

A bit array (or bit set) is an array data structure that stores bits (0 or 1 value) in a space efficient, compact way (read more about bit arrays on wikipedi...

Using Kafka log compaction

9 minute read

If you are working in a service oriented architecture (e.g. building or maintaining microservices), there is a good chance you have used, are currently using...

Distributed tracing with Zipkin

7 minute read

Nowadays, more and more projects are built using the service-oriented architecture (SOA) and more specifically using microservices: several services that hav...

Validating an email in go

2 minute read

Recently, I wanted to validate emails for a small project I work on. I didn’t want to search for libraries that might do the job, so I decided to build the v...

Awesome cli tools: jq json processor

5 minute read

There are some command line tools that I use almost on a daily basis and make my life a lot easier. One of those tools is jq. Jq is a lightweight and flexibl...

Data structures: Bloom filter

6 minute read

As we all know, there is a vast number of data structures out there. One of the data structure categories is probabilistic data structures. Probabilistic dat...

How to time out requests in your go API

5 minute read

When building an API (or other kinds of applications, to be frank), sometimes it is useful to set some constraints to the task being carried out (e.g. handli...