activesphere
Portfolio People Blog
  • Grouping Elasticsearch slow log queries

    Elasticsearch provides the ability to log slow search queries that exceed a certain threshold. When enabled, all the search queries that exceed the given threshold are...
    • By ananthakumaran
    • 12 Jun 2019
  • Understanding SQLITE_BUSY

    I recently stumbled upon a strange occurrence in an ORM’s query retry implementation for SQLite. Some of my queries were getting stuck in a retry loop...
    • By rahul
    • 24 Dec 2018
  • Sort order preserving serialization

    FoundationDB is a distributed key-value store. From the database perspective, both keys and values are just bytes. Keys are sorted lexicographically and different chunks are assigned...
    • By ananthakumaran
    • 17 Aug 2018
  • High contention allocator

    FoundationDB is a distributed key-value store. The whole database can be considered as a giant sorted map where keys and values are bytes. FoundationDB client libraries...
    • By ananthakumaran
    • 5 Aug 2018
  • Introducing exq-scheduler, a distributed scheduler for Sidekiq

    One of our customers wanted to setup a time based job scheduling system, similar to cron, to reliably schedule critical tasks. They were already using sidekiq,...
    • By rahul
    • 17 Jul 2018
  • On compound interest

    How interest rates and time period of investment, effects return.
    • By ciju
    • 1 Jul 2018
  • A primer on Elixir Stream

    For many problems in programming, the most straightforward solution is to transform a list (E.g. map/filter/reduce etc over it). Once in a while, there will be...
    • By ananthakumaran
    • 28 Nov 2017
  • Debugging cryptic errors

    At a project I am working on, our backend system makes http requests to hundreds of different servers. It is sort of like webhook, http requests...
    • By ananthakumaran
    • 8 Aug 2017
  • Visualization of backoff functions

    Failures are inevitable in any system. How it should be handled varies from one system to another. In job processing systems, a common approach is to...
    • By ananthakumaran
    • 1 Apr 2017
  • Y combinator in small steps

    The Y combinator is an interesting construct, allowing recursion without referring the function being recursed. In other words, call a function recursively, without naming it. We...
    • By ciju
    • 16 Jul 2015
  • Mocha TDD like DSL in less than 100 lines

    TL;DR A minimal synchronous mocha like DSL, in less than 100 lines of JavaScript. Code at github.com/ciju/mini-mocha
    • By ciju
    • 14 Jun 2015
  • Logging with Colors in JavaScript Console (Chrome/FF)

    colorlog.js Helps with managing the information overload in JavaScript Console logs.
    • By ciju
    • 9 Aug 2013
  • Gotunnel: make localhost server accessible over internet

    To access a server on the internet, you need its IP address and port. Your local machine might be running behind a NAT. So, a server...
    • By ciju
    • 26 Mar 2013
Blog Portfolio Hacks People Careers
1st Floor, 1216/17, 11th Cross
24th Main, HSR Sector 1
Bangalore. 560102
Google Maps

© 2010–2020 ActiveSphere Technologies Private Ltd.