Aniruddhaini0exceptionRendezvous HashingIn any kind of stateful distributed system, the problem of mapping a key to a set of machines is pretty common. Even if a distributed…Jan 7, 20201Jan 7, 20201
Aniruddhaini0exceptionSampling — the good, the bad, and the uglyBenjamin Franklin once said — “Those who give up essential accuracy for temporary speed deserve neither speed nor accuracy”. In the real…Oct 16, 2019Oct 16, 2019
Aniruddhaini0exceptionMap iteration in GoWhile the Go programming language specification only states that the iteration order over maps is not guaranteed to be the same across…Jul 27, 2019Jul 27, 2019
Aniruddhaini0exceptionCommon traps while using defer in goThe defer statement in go is really handy in improving code readability. However, in some cases its behavior is confusing and not…Mar 20, 2018Mar 20, 2018
Aniruddhaini0exceptionRuntime overhead of using defer in goGolang has a pretty nifty keyword named defer. As explained here, a defer statement pushes a function call onto a list. The list of saved…Mar 7, 20184Mar 7, 20184
Aniruddhaini0exceptionMemory Mapped FilesMemory mapping of files is a very powerful abstraction that many operating systems support out of the box. Linux does this via the mmap…Feb 3, 20183Feb 3, 20183
Aniruddhaini0exceptionWriting tests in GoRecently, I bumped into this article by Segment’s engineering team. It has a lot of good advice and some helpful links about writing good…Jan 23, 20181Jan 23, 20181
Aniruddhaini0exceptionKinesis BlueI’ve used mechanical keyboards off and on for around 4 years and I always wanted to give the Kinesis Advantage a shot. About a month ago, I…Jul 1, 20162Jul 1, 20162