Protocol Buffers varint vs fixed

This article is much more a note to myself than something else but this might be interesting for people out there.

I wanted to calculate the thresholds at which it is better it is to use a fixed rather than a varint.

Read More

Storing Colors in Protocol Buffers

While working on a new course, I was looking for an example to store a Color in Protocol Buffers. At first this seemed like an easy task but it turned out to be an interesting example of optimization. Let's work through it.

Read More

If Modified Since for Redis

Caching is everywhere! It is an essential part of most applications out there and so obviously there are a lot of options you can chose from. Here is a non exhaustive list:

Read More

gRPC 'mocking'

After being used to the traditional way of debug an android app by using mocking and interceptors, I came across an interesting problem with gRPC. I wanted to do the same. Basically, add an interceptor that mock a server response.

Read More